I have tidied up Minesweeper and stuck in a bit of eye candy for the version that I will use to submit to the App store. I’m guessing that this won’t be the next Angry Bird’s, but I want to go through the process to understand how the runtime version works and how the Lua code ends up integrating with Objective C.
I will also document the journey for the edification of others.
Thanks @Simeon - you can never have too many Minesweeper games! Are you ok with me sticking the Made with Codea logo on the Menu screen? I would like to promote Codea but I don’t want to embarrass anyone with a crap game. I’m happy to take the logo off if you would prefer to stick it on something a bit more flash. I’m just using Minesweeper as a test on the run time and submission process so Im very happy to keep it low profile.
@veeeralp - I used the physics object and attached a sprite to it. It is actually pretty easy. As usual TLL have done all the hard work.
I will do a tutorial on the physics library on the weekend but if you are in a hurry have a look at the example physics project that comes with Codea. It has all the code you need. Copy the project and then you can select it as a dependency. Have a look at test 1, it will show you what you need to set it up in your project.
@Reefwing I will just wait for the tutorial. I tried doing what you said but it didn’t work out because I’m using FSM like you. I don’t know where to call the Test1 class.