Wednesday, 30 September 2015

Day 14: Alot of Work

Not just alot to do, but alot was finished today. In class, I was able to incorporate the player being able to use the machete. First, I tried a click-to-attack type method, but it didn't work/look all that great, so with the idea from Jake, made it so that the player has to move the mouse for it to register as the machete being swung. Now the player can kill zombies in 2 to 3 hits using melee combat. After school, I also spent alot of time working on making a set fire rate and magazine for the pistol in the game. It took a few hours to sort out some issues, but it finally works perfectly. Now the player will have to wait a split second between shots, and wait a few seconds between every 6 rounds. It's alot nicer than just constant shooting. Now I have to work out these same details with a few extra guns like the sniper rifle, shotgun and AK-47. At least now  I have code I can take from the pistol. That way I (hopefully) won't run in to too many problems. I'll just have to mess with a few variables/alarms.

No comments:

Post a Comment