Monday, January 17, 2011

Enemy AI

  • Added enemy AI, in so far as path finding. Seems there could be a whole branch of maths that could be assigned to this. But I found a very efficient way of getting the enemy to find the shortest path around a maze to get to the player.
  • When player dies, game now returns to the level select screen.
  • Game now uses one floor model and changes the texture, as opposed to having multiple models that only differ in texture. As a bonus, this will facilitate having animated textures!
  • Player can now pick up certain actors. This is crucial in the ability to pick up health, etc.
  • Menus now have music.

Saturday, January 8, 2011

We have top men working on it...top...men...

Level select - Unpolished, but working!

  • The level select is now 90% coded. Just need to lock/unlock maps as maps get completed and change how locked/unlocked/completed maps look on the map. Also need to design select maps for the other 2 areas.
  • Started adding sound/music. Makes a HUGE difference to the feel of the game. It now feels like I am playing a game, not just running code (if that makes sense).
  • Started work on a new map called "Area 15". Its my version of Area 51 from the Indiana Jones movies. With a little surprise for the observant player.
  • Started fleshing the story line out a bit more. This led me to put a bit more thought into the goal of each map...
    • LABS - Tutorial maps. Map goal: Puzzle solving. Ultimate goal: Escape labs.
    • VILLAGES - Put skills learnt in LABS to practice. Map goal: Collect all the idols. Ultimate goal: Get into volcano.
    • VOLCANO - Map goal: Find pass cards (ala Impossible Mission, perhaps?) Ultimate goal(s): Revenge? Escape island.



On a more personal note: My confidence is building. I still have a metric crap load to do, but I can see the light at the end of the tunnel. I have enough of the game engine done that I can concentrate on level design and worry about the nice-ties (animation, enemy AI, sound, etc) later. 


Area 15 - High view angle.


Area 15 - Low view angle.

Tuesday, December 28, 2010

Big Update

A long time between blog updates due to the festive season. Rest assured that a lot of progress has been made!

Creating an ice cube with circle burst snowflakes

  • Light sources have been added to the editor. Each square can have up to 3 directional lights plus ambient light. This takes the look of the game to a whole new level.
  • Dynamic in-game lights. So far, I am only using this for doors. They have a red light when locked and a green light when unlocked.
  • Circle-burst particle effect. Rather than have a 100 random particles, which looked like crud, I now use expanding rings of particles, such as fire for explosions and snowflakes for ice. Looks a million times better in my opinion. Plus it gives the game that retro look that I am after, rather than being uber-realistic.
  • High friction tiles. Nothing can be pushed/pulled onto them, and anything on them cannot be pushed/pulled. I use them to surround my push puzzles to stop cheating (by pushing blocks off the puzzle).
  • Player now takes damage and dies.
  • Village levels are now starting to take shape.
  • Doors are now unlocked by push puzzle triggers, where appropriate and relock when appropriate.
  • Ice now melts over time
  • Ice can be pushed into enemies for massive damage
  • About a bazillion things under the hood

The development is starting to transition from game engine development to level design. Having said that, there are still quite a few things on the to do list for the game engine.

This morning work started on a 3D map selection map (for want of a better name). It something that requires little effort, but will look brilliant and will add that extra layer of polish.

Multiple light sources but still using BasicEffect

Circle burst explosion of an eyeTank

Friday, December 10, 2010

New enemy units: eyeTanks I & II



  • New enemy unit - eyeTank : Stands its ground and fires a plasma ball at you. Slow rate of fire, but large damage and infinite range.
  • New enemy unit -  eyeTank II : stands its ground and fires machine gun at you. Fast rate of file, but less damage. Range is infinite.
  • Better looking fire particles
  • Enemies now explode on death.
  • Explosions cause damage to other enemy, allowing for chain reactions.
  • Preliminary explosion particle effect with 100 random particles.




Tuesday, December 7, 2010

First enemy unit: eyeBomb


  • New enemy unit (actually the first, thus far)...the eyeBomb! Basically, its a big floating eye that follows you around or should that be "chase". Either way, when it gets too close....BOOM! When you kill it, it also goes BOOM! They don't go BOOM, yet, but it is quite fun running from them and trying to make ice cubes to block them. They need a bit of path finding AI to get around things. Another possibility: Chain reaction explosions!
  • Added better flame texture for Fire.

Saturday, December 4, 2010

Ice, pull, doors, lighting, first real map


  • ICE: Ice cubes can now be pushed. They don't decelerate until they hit something. If its an actor, they injure it with their current hp and destroy themselves. A formidable weapon!
  • PULL: Objects can now be pulled from 2 squares away to 1. This is, of course, the opposite of PUSH. handy as an "undo" in the push puzzles.
  • Doors can now be locked. Meaning they cannot be opened with USE. I use this in the test chamber to only allow you into the next room once the current puzzle has been solved.
  • Test Chamber A is about 80% complete! this is  new map consisting of 5 push puzzle rooms and an observation room. This will basically acts as a tutorial.
  • Played around with lighting a bit more. namely, the per-tile lighting. It works as well as I hoped! Even with one light, affecting blocks and actors, it is much better looking. Today's screenshot shows one yellow spotlight in a corridor. It is very light on FPS, as all of the calculations are done at design time, not run time.

Tuesday, November 30, 2010

New viewpoint. Working doors.



  • Metal power now switches to USE when facing a door.
  • USE can now open/close doors. Though, the usefulness of closing a door is debatable. I should maybe just automatically close the door after 5 seconds or so.
  • Changed the viewpoint to be higher up, making it more RPG-like and lighter on the FPS. Perhaps, I will have a button to switch between viewpoints.
  • I made some discoveries with BasicEffect when combined with the old school tilemap approach that I am using. Mainly that I can have 3 directional lights and an ambient light per tile! I started writing my own effect, when I discovered this, so now I don't need to.
  • Added an in-game editor to speed up minor changes. Should be handy when adding lighting. Need to add level save code. Note: the editor will not be in the released version.
  • Ice power now creates ice cubes in all 8 directions. Previously, it was only the 4 cardinal directions like the air powers.
  • HP and name of enemy injured now appears in HUD