Log In  

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

Cart #40868 | 2017-05-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA


Title says it all, I made this as a project for my AP physics class. I'm attempting to simulate realistic two-dimensional kinematics using pico-8.

Please tell me if I've gotten the math wrong anywhere :D

1 comment


Cart #40846 | 2017-05-22 | Code ▽ | Embed ▽ | No License
6

Dig Dig is an infinite driller game. You control a tiny little driller digging for gold and gems and maybe even some cool skulls! Collect fuel canisters along the way to keep the adventure going.

Includes a high score table as well, so get cracking!

Controls:
Arrow Keys - Drill in that direction

6
8 comments


Cart #40832 | 2017-05-21 | Code ▽ | Embed ▽ | No License
23

This is my PICO-1k jam entry. The entire source code is 1024 characters in PICO-8, including the comment at the top. Arrows to fly, button (z on keyboard) to fire.

--top*burn
a=48n=32k=64_={}camera(-k,-k)c=16x=0y=0t=0o=0g=0q,b,r,s,h=sqrt,btn,rnd,spr,sspr::a::l=t%8/4map(0,0,-k,-k,c,c)for j=3,k do
z=j/4h(q(q(z))*c-l,1,k+k,1,-j*n,j,k*4*z,1)end
l=l<1o=max(o-1,0)f=b(4)and o<n
if f then m(r(3))o+=2
if(o>n)o=98
end
i=l and o>n and s(124,-k,-40,4,1)or h(0,56,min(o,n),6,-k,-a),l and t>650or h(a,n,n-t/n,8,n,-a)
i=b(1)p=24m=sfx
if(i and x<c)x+=2 p=c
if(b(0)and-k<x)x-=2 p=c
if(b(2)and y<n)y+=1 p=k
if(b(3)and-n<y)y-=1 p=74
s(86,x+8,a,4,2)
for e in all(_)do e.x+=e.d e.z+=.1 j=e.d<0w=88z=4/e.z
if(e.l==0or e.z>k)del(_,e)
if(e.l)e.l-=1 j=r(2)>1goto e
h(56,k,c,c,e.x*z+24*z,a*z,c*z,c*z,j)w=k
if(f and max(abs(u/z-e.x-21),abs(v/z-e.y-8))<8)e.l=8m(3)g+=.75
::e::h(0,w,56,24,e.x*z,e.y*z,56*z,24*z,j)end
if(r(98)<1)d=sgn(r(2)-1)add(_,{x=r(n)-d*k-c,d=d,y=r(k)-a,z=1})
z=.7u=x*z+13v=y*z-8s(2,u,v)
if(f and l)s(c,u*.9,v*z)s(17,u,y*z-5)z+=.1 s(38,x*z+10,y*z-2,2,1)z+=.1 s(46,x*z+14,y*z+1,2,1)
s(p,x,y,6,3,i)s(240,-30,-41,g,1)flip()t+=1
if(t<999)goto a
::g::s(137+t%2*k,t%192-140,-n,7,1)flip()t+=1
goto g

[ Continue Reading.. ]

23
2 comments


PICO-8 allows 65536 characters, which on one hand is a tight limit for some projects. But, on the other hand, we've seen amazing things from Tweet jam in 140 characters or fewer.

That made me wonder...can a whole PICO-8 game be written in 1024 characters (1k)? There are some impressive JavaScript 1k demos. Let's see what we can do!

Rules:

  1. Entire program source code lists as 1024 characters or fewer inside PICO-8, including comments.
  2. Must be a playable game, not just an animation.
  3. No limits on music, sprites, or map, since they don't count toward PICO-8's character limit.
1
1 comment



A small thingy inspired by Earthbound Beginnings.
Highly WIP.
Uses my new technique for big maps in Pico-8.

2
1 comment



I was exploring a way to manage double-acting press button.
In hope this helps.
Have a nice day :-)

0 comments


Hi,
Will PICO-8 ever be available for Android?
It will become portable!
I know, there's a device called PocketChip but I don't want to shell out 69 bucks for that.

2 comments


Hi all.

A newbie question!

I am using the PGET command to read the value of a pixel as you move a point around the screen.

The code I have written seems to work fine in the X axis, but the y-axis is offset for some reason.

If you move the point over the yellow square from left to right, the PGET command successfully reads the pixel colour value.

If you move the point over the yellow square from top to bottom, the PGET command is offset by approx 6 pixels.

Strange.

Am I missing something?

Any advice would be very much appreciated.

Many thanks

Paul :-)

PS:

Code pasted below.

x={}
y={}
x=50
y=50
cls()

function _update()
if btn(1) then x=x+1 end
if btn(0) then x=x-1 end
if btn(3) then y=y+1 end
if btn(2) then y=y-1 end
a=pget(x,y)
end

function _draw()
rectfill (0,0,124,124,0)
rectfill (50,50,70,70,10)
pset(x,y,7)
print(a)
end

2 comments


Cart #40777 | 2017-05-20 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
224


feed the ducks

