Log In  


Cart #snak-11 | 2022-04-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

CONTAINS FLASHING IMAGES!!!

Snak

I spent way too much time making this.
It's a clone of snake, and I'm sure you already know the rules.
However, the background reacts in time with the music, and the snake also moves in time with the music.

There are 4 playable "stages", each with a different song and color scheme. After completing all 4, you have the option to restart in endless mode. You reach the next stage after the snake (known as "Snek") consumes 50 food (known as "Snak"). If Snek collides with the wall or their body, they revert to the beginning of the current stage.

There's some hidden quality of life improvements too, like queueing button presses if you press too quickly, preventing misclicks when sliding adjacent to a wall, and giving a short grace period before a game over.

Let me know what you think, there's always room for improvement! I'm somewhat new to PICO-8 and Lua so my code may be a little rusty.

Changelogs

  • V1.1: I have updated the cart to version 1.1, which fixes some graphical bugs, and allows saving and loading.

  • V1.2: Fixed a possible softlock: I only had this issue when playing on the BBS post and not anywhere else, so I hope this is fixed now (Edit: it didn't). Also added a small version indicator in the bottom left.

  • V1.3: Simplified title screen, added keyboard control glyphs for those who are unfamiliar with PICO-8's controls, title screen now shows the stage that the game was saved at, fixed an issue where length after stage transition wouldn't be right, maybe hopefully fixed softlock on Lexaloffle BBS (Edit: it worked!!)

  • V1.4: Fixed length after stage transition (again -_- )

  • V1.5: Redesigned the title screen, fixed bug where the Snak had a small chance to spawn at Snek's head, added new logo

  • V1.6: SPRINTING! Most of the feedback from this game was that it was painfully slow, so you can now fill up your stamina by eating Snak, and sprint using the circle button. Also added sound effect for changing stages, since it didn't get added in the last one. Save files from before V1.6 will not work on this version.

  • V1.7: Added a mini tutorial section at the beginning, slightly changed sprinting animation color, added debug mode toggle if using a keyboard (press END to enable and HOME to disable).

Snak is also available on itch.io here: https://megabyte112.itch.io/snak
Snak's code and extracted assets are also available on GitHub: https://github.com/megabyte112/Snak

8


Stage 1 complete, @megabyte112.

May I suggest you have the snake start to move two steps to the beat of the music once the score starts to go up, perhaps after 25 since Stage 1 finished with 50.

That is the music would play the same speed but the snake would move 2 squares for every beat, and this does not mean to move the snake 2-squares directly on the beat but 2-squares moving neatly between beats essentially doubling the speed of the player. The animations can continue at the same speed, however.

Also ability to save game for every stage complete, so you could finish stage 1, reload the tab and continue at stage 2 or reset back to stage 1.


Hi @dw817,
Thanks for the feedback!
I experimented with different speeds, but 2x speed seems a little too fast, it gets more difficult to control. The speed already does increase during stage 4 also. However, I like your idea of the ability to save the game, so I added that and updated the cart. Not sure if it works on the web, but it does work within the pico-8 desktop app!


This is neat! I had fun playing it.

One tweak would be for the snake to wiggle a little bit. It was neat that it ended each beat in the new location, but I wonder if you could do a little mid-beat animation so it doesn't feel quite as rigid.


I played till I got to 37.
I like the music and effects but man ya I wish I could sprint by holding a dirc or something though


Most of the feedback I got from here as well as elsewhere is that it seems too slow, so I added sprinting mechanics!


May want to add a photo sensitivity warning for all them flashing lights on the border.


Flashing images warning sounds like a good idea - Thanks for the suggestion.
I'll add it to the description, both here and on itch.io


I am Snek


Damn this is a slow ahh Snek Jeez



[Please log in to post a comment]