Skip to content

Commit b4dbaf9

Browse files
committed
StateManager.start can now have as many parameters as you like. The order is: start(key, clearWorld, clearCache, ...) - they are passed to State.init() (NOT create!)
1 parent c53a068 commit b4dbaf9

5 files changed

Lines changed: 1875 additions & 545 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ New features:
114114
* Key.onHold added. This event is dispatched every time the browser sends a keydown event and the key is already being held down.
115115
* Stage.smoothed allows you to set if sprites will be smoothed when rendered. Set to false if you're using pixel art in your game. Default is true. Works in Canvas and WebGL.
116116
* Sprite.smoothed and Image.smoothed allows you to set per-Sprite smoothing, perfect if you just want to keep a few sprites smoothed (or not)
117+
* StateManager.start can now have as many parameters as you like. The order is: start(key, clearWorld, clearCache, ...) - they are passed to State.init() (NOT create!)
117118

118119

119120
Updates:

0 commit comments

Comments
 (0)