224
61 comments



Press C or V on Keyboard to get out of the cart
to get in the cart jump into it :)

Feel Free to re-mix

0 comments


Hello, Picos.

I am trying to integrate an HTML5 API into an exported HTML5 PICO-8.
My current solution plan is to find the code which checks the function name.
If the function name checking (example the function name is "foo"), then it will trigger the API function.
Unfortunaltey, I still couldn't find that code so far.
I also have checked the _emscripten_set_main_loop, but couldn't find something that direct me to that code yet.

I also have learned that the code for the cart is in var _cartdat at line 71 (I used Notepad++) (compressed).
The other is that gfx on line 4 and map on line 36.

So, can anyone guide and help me to find it?
Thank you very much.

1 comment


I'm considering making a jrpg in Pico 8 at some point. Yes, I know it is a very tired genre. However I really don't mind, I still love it.

One thing I was wondering was how to make an overworld that's larger than the 128x64 cels in the built in map memory.

My current idea is to represent the overworld in terms of geometry instead of in terms of a grid, rendering the tiles manually (or temporarily filling a portion of the map cel memory). So I'd have like, a mountain range defined as a rectangle, and then I'd overlay rectangles to give them a shape, and have some logic for arranging the tiles around the edges to look correct, etc.

Then individual tiny dungeons perhaps would just be hard coded in the map cels. Not sure.

I have seen several adventure type games in Pico 8, but...are there any that are trying to give the appearance of being "vast?"

I am really interested in the idea of packing a lot of engaging gameplay into a tiny space like this.

7 comments


Cart #40758 | 2017-05-19 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
14

A pico-8 version of the ocean loader theme 3

original by peter clarke
https://www.youtube.com/watch?v=Zx8T3lOPAfw&t

visualizer by kittenm4aster. I put some scrolling credits on the top just because i thought it would look kinda cool.

Just a little thing i made to spend the evening. Feel free to use in your projects but do give credit :D

14
4 comments


Here's a tool I did program to investigate the Hardware State Region, It displays all the 64 bytes in the hardware state, you can see whenever you re-run the tool the same data until you reboot. (try also to reset the cart in the browser, it will still show the same data)


After reverse engineering I found that the addresses 0x5F40 -> 0x5F43 does something specials which is music corrupting as shown in this topic: https://www.lexaloffle.com/bbs/?tid=3561
And addresses 0x5F44 -> 0x5F7F are not used at all, and can be used to keep data between cart resets or cart changing, but clears on reboot.

I'm not sure if they are used in the other platforms like rpi or chip, nor if they will be used in future updates.

7
1 comment


Cart #40736 | 2017-05-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
176

alien breed demake
by @gabrielcrowe

[ warning: main power low ]
[ unable to send message ]
[ transponder offline ]
[ command// re-route,
[ secondary power ]
[ transponder online ]
[ message begin// ]

i've managed to get some
power to my transponder in
order to send this message
to anybody who is listening.

i am a soldier in the
interstellar marine corps.
my ship, the imc durham was
overrun by something we
picked up on ix538. some
wicked fast alien creatures
with big teeth and ferocious
appetites. these things came
bursting out of the the decks
where they had been hiding
below. they moved quick
and bit hard. everybody was
butchered, we had to scuttle
the ship.

i was sorry to see her go.

i made it to a shuttle and
got away. as i was leaving i
detected a distress signal.
i'll attach it to this
message.

[attachment]
\dstrs_sgnlrelay#6527
"anybody out there? this is
the mining ship callisto.
we have an alien on board.
its murdered half the crew
and we are barricaded in
the engine room. they are
smart. very smart. they
have set the ship on
course for earth. somebody
needs to blow us out of
the sky. if these things
get to earth then it's all
over for the human race."
//transmission_end
[/attachment]

[ Continue Reading.. ]

176
16 comments


Cart #40723 | 2017-05-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

A game I made t o learn pico-8

0 comments


Cart #40925 | 2017-05-24 | Code ▽ | Embed ▽ | No License
13

Hi guys, I collected some of my tweetcarts and put them all into a single cartridge. They were all within the 140 characters limit at the time of posting on twitter. I took two liberties: I renamed the labels in them from ::_:: to ::_1::, ::_2::, etc. so that they would be unique, and I added a btnp(5) test to each of their main cycle. I am sure there is a way how to do it more efficiently but it should be OK for now :)

2017-05-22: Added one more
2017-05-24: And one more. Now there are 10 of those :-)

13
3 comments


Cart #42162 | 2017-07-03 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Cart #40709 | 2017-05-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

1
4 comments


Cart #40704 | 2017-05-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

I've been working on this to learn Lua and experiment with what I was able to do with Pico-8 in a brief amount of time. I used "Die you punkters" as a base for motion and generation, and I was able to get my sonar clipping working, making for a very disorienting top down adventure.

0 comments


Cart #40700 | 2017-05-17 | Embed ▽ | License: CC4-BY-NC-SA

0 comments




Top    Load More Posts ->