We started this week off with a bit of research. On Monday we played Roborally to get some ideas of our game and its world. It was a fun game where you are racing with other robots in order to get to a "goal". The environment you are working through has obstacles such as spinning tiles, conveyor belts, and holes. It was a fun game and gave us some ideas on how we can make our environment be a bit more interactive. This will be well with some of the other changes we are making with the game.
We are taking out the puzzles (at least for now) and focusing mainly on the combat against other robots. Our protagonist will be fighting in a factory that has conveyor belts, pits, etc. against the other robots. This will make it so that the player will need to pay closer attention to his surroundings. This will also do some interesting thing with the time mechanic.
For this week, I've got a box that is taking the player's commands and responding appropriately. As a placeholder for the enemy bots I have a sphere. The sphere has a simple "AI" where it wanders around until it gets within a certain distance of the player at which point it closes in for an attack. The player can also attack the enemy. Damage is taken and one or the other will successfully die. I also have it so that the enemy will drop and item which the player will pick up. I also have it so that the player can slowdown and speedup time. The way we depict this is by having the player always moving the same while everything else will go slower or faster. I ended on just adjusting velocities of the other items in order to get the speed changes to work.
So far I have written seven scripts. The enemy controller, enemy status, player controller, player attack control, player status, item script for picking up, and the camera control that follows the player so that he remains in view. This amounts to about 700 lines of code (many more if you count the lines that have been cleaned out from failed attempts).
Next I'm going to work on getting the level in place. This will involve scripts for conveyor belts, pits, turning areas, and crushers for now. If I get a design I can build the level, otherwise I will just work on the functionality so that it can be put in.
No comments:
Post a Comment