Behold - the power of tables!
I'm taking a break from obliteration II until the lua free engine comes out to resolve some performance issues. In the mean time I've been working on my first children's game, its a simple matching game.
Using tables I was able to have 999 random levels in a single scene with a single actor for all 26 matching pieces. All animation, image names amd locations are stored in the table and are dynamically pulled based on what number I assigned each instance of the actor. The game has a total of 6 actors right now, 2 are background images which could be combined, and the others are a logic script and temp score display.
As soon as we get writeable tables, I will be able to stored the completion time for each level. Once it's a little more polished I'll post some screenshots.
Tables are awesome!
Using tables I was able to have 999 random levels in a single scene with a single actor for all 26 matching pieces. All animation, image names amd locations are stored in the table and are dynamically pulled based on what number I assigned each instance of the actor. The game has a total of 6 actors right now, 2 are background images which could be combined, and the others are a logic script and temp score display.
As soon as we get writeable tables, I will be able to stored the completion time for each level. Once it's a little more polished I'll post some screenshots.
Tables are awesome!
Comments
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Tables do deserve that much credit. Writeable tables will be even more epic
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Another update: tables are still awesome. I added another level of randomness to my game which took all of 2 minutes thanks to tables.
As I said before, I have 999 levels (the max number of rows in GS). Previously each level had 13 pairs that would randomly (predetermined) be placed in each level. I increased the number of pairs to select from to 30. Ran a random list generator and now for each level 13 pairs out of the available 30 pairs are displayed.
So I have 999 levels displaying 999 different combinations of objects. Think it's a little over complicated for a kids game?
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
I've busy with a data based project - gave me some headache due to save/load madness.
Really looking forward to Writable Tables. Projects will become so much more sophisticated.