Generally used in correlation with a state machine.

learn more… | top users | synonyms (1)

0
votes
1answer
72 views

Best way to handle movement input?

I'm currently developing a RPG movement system in c++, and tried to use the State Pattern/State machine for this, but AFAIK I would have to check each movement key in every state.(right?) Is there a ...
1
vote
0answers
58 views

How to apply physics when you have sub frame state changes?

I'm currently calculating my physics every 1/100th of a second and using a state machine to manage the current state of the player. In my main loop I'm checking user input and transitioning the state ...
0
votes
0answers
19 views

How to setup States in NIftyGUI and LWJGL

I think this is a simple question but I just cannot figure it out. I have a main menu that is using nifty gui and then my game which is rendered using OpenGL Code (LWJGL) I cannot figure out how to ...
0
votes
0answers
161 views

Maintaining State in Mud Engine

I am currently working on a Mud Engine and have started implementing my state engine. One of the things that has me troubled is maintaining different states at once. For instance, lets say that the ...