Log In  

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

Bad Apple on Pico8

Link to github here
Note this works by dragging and dropping a frameData.bin onto the running cart so it dose not work on BBS.

Drawing Function Used by Cart:

--main
print("dropfile")
repeat
until stat(120)
cls()
polys={{}}
i=0
p = 1
size=0
function _update()	
	byte=0
	while byte!=0xff do
	if i>=size then
		size = serial(0x800,0x4300,1000)
		if size==0 then
			stop("done")
		end
		i=0
	end
		byte = peek(0x4300+i)
		if byte!=0xff and byte!=0xfe then
			add(polys[p],byte)
		end
		if byte==0xfe then
			p+=1
			add(polys,{})
		end
		i+=1
	end

end

function _draw()
	cls()
	for poly in all(polys) do
		line(poly[1],poly[2],poly[1],poly[2])
		for i=1,#poly,2 do
			if poly[i]==0xff then
				stop("here")
			end
			line(poly[i],poly[i+1],7)

		end
	end
	polys={{}}
	p=1
end

[ Continue Reading.. ]

1 comment


Cart #flying_mario-0 | 2023-05-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

5
2 comments


Cart #shaiza-2 | 2023-06-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

lil demake of shazia from counterpact :3

controls:
AD: move
S: slide
left click: melee (reveals you for now)
right click: throw chain
F: sit

old versions:

Cart #shaiza-1 | 2023-06-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


[hidden]
Cart #shaiza-0 | 2023-05-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

[ Continue Reading.. ]

2
0 comments


Cart #gawodokoju-0 | 2023-05-31 | Code ▽ | Embed ▽ | No License
3

use c to move

(i stole some of the code so thanks to @nonsako)

3
5 comments


I can't get my custom font with variable width to work

the font maker tool

Cart #my_font-0 | 2023-05-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

a cart that uses the result code

Cart #turnbased_demo-0 | 2023-05-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

and also the output code:

poke(0x5600,unpack(split"5,8,8,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,63,63,63,63,63,63,63,0,0,0,63,63,63,0,0,0,0,0,63,51,63,0,0,0,0,0,51,12,51,0,0,0,0,0,51,0,51,0,0,0,0,0,51,51,51,0,0,0,0,48,60,63,60,48,0,0,0,3,15,63,15,3,0,0,60,6,6,6,6,0,0,0,0,0,48,48,48,48,30,0,99,54,28,62,8,62,8,0,0,0,0,24,0,0,0,0,0,0,0,0,0,3,6,0,0,0,0,0,0,0,1,0,0,0,5,5,0,0,0,0,0,2,5,2,0,0,0,0,0,0,0,0,0,0,0,0,3,3,3,3,2,0,3,0,0,5,5,0,0,0,0,0,0,20,62,20,20,62,20,0,8,60,10,62,40,30,8,0,0,18,24,12,6,18,0,0,14,27,27,110,59,59,110,0,4,4,0,0,0,0,0,0,24,12,6,6,6,12,24,0,12,24,48,48,48,24,12,0,0,54,28,127,28,54,0,0,0,12,12,63,12,12,0,0,0,0,0,0,0,6,6,3,0,0,0,31,0,0,0,0,0,0,0,0,0,0,1,0,32,48,24,12,6,3,1,0,6,9,13,15,11,9,6,0,2,3,2,2,2,2,7,0,7,8,8,15,1,1,15,0,7,8,8,14,8,8,15,0,9,9,9,14,8,8,8,0,15,1,1,15,8,8,7,0,14,1,1,15,9,9,7,0,7,8,12,6,2,2,2,0,6,9,9,15,9,9,6,0,7,9,9,14,8,8,7,0,0,0,3,0,0,3,0,0,0,0,2,0,0,2,1,0,48,24,12,6,12,24,48,0,0,0,30,0,30,0,0,0,6,12,24,48,24,12,6,0,15,9,8,12,6,0,6,0,0,30,51,59,59,3,30,0,0,0,6,8,14,9,14,0,0,1,1,7,9,9,6,0,0,0,6,9,1,9,6,0,0,8,8,14,9,9,6,0,0,0,6,9,15,1,14,0,0,12,2,2,15,2,2,0,0,0,6,9,9,14,8,6,0,1,1,7,9,9,9,0,0,2,0,3,2,2,7,0,0,4,0,6,4,4,4,3,0,1,9,5,7,5,9,0,0,0,1,1,1,1,6,0,0,0,17,27,21,17,17,0,0,0,7,9,9,9,9,0,0,0,6,9,9,9,6,0,0,0,6,9,9,7,1,1,0,0,6,9,9,14,8,8,0,0,6,13,1,1,1,0,0,0,14,1,15,8,7,0,0,2,7,2,2,2,4,0,0,0,9,9,9,9,14,0,0,0,9,9,9,13,6,0,0,0,17,17,21,31,10,0,0,0,17,10,4,10,17,0,0,0,5,5,5,6,4,3,0,0,7,8,6,1,14,0,31,3,3,3,3,3,31,0,1,3,6,12,24,48,32,0,31,24,24,24,24,24,31,0,6,15,9,0,0,0,0,0,0,0,0,0,0,0,15,0,6,12,0,0,0,0,0,0,6,9,9,9,15,9,9,0,6,9,9,7,9,9,7,0,6,9,1,1,1,9,6,0,7,9,9,9,9,9,7,0,14,1,1,7,1,1,14,0,14,1,1,7,1,1,1,0,14,1,1,13,9,9,6,0,9,9,9,15,9,9,9,0,7,2,2,2,2,2,7,0,15,4,4,4,4,4,3,0,9,5,5,3,5,5,9,0,1,1,1,1,1,1,14,0,17,27,21,17,17,17,17,0,9,9,11,15,13,9,9,0,6,9,9,9,9,9,6,0,14,9,9,7,1,1,1,0,6,9,9,9,9,5,10,0,7,9,9,15,5,5,9,0,14,9,1,15,8,9,7,0,15,4,4,4,4,4,4,0,9,9,9,9,9,9,6,0,9,9,9,9,9,13,6,0,17,17,17,21,21,27,17,0,17,17,10,4,10,17,17,0,9,9,9,14,8,8,7,0,7,8,4,6,2,1,14,0,28,6,6,3,6,6,28,0,8,8,8,0,8,8,8,0,7,12,12,24,12,12,7,0,0,0,110,59,0,0,0,0,0,0,0,0,0,0,0,0,127,127,127,127,127,127,127,0,85,42,85,42,85,42,85,0,65,99,127,93,93,119,62,0,62,99,99,119,62,65,62,0,17,68,17,68,17,68,17,0,4,12,124,62,31,24,16,0,28,38,95,95,127,62,28,0,34,119,127,127,62,28,8,0,42,28,54,119,54,28,42,0,28,28,62,93,28,20,20,0,8,28,62,127,62,42,58,0,62,103,99,103,62,65,62,0,62,127,93,93,127,99,62,0,24,120,8,8,8,15,7,0,62,99,107,99,62,65,62,0,8,20,42,93,42,20,8,0,0,0,0,85,0,0,0,0,62,115,99,115,62,65,62,0,8,28,127,28,54,34,0,0,127,34,20,8,20,34,127,0,62,119,99,99,62,65,62,0,0,10,4,0,80,32,0,0,17,42,68,0,17,42,68,0,62,107,119,107,62,65,62,0,127,0,127,0,127,0,127,0,85,85,85,85,85,85,85,0"))

