Game sneak peek! :D

no terrain or cool stuff (yet).
red: WAD to move, S to shoot, 1 and 2 to aim
blue: left, up, and right to move, down to shoot, “,” and “.” to aim
I am open for suggestions as long as they are to my ability (suggest anything and i’ll decide if i can do it, because i know me more than all of you)

flat shooter demo.html (2.1 MB)

must-have: walls and ceiling, better platform collision
probably will add: multiple lives, power-ups
maybe will add: different guns (guns that can/can’t shoot through platforms, lasers, etc)
probably not: 3+ players

3 Likes

added some lousily-made platforms. I’ll probably utilize collisions later and add a border. bullets go through platforms, but i’ll keep it that way for both simplicity and difficulty.

not-as-flat shooter demo.html (2.1 MB)

We’ll call this about 0.1.1.

2 Likes

I think that this project is off to a great start! The key controls are easy to use as well
:+1:

It’s a good thing that you left the sneak peak be simple! For powerups, you might be able to make the shot be bigger (to do more area damage) or the player move faster along the X-axis

thanks :) I’ll add those to the todo list I just put on the first post.

@awc95014 awesome! Collisions look really smooth as well!

Ok, well… funny story.
I didn’t save it, I only made HTML files… At least I got to make my code a bit more efficient…
You can bounce on the other player’s head. So far there’s no side collision.
The gun itself in the old version could’ve been made better so that I could make different kinds of guns. Didn’t add any guns yet though.
shooter7-20-2020_10-18-27AM.wick (28.7 KB)

SAVE YOUR WORK!!! Don’t end up like me.

Got the collisions up and running again, and more efficiently.

Bug: if the block and player hit each other correctly, you can stick to the bottom.
Screen Shot 2020-07-20 at 5.17.57 PM
Not sure what’s wrong with my code.
Screen Shot 2020-07-20 at 5.21.11 PM

shooter7-20-2020_5-18-09PM.wick (30.0 KB)

Fixed, plus some moving blocks :slight_smile:
What do you think? Open for suggestions.

shooter7-20-2020_5-37-17PM.wick (31.4 KB)

1 Like

Here’s what I think:


:gun: :blue_square:


:gun: :red_square:


:+1: :+1:

You improved it more than it was, and the collision is just perfect :ok_hand:
Keep up the great progress, can’t wait to see the final project!

I’m gonna do that - otherwise, it won’t live up to its name. :laughing: Maybe I’ll have a basic version with a couple of maps, and if I’m feeling motivated, I’ll make a mode with different guns you can equip yourself with. maybe with the new (slightly more) efficient code I can add 3 players, not just 2. The only problem with that is that it’s hard to have 3 people play on 1 keyboard unless you’re desperate or you hook up controllers or something. But it is what it is, and it won’t hurt :slight_smile:

What kind of stuff do you want?

  • guns w/ big bullets
  • guns that can/can’t shoot through walls?
  • laser guns
  • water guns??? (push people)
  • health/lives
  • absolutely nothing, because i like it simple with 1 gun

0 voters