MenuState.hx is missing after >flixel tpl –n “NewGameName”...How can it be created
Hi - Complete newbie here. I did complete Mike's tutorial on gamefromscratch though, in which we deleted the MenuState.hx class. However, now, when I try to create a new game project, MenuState.hx is missing--the Source files are only AssetPaths.hx, Main.hx, and PlayState.hx. Any idea how the MenuState.hx class can be auto-generated again?
Hope this is easy. Thanks!
So you want to have a
MenuStateso you can follow the tutorial and delete it? :D
MenuStateis not part of the default template anymore. You can just duplicate
PlayState.hxand replace the class name.
That was actually a pretty good joke Gama11. Made me smile. I was about to follow another, I suppose older, tutorial that used MenuState. Thanks for your reply.