[ Continue Reading.. ]

2 comments


credit orignal game: Super FNaF - @Lylly - https://gamejolt.com/games/sfnafarchived/158082

Cart #sfnafde-1 | 2023-05-31 | Code ▽ | Embed ▽ | No License
1

This is a project for me to learn more about pico 8.


Super FNaF Demake v0.0

  • Characters
  • Basic Movement
  • Some Tiles
  • ...

v0.1

  • side scrolling???

My Discord: AaronsLG#4641

1
0 comments


Cart #gunturtle_cafe-0 | 2023-05-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
24

arrow keys to move, z to jump, x to dash.
you can change direction mid-dash!

a mod of Celeste by Maddy Thorson and Noel Berry:
https://www.lexaloffle.com/bbs/?tid=2145

24
9 comments


Cart #radio_samsa-18 | 2023-05-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3

3
4 comments


Cart #typingwhiledriving2-0 | 2023-06-01 | Code ▽ | Embed ▽ | No License
7

Texting and Driving Simulator!

Arrow Keys- rotate and move the car in forward or reverse
Z and X- use to type messages: unpack your complicated relationship with Buddy and Sarah!

Try and type as many characters as possible while dodging oncoming traffic and hopefully making it back home in one piece!

7
2 comments


Cart #starlightv09-4 | 2023-08-19 | Code ▽ | Embed ▽ | No License
14

Hello!

This is a small, narrative game poem about a young girl who is searching for letters from her mother.

I hope that you connect with the story and have fun exploring it's world.

Credit and gratitude to Nerdy Teachers and Lazy Game Devs. I spent a lot of time with their tutorials and they have helped so much! (I used the code for the Nerdy Teachers platformer tutorial as the starting point for this game.)

I've also been incredibly inspired by playing others games in Splore. It's so awesome that a community like this exists.

Thank you for playing!

anthroacoustic

0.9 UPDATE (8/19/23)

Changes include:

  • Level design changes and animation effects to support environmental storytelling.
  • A 'log' function that allows players to read all the notes they've collected so far.
14
7 comments


When using multiscreen mode, the following function (which should print a scaled text) turned out to render only on the first screen:

