Replies: 1 comment
-
Instend of FlxG.switchState(new ShopMenuState()); i put FlxG.switchState(new ModState("ShopMenuState")); and everything works |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I switched from source code to hscript and I had a problem creating a new state. In short, in MainMenuState I made a button that should transfer the player to StoreMenuState The code StoreMenuState.hx is in the screenshot, but the game tells me that there is no such class, I also didn’t find information on this, so I’m asking here
Beta Was this translation helpful? Give feedback.
All reactions