Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

Cart #yoduzefuze-0 | 2022-12-25 | Code ▽ | Embed ▽ | No License


I need help with how I want the player to move. I want the movement of the game to be mouse based, i.e I want the player to jump up left when moving cursor to the left of the slime and jump up right when mouse is to the right of the slime. How would I be able to achive this? I've tried to test something if it'll work, and it didn't.
What I tried was
if stat(34)==1 and (on_ground or jump<2) and SX==8 and sy==8 and mouse.x<x then
on_ground=false
jump+=1
dy=dy-1
sfx(0)
end
This doesn't work since whenever the X cord for the mouse is less then the slime X, or x, it still jumps. Is there something I'm not thinking of that could work?

7 comments


Cart #snowball_gaiden-6 | 2023-01-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
39

A team sport bullet-hell battler!

Face off against your fellow fifth graders in the ultimate snowball showdown.

Learn from your opponents! Every team has different perks/special moves. Upgrade yours after every match.

Battle convincing AI foes with the support of your helpful AI teammate!

Made in 3 or so weeks for the 12 Days of Pico8 Jam 2022.

CHANGE LOG

1/5/2023
Nerfed the Hurdle effect a small amount.
Fixed win/loss ratio bug.
Added some helpful indicators.

39
16 comments


I've already posted this on the Discord and a couple other places, but, well, why not post it here too? Randomly generated snowflakes for the season.

Cart #snowflake_generator_3d-0 | 2022-12-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
12

12
5 comments


I'm running the latest version (0.2.5e).

Pico8 works fine when you link your own SDL library and change the video driver.... Until you press alt+enter (fullscreen toggle). Pressing that makes pico8 have a segfault under linux:

> SDL_VIDEODRIVER=wayland /opt/pico8/pico8_dyn
zsh: segmentation fault (core dumped)  SDL_VIDEODRIVER=wayland /opt/pico8/pico8_dyn

Same thing with kmsdrm:

> SDL_VIDEODRIVER=kmsdrm /opt/pico8/pico8_dyn
zsh: segmentation fault (core dumped)  SDL_VIDEODRIVER=kmsdrm /opt/pico8/pico8_dyn

But it doesn't happen with the default for linux (x11):

> SDL_VIDEODRIVER=x11 /opt/pico8/pico8_dyn

Here is an excerpt of my valgrind trace:

Memcheck, a memory error detector
Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
Command: /opt/pico8/pico8_dyn -windowed 0

Invalid read of size 8
   at 0x4974C15: SDL_GL_MakeCurrent_REAL (SDL_video.c:4114)

