Category Archives: ShockBots 1

2013-02-04 Maps

Today was really unproductive.  My wife is having health issues, and our insurance just ran out.  So, that was weighing on my mind all day.  Once my daughter and wife fell asleep I was able to get back into the zone and get some work done.  I got the basics of a map system in game.  I have a 2D array of each room (currently there are only 2 room types) and when the player kills all the mobs in a room the exits can be used to go to another room.  Its all very rough right now, but the basics are working.  I modeled 2 test rooms – one square and one circular.  I also modified my exporter to export exit positions.  Tomorrow I hope to add matching entrances and animated doors.  Going to be a lot of little things to get the room transitions to work well.  Oh well, just going to take it step by step…

Latest video:

Shockbots_2013.02.04

2013-02-03 Homing Bullets

I figured out how I want to divide up weapons and weapon power-ups.  Weapons will control the number and speed of the rounds fired.  Round power-ups (what I was calling power-ups) will control the kind of projectile fired.  I also created icons for the round power-ups.

Currently there are 3 weapons:

  • W01_OneShot: Fires a single shot – good power per shot and low heat buildup
  • W02_ThreeWay: Fires 3 shots.  Each shot is about 1/3 power of a OneShot.  Heat buildup medium.
  • W03_RapidFire: Fires about 15 shots per second, but each shot is low power and it builds up heat really fast.

There are three Round types:

  • R01_Bouncing: Rounds bounce off walls.  Each round power up the player gets adds another bounce to the round.
  • R02_Explosive:  Adds splash damage to the round.  Each extra round power up the player gets adds greater range to the splash damage.
  • R03_Homing: Rounds track the nearest mob.  Each additional Homing power up the player gets lets the round have a quicker turn.

Each Round power up is stack-able, but changing round power ups puts the player back on the first level of power for the new round type.

Latest Video:

Shockbots_2013.02.03

2013-02-02 Bouncing Bullets

Today I changed the player’s projectile code to support mobs firing as well, so the Spider Shooters now shoot.  I added bouncing bullets and a power up that grants the player that ability.  The reflection code for bouncing was a bit tricky math wise, but otherwise not too bad.  The thing that’s got me stumped is how to categorize a weapon vs. a power-up.  There are a bunch of properties like fire rate, explosive rounds, etc.  I am leaning towards a weapon controlling rate and number of rounds fired and the power-up controlling the rounds themselves.  So three-way and rapid would be weapon types and explosive and bouncing would be shot types.  Still need a few more types – and I’d like players to have several power ups at one time.

Here’s the latest video:

Shockbots_2013.02.02