Generally used in correlation with a state machine.

learn more… | top users | synonyms (1)

1
vote
0answers
50 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
9 views

Animation-based Collision Boxes

Background I'm currently working on a top-down 2D game, roughly similar to something like Zelda for the SNES. Certain game entities such as the player or a typical enemy will consist of multiple ...
0
votes
0answers
88 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 ...
0
votes
0answers
113 views

inheritance and state machine with flyweight pattern

I everyone, i'm working on an indie game and i'm stuck with two problems I have many similar units on screen so i decided to implement the flightWeight pattern so there is intrinsic and extrinsic ...