[ [size=16][color=#ffaabb] [ Continue Reading.. ] [/color][/size] ](/bbs/?pid=122948#p)
1 comment


Cart #sotuyizofa-0 | 2022-12-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

7
2 comments


Cart #hello-1 | 2022-12-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

Hello!

I'm new to programming in general so I'm not really sure how this works, but here's a mini "Introduction" project. Although I did know about PICO-8's existence for a while now, I just never got the chance to actually try it.

(I've been looking at some tutorials on how PICO-8 works so I should be fine.)

Thanks for checking my project out. :)

Controls

You can control the Apple that shows up when you boot up the cartridge.

(Arrow Keys) - Move

5
3 comments


Cart #swobuperi-0 | 2022-12-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

PicoMotos v.0.1 Demo

This is an early version of a small game I worked on in September, taking advantage of the few days of the paternity leave. I'm wrapping up a few things, so I decided to put it here as a WIP, although I'm not sure I will move forward.

I tried it with a joypad and the playability is better, playing with the keys might be a little challenging even with the many power-ups frequently spawned.

If somebody tries it I would love to hear some advice!

2
3 comments


Cart #it_is_a_mystery-1 | 2022-12-24 | Code ▽ | Embed ▽ | No License
3

sources

development log

i started when i got a YouTube recommendation of the 'it is a mystery' meme.
it took me three attempts in 2 weeks (with breaks) to finish this cartridge

most of the 2 weeks were forced breaks, because i had a lot of school work before winter holidays began.

[ Continue Reading.. ]

3
0 comments


MIGHT CAUSE EPILEPTIC SEIZURES

Cart #nicedemoeffect3-0 | 2022-12-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

4
2 comments


MIGHT CAUSE EPILEPTIC SEIZURES
This is similar to my first demo effect but this time it's in color

Cart #nicedemoeffect2-0 | 2022-12-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

2
0 comments


Just updated to v0.2.5e, and found that it breaks a number of my tweetcarts.
The issue specifically seems to be that this shortcut is no longer supported:

if(...)do
--thing1
--thing2
--etc.
end

Now to make things work, I have to replace the "do" with "then". Not a huge change, but it does require a couple more characters, and every one counts when dealing with strict character limits.

3
6 comments


Cart #snow__fight-0 | 2022-12-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Controls:

Hold X to make a snowball. You have to hold until you hear a little dinging sound
Press Z to throw

2
5 comments


Cart #wazisesfe-1 | 2022-12-24 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

Very minimalistic version of the game snake.

It has two easter eggs:

Press (o) to change palette.

Press (x) and (<) at the same time to toggle invincibility.

3
1 comment


Entry for Zeno Jam 6:

Cart #towerclimb-0 | 2022-12-23 | Code ▽ | Embed ▽ | No License
2

2
0 comments


Cart #pb_line_cbez-0 | 2022-12-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

I know a lot of people have posted functions for drawing cubic bezier curves, but I'm tossing my own into the pot because why not. Just skimming threads, it feels like most people use pset() to draw them pixel by pixel; this one uses line() to draw them segment by segment.

Some animated gifs, because they're fun:


demo of the editor in the cart:

drawing demo, dividing the curve into segments:

drawing demo, dividing the curve dynamically based on pixel precision:

To save you digging into the cart, here's the two versions of the algorithm I'd recommend, based on my testing. If you want to see how fast they run, there's a pause menu item in the code that draws sets of 5000 random bezier curves with a bunch of different algorithm parameters in two sizes - 16-pixel square bounding box and 128-pixel square bounding box - and adds up the total CPU needed at 60 FPS.

[ Continue Reading.. ]

2
1 comment


Cart #ankkapeli-1 | 2022-12-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Cart #ankkapeli-0 | 2022-12-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
0 comments


DJ Deci

Cart #decigobloopbloop-6 | 2022-12-22 | Code ▽ | Embed ▽ | No License
13

Something is awry at December Village.. Everyone is unhappy; Record time blues!
It's up to Deci to run around and use her boombox to cheer everyone up!
Talk to villagers and find songs to play, Or just take a nap that's fine too.

Kinda a mess and experimental but hope it's chill. Happy holidays!

Made for advent calendar 2022
Soundtrack listenable at: https://youtu.be/hrpIz5LfEbw

Made by SmellyFishstiks
Sound help from TheTomster and bikibird
Snowbert physics help from Chewy

13
1 comment


Cart #futureleste-14 | 2023-01-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Futureleste aims to be a mod set decades after Celeste Classic. All the snow has melted due to global warming, and the ways of dashing have been forgotten. Madeline's descendant has to relearn the ancient techniques, and maybe even surpass her ancestor.

2
4 comments


Cart #snowy_solver-2 | 2022-12-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

A little holiday puzzle game!

It was kinda rushed in 1.5 weeks to be done before christmas, so it may have some bugs...
I think perhaps I could have developed some ideas and made some more advanced complex puzzles, but that will be for a possible sequel or update.

Hope you enjoy anyway! Happy holidays!

8
6 comments


Cart #fademuteju-0 | 2022-12-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

--init
t,f,b,w,h=tonum,flip,btn,128,128
w,h,x,y,y0,y1=w/2,h/2,0,0,0,0
r,s,l,dx,dy=3,w-5,20,1,1color(7)
--update
while abs(x)<w do x,y=x+dx,y+dy
y0,y1=y0+t(b(3,1))-t(b(2,1)),
y1+t(b(3,0))-t(b(2,0))
dx,dy=(x<r-s and abs(y-y0)<l or 
x>s-r and abs(y-y1)<l)and-dx or
dx,(abs(y)<h-r)and dy or-dy
--draw
line(w-s,y0-l/2+h,w-s,y0+l/2+h)
line(w+s,y1-l/2+h,w+s,y1+l/2+h)
circfill(x+w,y+h,r)f()cls()end
0 comments




Top    Load More Posts ->