A little while ago I began a little demo to play with fonts, but put it in the incomplete basket as I moved onto more interesting things. I came across the half complete program yesterday, and decided to finish it up and throw it up as another sample. I have having incomplete projects 🙂
Something a bit different for the 11th instalment in my corona samples series – XML parsing. I’ve turned my focus onto developing a game lately, and have been playing around with the Lime engine. There are some aspects of it I’m not happy with, so began rewriting it. One part (which isn’t really part of Lime) is the XML parsing. When it loads a .tmx file, it parses the lot in one hit. It’s not too slow, but there is a noticeable pause when loading, parsing and then generating the level. I’m building a new engine, based off Lime, that will allow asynchronous loading and level generation – meaning it’s possible to have a loading bar, animation, audio, etc going at the same time.
Going all the way back to my first sample – (the Plasma Demo Effect), I was porting another old Pascal Demo effect of mine at the same time – a basic Fire effect. I never bothered finishing it off back then, instead moving onto more interesting things. I recently returned to complete it since it was 90% done.
Another less interesting, but important feature in Corona is sound (SFX and Music). The ninth entry in my Corona Samples series shows a simple audio system, which allows for multiple sound effects playing at once, along with an audio track (mp3). Please note that the audio files have not been included in the download zip. You will need to source your own and put them an audiodata folder.
After some really cool samples earlier, these next few samples will be much less interesting to established Corona devs but still of interest to new comers. The eighth entry into my Corona samples is a basic analog joystick which responds to touch control.