OneShot | 🚀Online Space Shooter 👩🏽🚀 | 📱Mobile Friendly
🎮Play it here. Now mobile friendly!
❤️One Life.🔫One Shot. Survive
In this game you must try to survive the longest using only one shot. Online Multiplayer, so invite some friends to play if theres no one else online.
[WASDQE] or Arrow Keys - Move (Q&E to strafe L&R)
[Spacebar] - Shoot
[H] - Show/Hide flight guide (i.e controls)
[X] - Suicide
🔄 Tilt - Move and change direction. The more you tilt the faster you go
👇 Tap - Shoot
Any feedback/suggestions greatly apprecieated
Made in JS using a socket.io nodejs server (see this wonderful tutorial by Dan Shiffman if you want to get started) and p5.js for client side rendering (also checkout Dan's channel for everything p5). Sounds made using Bfxr. Art style a la the amazing Captain Forever.
The web window below is not the best place to play it, open it in a new tab for the full experience
Can you add power-ups like the ammo but bigger and there could be a power-up that lets you shoot more than one at a time for 1 minute or you could make one make you have a shield for 30 seconds.
Please and Thank You!!
is there a way to change you reg id so you could play on the same team as friends or does it just randomly pick that?
Really cool! We played it in the office but found a bug. When you suicide you kill the entire game haha
/home/runner/index.js:45 shipsList[socket.id].alive = false; ^ TypeError: Cannot set property 'alive' of undefined at Socket.socket.on (/home/runner/index.js:45:30) at Socket.emit (events.js:180:13) at /home/runner/node_modules/socket.io/lib/socket.js:528:12 at process._tickCallback (internal/process/next_tick.js:176:11)
I love the game, but I was alone in it all but once. And that time the other player wasn't even playing.
I really love the concept of the game and the style. This was totally awesome. Maybe you could try putting a small map on the side in order to gauge where you are in the game. Overall, I loved the game. Keep it up
@Sofia_Ortega You can currently see your coordinates in the top left, the world size is 5000 so the x and y can be anywhere between -2500 and 2500. However the programming convention is that (-2500, -2500) is the top left corner, so bear this in mind.
I may add a map, however I think the coordinates do the job, and the radar arrows around your ship point you to others. Thanks for the suggestion though!