Behold - the power of tables!

jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
edited May 2012 in Working with GS (Mac)
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!

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Anyone have a .gif of lightning flashing? We need something that matches the epicness of the title. :D
    I could whip one up for ya. :P
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    edited May 2012
    Haha awesome.

    Tables do deserve that much credit. Writeable tables will be even more epic
  • rommaromma Member Posts: 114
    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!
    Please share (if you can) some screenshots and logic tips! I'm working on a ton of educational apps and could use some encouragement. Yes, I too im waiting for LUA Free to go pro and starting "for real"
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I'll post a sample project once I've finished the game.

    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? :)


  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Um...I can't even complete a children's game..to hard..so yes, way to complicated. ;)
  • arltmiralarltmiral Member, PRO Posts: 11
    Absolutely agree on that one. Tables are such a huge improvement.
    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.
Sign In or Register to comment.