function scale_text(str,x,y,c,scale)
    memcpy(0x4300,0x0,0x0200)
    memset(0x0,0,0x0200)

    -- draw to spr mem at 0x0000
    poke(0x5f55,0x00)
    print(str,0,0,7)
    -- draw to screen mem again
    poke(0x5f55,0x60)

    local w,h = #str*4,5
    pal(7,c)
    palt(0,true)
    sspr(0,0,w,h,x,y,w*scale,h*scale)
    pal()

    memcpy(0x0,0x4300,0x0200)
end

Just like normal printing, I expected this to work in multiscreen with the following calling code:

poke(0x5f36,1)
scrs_w, scrs_h = 3,1;
scr_ix = 0;

_camera = camera
function camera(x,y)
  x = x or 0
  y = y or 0
  local dx=flr(scr_ix % scrs_w)
  local dy=flr(scr_ix / scrs_w)
  _camera(x+128*dx, y+128*dy)
end

function _draw()
  scr_ix = stat(3)
  camera(0,0)
  cls(scr_ix+5)

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


Cart #bitukogiro-0 | 2023-05-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1


(Demo made by Marina Makes)

This prototype was made for Pico-View, a monthly web-zine hosted on NerdyTeachers.com.

This month's prototype has been taken over by Marina Makes!
She wants to challenge you all to make a game with the mouse controls and provides a fun prototype and demo to get you started!

Don't forget to share it here on the BBS with the tag "#pico-view" and "#prototype-party" so we can see what you were inspired to create. And keep your eyes out for more in the coming issues of Pico-View!

Read the full issue here:

Pico-View #5 May 2023: https://nerdyteachers.com/PICO-8/Pico-View/?issue=5

1
0 comments


Hi @zep, I found today that >><= and <<>= don't work in 0.2.5g (a regression, as they worked in the past for sure - didn't check which version broke them)

E.g:

a=3
a<<>=5
print(a) -- 3 now
5
2 comments


Cart #forsworn-4 | 2023-06-01 | Code ▽ | Embed ▽ | No License
19

You Move? You Attack!

Fight enemies and steal their moves.

Every step launches an attack. Plan your moves carefully!

How fast can you make it to the end? (My record is 291 194! steps)

Featuring:
> 4 Playable Characters
> 13 Hostile Enemies
> 52 Unique Attacks
> 4 Damage Types
> 3 Environmental Hazards
> 1 Fun Game

Controls:

U/D/L/R: Move and Attack
X: Special Move

(TIP: Each character specializes in a different attack type)

19
6 comments


Hi,

I finished up my asset pack of 'retro' 8x8px repeating tile patterns:
http://8x8.me

Public Domain - free to use.

The P8 code snippets encode the image to font data, or png images are provided to load to the sprite sheet.
There's also some 'magic' to quickly try out a pattern, e.g.

?"⁶rw¹シ⁶.".."▮▮,#ろ4⁸⁸"

Appreciate any feedback; hope it's useful :-)

6
2 comments


Cart #rgbfidgetspinner-0 | 2023-05-28 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Just made my first ever working piece of code, thoughts?

4
1 comment


Cart #robocat-7 | 2023-06-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

7
4 comments


Flappy Cat

Cart #flappycat1337-23 | 2023-05-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


Date: 28.05.2023

Description

This game is a remake of the classic flappy-bird game in pico8. You will get one point for each cat-pole you have crossed. The game is endless but you do loose if you hit any of the poles. No collision at the bottom nor the top of the screen! If the player hit a certain amount of points, the game will get faster! So be aware! If you play on easy mode, the Highscore counter will reset after each death! It’s not a bug it’s a feature:p. On normal mode, the Highscore will stay!

Controls

Use the "❎" button for all interactions!

[ Continue Reading.. ]

5
0 comments


Cart #pet_the_cat_2-2 | 2025-06-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
78

Pet the cat

Pico8's most accurate cat petting simulator just got another small update! Mouse support!
This allows for even more unmatched real cat feel!

Get settled with a kittie that is all yours to enjoy.

features:

  • A wide variety of cute kitties
  • Very acccurate cat behaviour modelled after real life cats
  • A disembodied hand for you to pet the kittie
  • The disembodied hand now comes with mouse support
  • Real cat feel
  • Thanks to mouse support even more real cat feel
  • Nice looking background wallpaper
  • Ultra realistic cat sounds (now includes purring)
  • Lots of scritches
  • Allergen free

[ Continue Reading.. ]

78
27 comments


Horizontal alignment is reset when a line break or tab is inserted in p8scii.

The example below expects the first line to start at the beginning of the first line after a line break.
Also, the tab position seems to reset the shift cursor.

cls()
?"\+jjtest p8scii\ntest p8scii (𝘹ADJUST:j)",0,0
?"\+ljtest p8scii\ntest p8scii (𝘹ADJUST:l)",0,16

?"\-jtest\-j	p8scii (𝘹ADJUST:j)",0,64
?"\-ltest\-l	p8scii (𝘹ADJUST:l)",0,72

Cart #p8scii_nl_adjust_bug-0 | 2023-05-28 | Code ▽ | Embed ▽ | No License
1

1
1 comment




Top    Load More Posts ->