HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Show HN: I made a multiplayer browser game(boxfight.xyz)

14 points·by andai·2 anni fa·15 comments
boxfight.xyz
Show HN: I made a multiplayer browser game

http://boxfight.xyz/

16 comments

gukov·2 anni fa
"rip headphone users" as they say. What's with the extremely loud noise?
andai·2 anni fa
Someone made a hacked game client and is spawning a bullet every frame
spywaregorilla·2 anni fa
Arrow keys seem to get hijacked by the scroll bar which gets worse with longer chat
andai·2 anni fa
Forgot 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·2 anni fa
Thanks 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...))
xtiansimon·2 anni fa
Funny. 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
adamwong246·2 anni fa
When 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.
andai·2 anni fa
I made it with raylib and Odin.

The game is open source https://github.com/avelican/boxfight
TriangleEdge·2 anni fa
I have some feedback: please reduce the volume.
andai·2 anni fa
Update: Someone already made a hacked client!
woofcat·2 anni fa
What are even the controls... I get moving around, no concept of how to fire, or even the rules.
andai·2 anni fa
WASD / 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?
lars_thomas·2 anni fa
Front page worthy effort?
DonnyV·2 anni fa
How do you fire???
DonnyV·2 anni fa
You point at enemy with mouse pointer and left click to fire
thefatboy·2 anni fa