Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add README file for examples/animation | Kent Hansen | 2009-05-20 | 1 | -0/+38 |
| | |||||
* | Merge branch 'kinetic-statemachine' into kinetic-animations | Kent Hansen | 2009-05-20 | 14 | -956/+0 |
|\ | |||||
| * | remove the citizenquartz example | Kent Hansen | 2009-05-20 | 14 | -956/+0 |
| | | | | | | | | It's not done yet, so let's re-add it when it is. | ||||
* | | Remove old examples and demos for animations | Thierry Bastian | 2009-05-20 | 32 | -3078/+0 |
| | | |||||
* | | Removing QT_EXPERIMENTAL_SOLUTION from the animation api | Leonardo Sobral Cunha | 2009-05-19 | 27 | -174/+14 |
|/ | |||||
* | Remove the connectByAnimation() function and add some documentation for the ↵ | Eskil Abrahamsen Blomfeldt | 2009-05-14 | 2 | -28/+22 |
| | | | | | | | Stickman example The connectByAnimation() function is no longer needed since we have default animations. The docs are unfinished. | ||||
* | Start work on docs for Stickman example | Eskil Abrahamsen Blomfeldt | 2009-05-14 | 1 | -3/+5 |
| | |||||
* | Fix top level compile in examples/animation | Eskil Abrahamsen Blomfeldt | 2009-05-14 | 1 | -3/+0 |
| | | | | Three examples have been moved. | ||||
* | Make QAbstractTransition::eventTest() non-const | Eskil Abrahamsen Blomfeldt | 2009-05-14 | 10 | -22/+22 |
| | | | | | We decided to remove the const of the eventTest() since some transitions have dynamic conditions and need to update when eventTest() is called. | ||||
* | Pop up message when a tank wins the game | Eskil Abrahamsen Blomfeldt | 2009-05-14 | 7 | -12/+111 |
| | | | | | Also fixed: Added some docs and moved the tanks a little so they don't start partly outside the scene rect. | ||||
* | Fix run-time error in Seek AI's state machine | Eskil Abrahamsen Blomfeldt | 2009-05-14 | 1 | -1/+5 |
| | | | | | Passed parent as 'tank', thus getting a null parent in the GoToLocation state, which breaks the machine when you transition into the state. | ||||
* | Fix SpinState in Tank Game Example to spin more than 180 degrees | Eskil Abrahamsen Blomfeldt | 2009-05-14 | 2 | -2/+12 |
| | | | | This was a leftover from when the setDirection() semantics were broken. | ||||
* | document statemachine/factorial example | Kent Hansen | 2009-05-13 | 1 | -26/+38 |
| | |||||
* | doc: Correct names of snippets in docs for Tank Game example | Eskil Abrahamsen Blomfeldt | 2009-05-13 | 1 | -0/+4 |
| | |||||
* | document the statemachine/eventtransitions example | Kent Hansen | 2009-05-12 | 1 | -1/+15 |
| | |||||
* | Change name of "errorstate" example to "tankgame" | Eskil Abrahamsen Blomfeldt | 2009-05-12 | 26 | -29/+40 |
| | | | | | The error state is not a big enough part of the example to justify naming it after it. | ||||
* | Fixes: document statemachine/twowaybutton example | Kent Hansen | 2009-05-12 | 1 | -7/+15 |
| | |||||
* | kill some simplistic/overlapping/under-developed examples | Kent Hansen | 2009-05-12 | 9 | -445/+0 |
| | |||||
* | document the statemachine/pingpong example | Kent Hansen | 2009-05-12 | 1 | -0/+14 |
| | |||||
* | Merge branch 'kinetic-statemachine' of git@scm.dev.nokia.troll.no:qt/kinetic ↵ | Alexis Menard | 2009-05-12 | 120 | -763/+4176 |
|\ | | | | | | | | | | | | | into kinetic-statemachine Conflicts: src/gui/graphicsview/qgraphicsitem.cpp | ||||
| * | improve the docs for the trafficlight example | Kent Hansen | 2009-05-12 | 1 | -25/+22 |
| | | |||||
| * | Make selecting plugins more user friendly and platform independent | Eskil Abrahamsen Blomfeldt | 2009-05-11 | 5 | -18/+66 |
| | | | | | | | | | | | | Using *.dll was just a placeholder here. The code is mostly copied from the Plug&Paint example, and goes through all the plugins to find the compatible ones with some hacks to find out the application directory on windows and mac. | ||||
| * | Instead of adding animations for all properties to all transitions, we use | Eskil Abrahamsen Blomfeldt | 2009-05-06 | 1 | -7/+11 |
| | | | | | | | | the default animation concept, since this is its intended use. | ||||
| * | Add chase state and ability to detect and fire at other tanks. This reveals an | Eskil Abrahamsen Blomfeldt | 2009-05-06 | 2 | -4/+92 |
| | | | | | | | | assert in the state machine which needs to be debugged. | ||||
| * | Avoid passage where the walls meet the edge of the scene rect. | Eskil Abrahamsen Blomfeldt | 2009-05-06 | 1 | -5/+6 |
| | | |||||
| * | get rid of margin | Kent Hansen | 2009-05-05 | 1 | -1/+2 |
| | | |||||
| * | add event as argument to onEntry(), onExit() and onTransition() | Kent Hansen | 2009-05-05 | 15 | -50/+50 |
| | | | | | | | | | | | | | | | | | | Accessing the event can be useful. E.g., onEntry() can do some common event processing regardless of which transition caused the state to be entered; onTransition() can be used in combination with eventTest(), where eventTest() would first check that the input matches some criteria, and then the actual processing of that input would be done in onTransition. | ||||
| * | Add randomness. | Eskil Abrahamsen Blomfeldt | 2009-05-05 | 1 | -2/+2 |
| | | |||||
| * | Make sure target state is set correctly. Also make sure eventTest() actually | Eskil Abrahamsen Blomfeldt | 2009-05-05 | 1 | -5/+8 |
| | | | | | | | | overrides the virtual function. | ||||
| * | Set collidedLine for the implicit walls around the scene to allow for collision | Eskil Abrahamsen Blomfeldt | 2009-05-05 | 1 | -4/+21 |
| | | | | | | | | response. | ||||
| * | Make sure the correct position/direction is actually set at the end of a | Eskil Abrahamsen Blomfeldt | 2009-05-05 | 1 | -10/+16 |
| | | | | | | | | loop. Also make sure we set the direction to an angle within 360 degrees. | ||||
| * | Fix support reverse actions. Logic was broken and would always return false | Eskil Abrahamsen Blomfeldt | 2009-05-05 | 1 | -2/+2 |
| | | | | | | | | immediately for reverse actions, thus immediately stopping them. | ||||
| * | Add unfinished "more advanced" AI for errorstate. | Eskil Abrahamsen Blomfeldt | 2009-04-30 | 6 | -5/+184 |
| | | |||||
| * | Make design better. Remove the Tank interface. This is now an implicit interface | Eskil Abrahamsen Blomfeldt | 2009-04-30 | 16 | -86/+65 |
| | | | | | | | | based on the meta-object system. | ||||
| * | Add two AIs: They are both designed to do the same. Spin until they see a tank | Eskil Abrahamsen Blomfeldt | 2009-04-30 | 14 | -26/+262 |
| | | | | | | | | | | | | and then fire. One of them has an error, which causes it to enter its error state. The errorstate example has been changed to handle this by disabling the tank. The rest of the tanks will keep working. | ||||
| * | kill QStateMachine::animationsFinished(), introduce QState::polished() | Kent Hansen | 2009-04-29 | 1 | -2/+2 |
| | | |||||
| * | Compile against new QState::ChildMode API. | Eskil Abrahamsen Blomfeldt | 2009-04-29 | 1 | -1/+1 |
| | | |||||
| * | Kill gameOver signal as it was only used when you clicked the stop action | Eskil Abrahamsen Blomfeldt | 2009-04-29 | 2 | -9/+6 |
| | | |||||
| * | Merge branch 'kinetic-animations' into kinetic-statemachine | Kent Hansen | 2009-04-29 | 21 | -117/+370 |
| |\ | | | | | | | | | | | | | Conflicts: examples/animation/sub-attaq/states.cpp | ||||
| | * | Build fix for mingw | Thierry Bastian | 2009-04-27 | 18 | -54/+52 |
| | | | |||||
| | * | Add an OSD to display game progress in the scene | Alexis Menard | 2009-04-24 | 11 | -65/+320 |
| | | | |||||
| * | | replace QState::Type with QState::childMode property | Kent Hansen | 2009-04-29 | 2 | -2/+2 |
| | | | | | | | | | | | | Result of API review. | ||||
| * | | Adapt to recent API changes and bug fixes. | Eskil Abrahamsen Blomfeldt | 2009-04-29 | 1 | -2/+6 |
| | | | |||||
| * | | modifiers --> modifiersMask | Kent Hansen | 2009-04-29 | 1 | -9/+0 |
| | | | | | | | | | | | | | | | | | | Result of API review. A == comparison of the modifiers is not useful. The common case is you want to test if one or more modifiers are set, i.e. a mask check. | ||||
| * | | make history state constructible | Kent Hansen | 2009-04-29 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decided in API review. The intention of QHistoryState not being constructible was so that people wouldn't subclass it and reimplement onEntry()/onExit(), thinking that those functions would actually get called (which they won't). However, we recently added the entered() signal to QAbstractState, so people are going to connect to it and ask why they never get the signal for a QHistoryState. We might as well make QHistoryState constructible and just document that it doesn't make sense to subclass it. | ||||
| * | | say hello (again) to QAbstract{State,Transition}::machine() | Kent Hansen | 2009-04-29 | 2 | -37/+18 |
| | | | | | | | | | | | | It's useful and it's simple for us to expose, so let's. | ||||
| * | | Work around an oddity in parallel states that causes all regions to exit | Eskil Abrahamsen Blomfeldt | 2009-04-28 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | if there is a transition from one of them (even if the target state of the transition is inside the region.) | ||||
| * | | Some updates to the errorstate example. | Eskil Abrahamsen Blomfeldt | 2009-04-28 | 12 | -126/+270 |
| | | | | | | | | | | | | | | | | | | Added cannon firing. There are some problems left: For some reason the parallel state group does not work properly, so only one tank moves even if you add more. There also seems to be something wrong with historyState->setDefaultState(). | ||||
| * | | compile after api changes | Kent Hansen | 2009-04-28 | 3 | -8/+8 |
| | | | |||||
| * | | Really broken plugin for errorState. Don't try to use this yet, it doesn't | Eskil Abrahamsen Blomfeldt | 2009-04-24 | 3 | -0/+115 |
| | | | | | | | | | | | | work at all. |