Show HN: I made a web game called Almost Pong
121–130 of 189 posts
Re: Show HN: I made a web game called Almost Pong
#122Impossible to play on a 280hz monitor. I see you're using Date.now() to calculate the delta. Instead, use the first argument given to you by requestAnimationFrame for higher resolution, which is a DOMHighResTimeStamp[0] [0] https://developer.mozilla.org/en-US/docs/Web/API/DOMHighResT...
Just curious, what benefits do you see using a 280Hz refresh rate?
* Higher refresh rates means more frames can be displayed each second by the monitor
* Lower latency between some input action (mouse, keyboard) and the frame being drawn on the monitor (provided your game can run at a matching number of frames per second; FPS)
* Synching your FPS to refresh rate (e.g. if you're game can run at a locked 280fps and your monitor is running at 280hz) will remove tearing and provide a very smooth experience
On the desktop the benefits are less pronounced: Everything just feels a bit smoother, like moving your mouse point/open windows around the monitor.
Such high refresh rate displays normally aren't very colour accurate when compared to displays used for media editing.
Re: Show HN: I made a web game called Almost Pong
#123flappy pong! Great game-feel and sound. Only complaint is a standard one: on mobile, your thumb obscures the play area. Maybe have a surrounding area be touch sensitive? Or say it's part of the challenge, to switch thumbs, like you're playing both sides...
Re: Show HN: I made a web game called Almost Pong
#124Edit: oh wait, it's way more fun on Safari. On Firefox it feels slow and slugish, but on Safari it's great!
Re: Show HN: I made a web game called Almost Pong
#125Re: Show HN: I made a web game called Almost Pong
#126Re: Show HN: I made a web game called Almost Pong
#127Re: Show HN: I made a web game called Almost Pong
#128That's a fun concept, but you might want to speed it up a little bit. I stopped at 20 because I got bored, it's way too slow. The ball moves too slowly and the paddles should shrink a bit faster. The change that occurs between 1 and 20 should probably happen between 1 and 5, or 1 and 3 instead. Edit: oh wait, it's way more fun on Safari. On Firefox it feels slow and slugish, but on Safari it's great!
Re: Show HN: I made a web game called Almost Pong
#129This is a wonderful little game. The concept and execution is extremely concise but the thing that really sealed the deal for me was noticing the escalating difficulty by making the paddles shrink.
Awesome, thanks for the comment! Yes first the paddle shrink, and then later the ball starts to speed up.
https://archive.org/details/PLBMPongOut_1020
You could in fact do likewise: let the player choose the initial parameters and the speed of change. Maybe with preset difficulty tiers if high scores are kept.