Skip to main content

Questions tagged [statemachine]

Filter by
Sorted by
Tagged with
0 votes
3 answers
333 views

I am working on a real-time rpg with a turn-based combat. Currently I have standard state machines for a game state (real-time/combat) and for characters. However I can't seem to find a decent way to ...
Jamek's user avatar
  • 21
3 votes
1 answer
650 views

I've been fascinated by this talk ever since I watched it: GDC Vault Jon Ingold (Inkle) - Narrative Sorcery: Coherent Storytelling in an Open World It proposes an implementation to simplify the ...
Daniel Kaplan's user avatar
1 vote
1 answer
1k views

i was wondering if you could help me out with some confusion i have over state machines and SOLID principles! sorry if the post gets too long, i'll try to keep things simple! So i have a huge player ...
stratos la's user avatar
1 vote
0 answers
347 views

I have a CharacterController that implements a StateMachine that uses a number of states and transitions. The ...
Ginger and Lavender's user avatar
0 votes
0 answers
437 views

I want to create a state machine for menu in my SDL game. So this is my code without the SDL I just want to ask if this is a good way to create it. here is a code: ...
matthews's user avatar
0 votes
0 answers
874 views

I have a class that extends from StateMachineBehaviour. All I want to do is invoke some code in a specific state's first frame and the last frame to trigger some ...
Yekta Sarıoğlu's user avatar
0 votes
1 answer
84 views

As in the title, I am trying to figure out how to use a button for multiple purposes in Unity. In my specific case for instance, I am currently using the joystick button 0 (the A button) to perform a ...
FSic's user avatar
  • 188