It looks like you're new here. If you want to get involved, click one of these buttons!
Hello!
I have been using codea for a while now and have produced a few small projects. But I want to embark on making a full fledged game, with a homescreen and levels etc etc. I am not sure how to go about this, for example in xCode I can switch between different viewControllers which make it clear what gameState is running.
Is the best way to do this in Codea, is to add a bunch of if statements inside draw() and let them activate depending on which gameState I am currently in?
Thank you
Comments
@gogizgaz This isn’t a game, but the idea might be something like what you’re after. I move around to different screens that do different things with just 2 statements in draw. When you go into a web site, tap Done in the upper left of the screen to return back to the program.
Thanks this is a great way to do it!