6 ms·
Show HN: I made a multiplayer browser game
- andai 3y agoForgot to mention "In 50 KB of WASM" :) Sound effects are generated on the fly (with sfxr), there is Text to Speech (with Software Automatic Mouth, from the Commodore 64)
- andai 3y agoI made it with raylib and Odin. The game is open source https://github.com/avelican/boxfight https://github.com/avelican/boxfight
- andai 3y agoUpdate: Someone already made a hacked client!
- gukov 3y ago"rip headphone users" as they say. What's with the extremely loud noise?
- andai 3y agoSomeone made a hacked game client and is spawning a bullet every frame
- TriangleEdge 3y agoI have some feedback: please reduce the volume.
- adamwong246 3y agoWhen I clicked that link, I heard a lot of horrible noise and saw some racial epithet spam in a chat box. Was that supposed to happen? Anyways, 10/10 would click again.
- DonnyV 3y agoHow do you fire???
- DonnyV 3y agoYou point at enemy with mouse pointer and left click to fire
- thefatboy 3y ago[flagged]
- lars_thomas 3y agoFront page worthy effort?
- woofcat 3y agoWhat are even the controls... I get moving around, no concept of how to fire, or even the rules.
- andai 3y agoWASD / Arrow keys to move. Click to shoot. You can't move on phone yet (but you can shoot!), I'm not sure how to do the controls there. Maybe a multitouch thing where the first touch makes a joystick appear for movement, and 2nd tap shoots in the tap direction?
- spywaregorilla 3y agoArrow keys seem to get hijacked by the scroll bar which gets worse with longer chat
- xtiansimon 3y agoFunny. On iPhone I’m stuck in the middle. Assume it’s beca I don’t have a mouse? Still, I played for 5 minutes or so shooting user 2 —fracking gnat— from the center of the game. hehe
- andai 3y agoThanks for the feedback everyone! Update: got rid of webassembly (for my usecase it was pure overhead). Game is now 24KB (down from 170KB) Will ship new version tomorrow and start fixing all the bugs / complaints. Netcode needs major overhaul. Need to move the game logic into server for anti-cheat and for more consistent experience. (Currently collision is done locally, which coupled with the lag is terrible. (On that note, I need more servers...))