Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Thor 2.0 released!  (Read 292503 times)

0 Members and 1 Guest are viewing this topic.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6276
  • Thor Developer
    • View Profile
    • Bromeon
Re: Thor 2.0
« Reply #360 on: August 26, 2014, 10:00:56 am »
Hold actions are not linked to events, but to real-time input. What they do is checking the current state of sf::Keyboard, sf::Mouse and sf::Joystick.

Your approach seems a bit strange to me -- what do you exactly want to achieve? Are you sure about where to use events and where real-time input?
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

tyrion

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Thor 2.0
« Reply #361 on: August 26, 2014, 01:10:46 pm »
is the realtime input not checked per event?
sf::Event eventTest;
eventTest.type = sf::Event::EventType::KeyPressed;
eventTest.key.code = sf::Keyboard::Key::W;

by using a window handle all mapped actions are working as i wish  :)
actually i create a wpf editor and want to pass the sfml events to sfml ....
i thought it would be enough to just push the events to "thor" manually?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6276
  • Thor Developer
    • View Profile
    • Bromeon
Re: Thor 2.0
« Reply #362 on: August 26, 2014, 10:15:44 pm »
No, real-time input and events are completely different things. Thor's Actions provide a uniform interface for both, but that doesn't mean you can mix them behind the scenes. When you push an event, only event-based actions will fire.

PressOnce and ReleaseOnce denote events (they happen once), while Hold is a real-time state (a state you can query).

Maybe the functions thor::eventAction() and thor::realtimeAction() are interesting for you.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Thor 2.0
« Reply #363 on: August 26, 2014, 10:30:42 pm »
The way I like to think about it is;

An event is something that happened in the (immediate) past that I need to react to.
A realtime test that's == true is something that's happening right now. And is I don't react right now it'll be too late.

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
Re: Thor 2.0
« Reply #364 on: August 29, 2014, 03:57:51 pm »
When is Thor2.0 going to be done, sorry but I been watching it for years and still nothing is final? This sucks... Please finish it so one can use it in 2.0 final state...

THanks!

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6276
  • Thor Developer
    • View Profile
    • Bromeon
Re: Thor 2.0
« Reply #365 on: August 29, 2014, 05:34:25 pm »
I want to make the Thor 2.0 release compatible to SFML 2.2; so you can use this as a lower bound in time.

Why is it so crucial for you to have an officially released version? The documentation and tutorials are available, there are even binaries as nightly builds, you get full support in case of problems...
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
Re: Thor 2.0
« Reply #366 on: August 29, 2014, 07:25:58 pm »
Please post link to binaries and source download page...

I don't use any SVN or other way of getting these builds and don't want to hassle with that stuff. I just want to grab and use these libs I don't have time to learn the whole detailed process of grabbing these projects...

I would need VC++ 2013 binaries...

Thanks!

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6276
  • Thor Developer
    • View Profile
    • Bromeon
Re: Thor 2.0
« Reply #367 on: August 29, 2014, 07:39:12 pm »
You should check the download page, there are the links to the nightly builds.

Have you really waited all this time for binaries that have already been available? :P
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
Re: Thor 2.0
« Reply #368 on: August 29, 2014, 07:44:41 pm »
Could NOT find SFML (missing:  SFML_AUDIO_LIBRARY SFML_GRAPHICS_LIBRARY SFML_WINDOW_LIBRARY SFML_SYSTEM_LIBRARY)

-> SFML directory not found. Set SFML_ROOT to SFML's top-level path (containing "include" and "lib" directories).
-> Make sure the SFML libraries with the same configuration (Release/Debug, Static/Dynamic) exist.

Configuring done

error I get on cmake build....

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
Re: Thor 2.0
« Reply #369 on: August 29, 2014, 07:45:06 pm »
yes I have been waiting

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
Re: Thor 2.0
« Reply #370 on: August 29, 2014, 08:01:00 pm »
Now I get this error on using the Thor build in my project...

1>C:\Programming\Thor-master\include\Thor/Config.hpp(32): fatal error C1083: Cannot open include file: 'Aurora/Config.hpp': No such file or directory


I dont' even see Aurora listed in the master directory?

BTW glad that you are using Cmake and it actually works where most projects it's a hit or miss deal... SO thanks for keeping this clean and workable at least for me.

Please advise on the Aurora/config.h issue...

Mars_999

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • Email
Re: Thor 2.0
« Reply #371 on: August 29, 2014, 08:06:34 pm »
Whoops nevermind find out you need to download your header only project. Not sure if this is stated on the front page of the Thor page but would be useful to say so a list of requirements maybe...

Thanks trying it now!!

Hapax

  • Hero Member
  • *****
  • Posts: 3058
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Thor 2.0
« Reply #372 on: August 29, 2014, 08:49:23 pm »
need to download your header only project
I believe Aurora is supplied with Thor. Just looked; it's in the extlibs folder.
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

MadMartin

  • Jr. Member
  • **
  • Posts: 74
    • View Profile
Re: Thor 2.0
« Reply #373 on: August 29, 2014, 10:33:52 pm »
When is Thor2.0 going to be done, sorry but I been watching it for years and still nothing is final? This sucks... Please finish it so one can use it in 2.0 final state...
That's gross! Nexus does this in his spare time, without compensation and gives it to you for FREE and you DEMAND that he should speed up the process?

Unbelievable...

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Thor 2.0
« Reply #374 on: August 30, 2014, 12:11:16 am »
Not to mention all this rude bumping of the thread - 4 replies directly after each other. In any forum that had moderators you would seriously be banned for doing something like this.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor