Author Topic: SPACE GIMPS: Procedural Galaga Game  (Read 13560 times)

0 Members and 1 Guest are viewing this topic.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: SPACE GIMPS: Procedural Galaga Game
« Reply #20 on: March 16, 2011 »
Yeah, the game was good.  I really like the way that the aliens exploded :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline gwhuntoon

  • ZX 81
  • *
  • Posts: 3
  • Karma: 1
    • View Profile
Re: SPACE GIMPS: Procedural Galaga Game
« Reply #21 on: March 19, 2011 »
Nothing in particular Shockwave.  The explosions were cool and the game loop seemed pretty efficient so I'm more curious than anything else.  I always appreciate some of the more creative approaches to common problems.  For example when working with databases a common problem might be something like this Name = Fields.[NameField] where NameField is the field name in a database.  If NameField is blank or an empty record setting Name = to a Null value can throw an error.  If you instead use Name = "" & Fields.[NameField] you proceed the Null with an empty string which avoids the error without error trapping.  Simple and elegant.  The demands of having to develop fast efficient code for either game loops, animation loops etc. with high FPS is a great way to develop ones skills with more mundane applications.  Back in the DOS days I made a simple 3D star field demo with pre-calculated lookup tables etc.  To get more speed I did all the calcs with long integers in place of single precision variables imagining where the decimals would be.