Feedback and ideas wanted for my 2DGame

Hi all,

I took a break after finishing the ZombieRunner section. To reinforce what we learned in the previous sections I decided to make something from scratch. A simple 2D game.

After having the basics done, I’m a bit out of ideas so aside from looking for feedback I’m also looking for things that would be nice to implement.

I don’t have any plans to release this publicly later on it’s just a project to keep me busy and to challenge myself a bit. Most of the art in it is overdrawn/traced from image search results but as vectors. With some of the search results the copyright usage rights is unclear another reason why I won’t release it publicly later on.

What’s in:

  • Player character movement (you are the person on the left) with Q for left and D for right.
  • Change gun by either using number 1 to 5 (not the numpad!) or scroll mousewheel up
  • change grenade by selecting 6,7,8
  • Bullets do different damage depending on its kind. For now sniper is instant enemy kill.
  • The RPG/Bazooka can be aimed upwards by pressing the left shift key.
  • Flash grenade causes the enemy to flip on the x-axis stop firing to give a disoriented feeling. Regular grenade will cause the enemy to fly away.
  • The smoke grenade now just generates smoke, I will either use it as a pickup beacon later on, or as a marker for bombing either by enemy or friendly jets.
  • The helicopter has a firing mode which can be set via script. The jet fighter can shoot rockets and drop bombs. Later planned to maybe follow the player.
  • The Enemy will start shooting at the player when its raycast hits a player character.

It’s just really basic now and I’m looking for some things to add. If you want to test the different weapons and grenades on the enemy you will have to reload the page because the enemy currently doesn’t respawn.
Screens:


WebGL build, note it uses about 700 MB of RAM when I tested in Firefox so make sure you have plenty and don’t try it on mobile:

http://michielb.net/SE/Games/2DTestNew/

2 Likes

I did a little unity programming two years ago and I’m just now getting back into so I’m still pretty new to the software. As a beginner programmer it seems like a good game, just took me a few seconds to learn the controls but it wasn’t too hard. However nothing shot back at me and shooting while going left didn’t work quite right. It would be better if there was a way to know you won and killed everything and boundaries so you don’t just walk into nothingness. Other than that it works pretty well, good job! If there was anything more you could and it would be sound but that’s just a nice extra.

Thanks for the feedback :slight_smile:

Yes both the helicopter and the jet don’t shoot at the player yet. The enemy soldier should begin shooting when you come in his view. I used raycasting for that, the reason the heli and jet don’t yet work was because I’m looking to do it a bit different by using a cone to detect the player instead of a line, but it’s proven difficult to find info on how to do this.

When moving to the left shooting doesn’t work as it should, so that’s definetely something that needs to be fixed, I’m still trying to decide wether I want the player to move in both directions though, but it’s now on my list. Win condition and/or boundaries is something that needs to be added as well, thanks for the suggestion!

I may add sounds later for now I’m doing it without.

Thanks again for the feedback! :smiley:

Couldn’t really find a solution for having a cone of vision that you see on enemies in certain games (like Commandos) so did it in another way. Just a sprite shaped like a spotlight, and added a small collider on it. When it detects a Player character it turns red and when it stays on the player for x amount it starts firing.

Not really what I was looking for but it does the job for now.

1 Like

Made some progress in my game test side project.

First bit of gameplay is in, enemy starts auto firing when detecting the player, when dropping below an amount of health the enemy turns around, fires a flare to signal a helicopter attack. The enemy also runs away until he is behind cover then starts firing again.

In this video the enemy is eventually killed after grenades fail, but a smoke grenade by the Player calls in a bomber to kill the enemy. The art still needs a lot of work but now you at least have some difference instead of just a grey background.

1 Like

About 3 months I’ve been working on this in my spare time. Things that are now in are, player shooting, using a shield, throwing a flash grenade causes the enemy to flip on the x-axis and stop firing.

Enemies now also have health bars.

When the enemy’s health is below a treshold he runs away for cover, stops moving when he reaches it and starts shooting again. When not wearing a gas mask and hit by an enemy gas grenade the players controls are inverted. A blue smoke grenade calls a friendly bomber to bombard the enemy.

When an enemy sniper starts firing on the player a green dot appears on the player. It’s just an animation for now. Pretty much been able to achieve what I’ve wanted so far!

1 Like

Privacy & Terms