Log In  
Follow
Zach_Attakk

Cart #prime_spiral-0 | 2022-02-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


After watching this episode of Coding Train's coding challenge, I thought a square screen would be perfect for this sort of thing. It's not my cleanest code but it's pretty interesting to watch.

  • ➡️ makes it go faster (increase frame skip)
  • ⬅️ slows down (to a stop)

Cart #prime_spiral-0 | 2022-02-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


a35KWEjRvc0&hl=en&fs=1&rel=0">
Cart #prime_spiral-0 | 2022-02-21 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


a35KWEjRvc0&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="400">

2
0 comments



Cart #58080 | 2018-10-18 | Code ▽ | Embed ▽ | No License
4

Picked something simple for my first PICO-8 game. Also first time coding in Lua so the code is probably horrid.

It's basically this. I've only managed 1024 myself and I don't know what happens after 8192 because there's no more sprites after that.

Changes:

  • Using sspr() instead of spr() to draw parts of blocks, so they appear to flow into each other when merging
  • Animation cycle now skips if there's nothing to change, speeding up response time.
  • Added instructions
  • Added game over screen with restart button
  • Added persistent high score (thanks tobiasvl)

[ Continue Reading.. ]

4
5 comments