Author note: This blog is copied from my website: mattwillisgames.com (yeah I have a website, look at me bein all professional'n shit). This was a simple update post but I couldn't resist diving into my thought process behind a design choice in my game. I thought some of ya'll here on dtoid may enjoy it.
So recently my PC decided that it didn’t want to not freeze after 10 minutes all the time. Meaning, I’ve been troubleshooting for the past week or so. This PC with my game project files. Thus I had to preform a search and rescue and transfer the project files to a computer I COULD work on. Luckily I’ve been saving up for a Surface recently as I’ve wanted something light that I could take with me anywhere, but would also be able to handle game development. At least in a 2D capacity. However I still had no usable PC for a week. So I was a bit behind, however I’ve been making progress ahead of schedule so… maybe it’ll balance out? Who knows. I thought this game would be a 3 month for fun project. So what do I know?
Anyways, I’ve added more music to the game composed by my homeboy Jesse. They’re some pretty good tracks and they fit in nicely with the game. Along with that I’ve fixed some collision issues and made a major design change. I’ve decided to remove player-enemy collision. I originally had some enemies that would collide with the player and others would not. In the end I feel that it’s really not fair to have had player essentially guess whether a new enemy would be passable or stop them in their tracks. So I either had to give all the enemies collision, or give none of the enemies collision, or make some way of signalling the player that an enemy had collision or not. In the end I felt no collision would be better for this game.
A simple solution for a simple game.
Of coarse that left an issue of just letting players run through enemies without consequence. This is usually resolved by making the player take damage for touching the enemy, However I never really liked that in games, always seemed cheap to me. Furthermore, in Aftermath as a dog you need to lunge forward to attack and thus the player sprite will need to touch the enemy for the game to register a hit. I think it’d be confusing to basically tell players that in order to defeat enemies you have to touch them, but you take damage if you touch them, well except for if your attacking. Not to mention the technical side of figuring out i-frames and collision with enemies with more than 1 hp.
So instead of doing all that I instead just adjusted enemies attack timing so that if one were to attempt to just run through an enemy that enemy would be able to get a hit off. A positive is that the enemy encounters feel a lot more snappy. Overall I’m very satisfied with the results and new direction and I think ya’ll will be too. :D