Working on combat, I have a lot of other projects on the go now so it's not going as quickly as I wanted. The zombie that appears is randomly selected however it's only currently from a list of three. A function is then called inside the enemy class that assigns all of it's stats like attack strengths, hp and lvl.
I was able to get to so that the player can scroll through the weapons they currently have, select which they want then attack. It plays the corasponding animation and the selected weapon appears in their hand. The 'blood level' in the zombies heart also goes down depending on what percent of it's maximum hp it's currently at. After the melee and gun attacks have been made it plays a function in the enemy class that; using data like it's different attack strengths, it's current hp, the players current hp and a bit of random math; chooses an attack and plays that animation for either it's ranged, melee or healing. I'll update with a video later :D
This blog reflects my progress that I make on different projects as I work my way though them :D Wish me luck
Showing posts with label weapons. Show all posts
Showing posts with label weapons. Show all posts
Wednesday, 21 March 2012
Friday, 27 January 2012
![]() |
| Combat Screen |
One problem I did run into was when I was placing all the weapons into the students hands for the combat screen. The MP3 player that I had drawn for the first tier of blunt weapons just didn't fit into his hand like I wanted, causing the hit zone to be way off from the Baseball-Bat and Crowbars hit zones. This would mean that I'd have to create two different attacking animations for the blunt weapons, and I'm already looking at around 9 animations for the students so I just changed the MP3 player to a Hammer, and switched out everything that had the MP3 player with the Hammer.
I feel like I haven't fallen behind schedule yet, however I will need to put quite a few hours into this next week to stay on track.
Subscribe to:
Posts (Atom)



