Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Simple Multiplayer 3D render with threejs, Tile38 and websockets (juanpabloaj.com)
20 points by juanpabloaj on Jan 8, 2017 | hide | past | favorite | 10 comments


Why are the projectiles moving slowly and not smoothly? Why do I keep jumping back to where I started whenever I collide with somebody?


* the projectiles moving slowly because the position are computed in the server and send the position to the client, I try to not overload the connection. I need change this, compute the position in the client.

* you jump back to the start position because the game don't have a counter of life, is my first idea for a representation of death.

The real answer is because is a pre alpha version, currently aren't defined final rules.


You should check out http://gafferongames.com/networking-for-game-programmers/wha... for better ways of handling that first issue.


thanks, I check this.


I don't think colliding with another player should even trigger death in the first place though. That's just not a fun game mechanic.

I suggest reading Fullerton's "Game Design Workshop" to help fill in those knowledge gaps.


In the game you not die when collide with other player, you die when you collide with a bullet.

thanks for the book recommendation.


Hm, it seemed to me like I was dying all of the time whenever I walked into somebody else. Possible bug? Maybe it should be more clear that you got "hit" and so you died instead of just insta-teleporting you somewhere else.


you not die when collide with other ship (sphere), maybe when you walked into somebody else, this person exit the game then his ship convert to a rock and you collide with the rock, because when you collide when a rock you are teleporting to other position.


I updated the moving slowly of the bullets, the position are calculated in the client and the server in parallel.


BTW thanks a lot for try the game, any suggestion is welcome :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: