Visual feedback

Visual feedback

Hi i’m Kevin! I’m the second programmer and the lead sound designer of the group Fenrir. Our group is making the game “Bullet Hack”. This week our group has been getting ready for the alpha presentation but the actual game was meeting the requirements already at the start of the week, so the only thing we needed for the presentation was the powerpoint and a title screen. so while the project manager and graphic artist started working on that I decided to start working on the feedback we got from the play testing session we had on Monday.

So this week I have been making the visual feedback of the player getting hit by bullets, since this was one of the things that a lot of people said they felt missing. So what i have done is making the player flash red when hit for one second.

 So to do this I used a ienumerator where I changed the colors of the player to red and then I used “waitforseconds” and changed back afterwards. I put this in a for loop, in the beginning this did not work, instead of flashing red the player became invisible and i couldn’t figure out why, but then at the programming workshop on Wednesday I asked our teacher Håkan Mattsson about it and it turned out that the alpha color of the color that i changed the ship to was at zero which made the ship transparent.

So if you’r changing the color of something the way I did remember that the default “Color” variables are set to zero on the alpha color.

I haven’t implemented a sound for when you get hit yet, but I will be doing this next. The most important thing for the game right now that I and the lead programmer of our group are going to do is the graphical user interface which is the thing that i will be focusing on now and probably talk about next week.

About Kevin Johansson

2016 Programming