Log In  


Cart #truffle-0 | 2025-07-17 | Code ▽ | Embed ▽ | No License
7


Hello, everyone. This is whimsyhead.

Controls:

You need to press (X) or (A) to jump, that's it.
In the menu, you have some options that require you to press (O) or (B)

Rules:

You're a cute mushroom, who needs to eat healthy mushrooms to keep their hunger bar full.
Beware the poisonous mushrooms, they can fill your poison bar, which according to science, will kill you. Water is a great resource to help you reduce that poison effect.

Behind The Scenes:

This is Truffle, the first game I ever make, I started learning how to code a week or so ago. Game dev has always been on my mind, although I knew absolutely nothing about it. Finally, I decided to start.
I hope you'll enjoy playing this little game.

Credits:

Thank you to my brother who helped me so much, and for the lovely people on this forum who helped me fix those bugs that were driving me insane.

7


2

Thank you @2bitchuck and @magic_chopstick for your help.


1

This is great for a first game! Nice graphics and simple gameplay. I like that the water gives you a way to recover from mistakes and keep the run going longer.


1

Oh nice, how cool to see this finished! Congrats on finishing your first game!


1

Congrats on your 1st game !
Looking at the game in the editor, There's a lot of preparation for what I suspect was planned differential scrolling :
There's a stripe of trees in the map that's not used in the game.

If you remove the clouds from the top left of the map, and the stars from the stripe of trees, you could have fixed moon and stars from the map, the clouds moving slowly to the right during game play (with palt and map from the strip), the background tree stripe move slowly to the left, the tree clusters move slightly slower than the floor and the mushrooms and floor moving at their current speed, for a nice depth effect that wouldn't change the actual gameplay.


Thank you @RealShadowCaster for your comment.
You are right, I tried to do differential scrolling, but I failed to make it look smooth enough, instead it made the player feel dizzy because it was so choppy (if that makes sense). I'll probably try again though, at least as a practice thing :)


I suspect the choppyness is probably related to number and graphic rounding errors :
for example, at the start of the game, mushroom and trees scroll at the exact same speed, but once the scrolling speeds up, mushrooms start to giggle. Their average speed is the same as the trees, but they keep getting ahead and behind by a pixel. The mentioned choppiness is likely due to similar issues.
Most pico-8 drawing functions work with integer coordinates , the fractional part of parameters is simply ignored.
This can lead to off by one pixel artfacts, when some reals are just below the intended integer due to rounding. flr(3*(1/3)) is zero for example.
Adding 0.5 to coordinates passed to pico-8 draw calls is often all that's needed to get proper rounding and smoother visuals.
Having scrolling speeds chosen to be binary representable is another way to keep things looking smooth.
This can be simple 1/2 or 1/4 pixels per frame, but composites 7/8 pixels per frame also works.
You may also want to experiment with _update60 instead of _update (60FPS instead of 30FPS) for a smoother but potentially blurrier result.



[Please log in to post a comment]