You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
States are at the core of AggiEngine. They provide tons of useful events and help organize your game's code. They also provide tons of useful events and functions you'll need for creating any game.
In the above script, you can see an example of the start event and one of AggiEngine's game loops. Start is called whenever the State begins running. Whereas update every time a frame is rendered.