Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
killedbyapixel.github.io
Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
1–10 of 51 posts
Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#2Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#3Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#4Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#5Edit: Firefox 122.0 on aarch64 (fedora asahi)
Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#6I got to level six on the first go, but after that I noticed if you move one pixel off the side of the screen you could just hold down "UP" to advance levels every few seconds.
Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#7Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#8In Firefox, I'm getting ~500ms GC pauses every few seconds which make it pretty difficult to play. It works fine in Chromium, though. Edit: Firefox 122.0 on aarch64 (fedora asahi)
But even then it's just one giant text node, not html elements so it's surprising this is causing so much GC in Firefox.
Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#9Turns out if you do this, then hold the up key, it would appear that you avoid collision detection. Also, it appears your X position is preserved between levels, allowing you to hold the up arrow to rapidly advance levels.
Re: Cross My Heart – A Frogger Demake in 256 Bytes of HTML/JS
#10I like this, except I'm really not a fan of needing to rapidly tap a key to move repeatedly in one direction. I don't know how many shortcuts were needed to get to 256 bytes, but I think the game would benefit from significantly shorter key repeat.