Hi all, so I've been working on my table that adds bread slices to my duck game. It's working fine now and I can add the desired amount of bread. But there is a strange oddity - I have a little animation of the water rippling under the bread slices, but for some reason the more bread slices there are, the faster the animation goes, so if there's a lot of bread it's just a crazy flickering. I can't really get my mind around why this would be happening, so would appreciate any thoughts.
Here is all the code relating to the bread and ripple animation (rip stands for ripple):
--bread
--contents:
--init bread (empty table)
--breadset
--update bread
--draw bread
--ripple animation
function initbreadslice()
bread={}
breadtime=true
end
function breadset()
add(bread,{
sp=42,
x=20+rnd(75),
y=20+rnd(75),
act=true,
dis=4,
draw=function(self)
if self.act==true then
ripples(self)
spr(self.sp,self.x,self.y)

Hey all! New to Pico 8 and coding, here's my first game! Putting it up to have friends play test, still lots of kinks to iron out, but give it a play and let me know what you think!
--UPDATE 01--
Added main menu (will add game over loop soon)
Fixed issue where baby quails spawned in fox's path
Fox speeds up as score increases

When I'm drawing i dont' want to accidentally bleed into another image, so I select the sprites and zoom level I want. But when I hit CTRL+Z, not only does it properly undo the last action I did, but it unfortuantely skips back the zoom to default.
This is super annoying. I'm not sure if it's a bug, but it makes drawing super frustrating in Pico8 when using non-standard sizes with the sheet selection tool.
Mondrian
Combines the style of Piet Mondrian with this recursive squares thing-I-don't-know-the-name-for-but-I've-definitely-seen-before, all in 296 characters. It's also a one-liner, although I wasn't trying to make it one originally. One line just happened to save the most characters in this case.
Requires mouse controls, so check out the actual cart here: https://www.lexaloffle.com/bbs/?tid=152064
(296 chars)
poke(0x5f2d,1)p={x=0,y=0}pal({8,10,-4,7,7,7},1)function s(x,y,w)srand((x-m)/(y-n))rectfill(x,y,x+w,y+w,rnd(7))rect(x,y,x+w,y+w,0)if(p.x>=x and p.x<x+w and p.y>=y and p.y<y+w)w/=2s(x,y,w)s(x+w,y,w)s(x,y+w,w)s(x+w,y+w,w)end::a::cls()p.x=stat(32)p.y=stat(33)m=-(t()*8%256)n=m/2s(m,n,512)flip()goto a
|
Mondrian
poke(0x5f2d,1)p={x=0,y=0}pal({8,10,-4,7,7,7},1)function s(x,y,w)srand((x-m)/(y-n))rectfill(x,y,x+w,y+w,rnd(7))rect(x,y,x+w,y+w,0)if(p.x>=x and p.x<x+w and p.y>=y and p.y<y+w)w/=2s(x,y,w)s(x+w,y,w)s(x,y+w,w)s(x+w,y+w,w)end::a::cls()p.x=stat(32)p.y=stat(33)m=-(t()*8%256)n=m/2s(m,n,512)flip()goto a |
Combines the style of Piet Mondrian with this recursive squares thing-I-don't-know-the-name-for-but-I've-definitely-seen-before, all in 296 characters. It's also a one-liner, although I wasn't trying to make it one originally. One line just happened to save the most characters in this case.
Requires mouse controls.


CONTROLS
GAMEPAD/KEYBOARD
- Arrows (P1) | Move and Aim
- 🅾️/Z | Throw the disc (if it was thrown, it is returned after 3 bounces with the edges or if you press 🅾️/Z again after a bounce)
- ❎/X | block enemy discs (if you have your disc handy)
KEYBOARD AND MOUSE
- E,S,D,F (Dpad P2) | Move
- Move Mouse | Aim
- Left Click | Throw the disc (if it was thrown, it is returned after 3 bounces with the edges or if you press 🅾️/Z again after a bounce)
- Right Click | block enemy discs (if you have your disc handy)
You can change btw control layouts in the pause menu.

Bus Business!
Get $1000 as fast as possible
How to play
- Steer with the arrow keys
- Pick up passengers with X
- Drop them off with X
- The shop is located in the upper left corner - go there to buy upgrades
- The game ends once you get $1000!
Music
- Inspired by “Så lunka vi så småningom” (So We Gradually Amble) by Carl Michael Bellman

4+ GIGA BOSS FIGHTS
The original 4 GIGA BOSS FIGHTS is one of my favorite games I've made for Pico-8. Every now and then I come back to it and play it for a bit. Last time I did that, I noticed a few minor bugs that bothered me, so I decided to fix them. Long story short, what started as a quick bug fix, ended up adding more and more features, so I decided to make it a "plus" release.
So here it is, after more than 6 years of the original release, the new and improved 4+ GIGA BOSS FIGHTS. Here's some of the new features:
- Each ship now has different shooting styles and different power levels. Look at the DPS (Damage Per Second) on the bottom left corner of the ship select menu.

Media viewer for Picotron
Supports:
Usual filetypes:
.png
Custom filetypes:
.spr (a userdata image and a palette)
.anim (a group of .spr files and a frameTime value determining the length of frames)
You can also copy and paste images (easy way to save .spr)
Use:
default_app png (pathToMediaPlayer)
default_app spr (pathToMediaPlayer)
default_app anim (pathToMediaPlayer)
to automatically open images and animations in this!






2 comments



