Share your repls and programming experiences

← Back to all posts
multi-player shooter game owo
CursorsDev

mobile support added

yay congrats to me and everyone who has supported me cuz thanks to you i have made my first multi-player game with express and socket.io!

make sure to check out this repl because it was an excellent example.

in this little shooter game you're a little ball with a gun and you shoot cyan balls.

use WASD to move and your mouse to shoot

when you are lighter than your original color you have reloaded and are ready to fire.

the number on you indicates your kills

more things added:

the more kills you have the more bullets you fire, so little 'upgrades' that might be op and i might nerf it

the more bullets you fire the slower you reload (cuz it makes sinse and its more balansed)

Added usernames! wooooooo \o/

added custom colors yay 🎉

added simple chat (press Enter)

thanx @KarmaIsKrazy once again for the amazing favicon! \o/

im making mobile support now

mobile support is here! (the controls might be a little weird tho)

Voters
Kgbadz
tchian316
coderdude666
figglediggle
parkerslv
ShadowWalker258
TheJamCoder
ch33s3
Silverdawn2520
MohiTheEpic
Comments
hotnewtop
Baconman321

Nice!

adsarebbbad

yay

CatR3kd

pretty cool!

BaconErie

Do you know what happens when your repl server goes into the sleep state?

BaconErie

Nice!

JasonLiu19

GG 246

muffinman12345

Nice!

AidenBodie

It broke

angrydoge

Hey @pepelaugh you said u were making a bot for this, could I see it?

angrydoge
badst

@dabombdgdzjr nope cause repl doesn't support libraries that control your keyboard or read your screen, you'd need a windows pc.

angrydoge

Lol. I thought it was moving tho. @pepelaugh

badst

@dabombdgdzjr wdym? I'm running it on a windows pc not repl.

angrydoge

@pepelaugh idk u were probably controlling it. U can use python webbot but its laggy af on repl.it

badst

@dabombdgdzjr idk what you mean. Python can run on IDE's other than repl. Im running it on my windows pc, not on repl.

angrydoge

@pepelaugh ok lol also I know this, I have linux for goodness sake

badst

@dabombdgdzjr lmao okay

angrydoge
Interlink

congrats on trending @CursorsDev

CursorsDev

im trending?

badst

well built and I appreciate you did the vector calculations by yourself ;)

Interlink

i have attempted to crash this in a forked repl and it has not worked. i have made the player be able to hold space and shoot with max upgrades and no cooldown with like super speed and it still hasnt crashed AAAAAAA https://hacked-shooter-i-guess.thetwinkybob.repl.co/

Eric2008

You should Improve your game

CursorsDev

i am

Eric2008
Eric2008
Interlink

is the server down?

CursorsDev

owo when the server is down usually it means im tweaking the game

Interlink
Eric2008

It says I need to handle http traffic in order to play this game:(

Nanowrimoijk

its down

Interlink

qqq

angrydoge

its down :((
REEEEE

JasonLiu19

Well it got lagged

adsarebbbad

you should improve this, i opened like 100 tabs of this and it slowed it down by a lot

CursorsDev

oh that was you? get banned >:)

anyways i have implemented a way to kick users for inactivity since then

AeneidVI

Chaotic and wonderful.

KarmaIsKrazy

Heres another icon for you

CursorsDev

uwu thanksssss

KarmaIsKrazy

@CursorsDev OwO your welcome

DavidHilsee

mama mia its a me mario

cowboyyall10

when you whoot multiple bullets, 1-3 of them kinda fall back a bit. fix? plz?

CursorsDev

idk how to fix that

cowboyyall10

@CursorsDev wanna zoom? we can try to do it together.

CursorsDev

zoom? no thanx

Eric2008

@CursorsDev maybe cause you didnt do that

cowboyyall10

@CursorsDev cmon. lets do it together.

cowboyyall10

@CursorsDev then google meet

cowboyyall10

there should be a limit like, 20 or so because that would be too OP

CursorsDev

there is a limit, at 250 kills you wont gain anymore bulletz

CursorsDev

why are people still playing my game

angrydoge

Its good. also the servers down :(( @CursorsDev

RaedenTan

What is the max number of bullets?

06rha1504

@RaedenTan I've got up to 9, I don't think there's a max based on the code

RaedenTan

@06rha1504 I've got up to 11 so I think it increases by 2 when you reach a certain level.

KobeFF

Wow i was on a roll until it crashed :(

88 score tho :)

lilpeen

I am planning on making my own multiplayer game and have a question;
are you handling user input client-side or server-side? When a player presses "W" for example, is it processed on their computer, or is it sent to the server for processing?

GeumjuKim

Woah.

Whippingdot

The game is broken, if I shoot a bullet it goes through the wall and comes out the other side.