Monday, 18 January 2016

Day 72: Many Things to Do

Today I worked on a few things. I started out by fixing an earlier mentioned, Ammo issue, where the ammo wasn't being subtracted properly. It turns out it was only for the pistol, and was an extremely easy fix. Just had to replace a number. From there, I helped Stephen to understand power-ups. To do this, we made a triple-shot power-up effect, that for a few seconds, shoots three bullets at a time, 20 degrees apart from each other. First we separated the shooting events into their own cases, using variables singleshot and tripleshot. Then, we just made it so that the single one starts at 1 at the beginning of the game, and the triple at zero, and when the power-up is contacted the opposite is true for a few seconds. All we need to figure out is how to make the powerup spawn randomly, which could be done easily with the random_range thing, as well as picking a random place for it to spawn. From there,  I worked a bit on some scenery.  I have fixed our old house sprite to fit with the platformer style, and  I plan to put it in the game tomorrow. I just need to align the room transferring object so that you can go in and out of the house properly. Tonight I might start transferring the movement code with slopes into this game, but I might be too busy - I ordered a digital keyboard recently and it is being delivered today. If I don't get the movement code done,  I'll at least save it for tomorrow's class. I'll at least have some music to edit tomorrow if nothing else.

No comments:

Post a Comment