Log In  
Follow
CoffeeBat

A fella that does stuff and uh, yeah

[ :: Read More :: ]

Heya! So, the new one-off character feature added in 0.2.4 inspired me to write a drawing tool that exported to compatible strings in the smallest size I could, as of now, the code itself is only 520 characters!
(Minor warning: clipboard saving seems to be incorrect through the html export, I recommend copying the code and running it locally)

Cart #bitdraw-3 | 2021-12-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

h=32s=stat::_::?"⁶t⁶wbitdraw!",34,8
a=8+(s(h)/8)-4b=(s(33)/8)-4j=ord?"\^.¹³⁷ᶠ゜?⁷⁸",s(h),s(33),0
?"⁶1⁶cd⁶!5f2d¹",7
rect(h,h,96,96)sspr(8,0,8,8,h,h,64,64)if(s(34)&1!=0)sset(a,b,7)
if(s(34)&2!=0)sset(a,b,0)
if btnp(❎)then
d=""for y=0,7do
k=0for x=8,15do
k|=(sget(x,y)&1)<<x-8end
d..=chr(k)end
o=""for i=1,#d do
c=sub(d,i,i)f=j(d,i+1)g=(f and f>=48and f<=57)and"00"or""v=c
if(c=="\"")v="\\\""
if(c=="\\")v="\\\\"
if(j(c)==0)v="\\"..g.."0"
if(j(c)==10)v="\\n"
if(j(c)==13)v="\\r"
o..=v
end
printh(o,"@clip")?"⁷ceg"
end
goto _

Controls:

  • Left Click: Draws inside the white rectangle
  • Right Click: Erases pixels in the rectangle
  • ❎: Copies your drawing to the clipboard alongside making a small noise to notify you

To then use your drawing, you need to use the \^. control code followed by your string:

print("\^.~▒しし▒し▥~") -- Prints a smiley block
?"\^.~▒しし▒し▥~" -- Short-hand version

Feel free to elaborate on this tool or minify the code even further!

P#101562 2021-12-05 19:28 ( Edited 2021-12-05 19:51)

[ :: Read More :: ]

Hi, so with the new Pico-8 update (0.2.4) I've been messing around with some of the new features and specially P8SCII, as of now I found something pretty weird, the new one-off character control code (\^.) seems to use the same control code as dotty mode used to, I noticed this when I ran the Impossible Mission cart, which has a corrupted title now due to Pico-8 treating most of the string as 1-bit character data.

Cart #impossible-1 | 2021-03-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
137

I don't know if this is was done on purpose since it's still mentioned in the manual ALONGSIDE the new one off character control code, maybe Zep forgot it was already in use or he changed it to another control code without adding it to the manual? If this has been documented before or I'm doing something wrong please tell me.

P#101554 2021-12-05 17:52 ( Edited 2021-12-05 17:53)

[ :: Read More :: ]

Cart #warpspr-2 | 2021-04-13 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6


Hi! I decided to try out recreating a effect used a lot during the snes-genesis era, a warping sprite effect, it uses a little bit more cpu than what sspr would use and it doesn't support flipping vertically due to how the code warps the sprite, it comes in both spr and sspr flavors for people who are used to either of them, enjoy!

Also big thanks to Merwok and FReDs72 for giving me feedback and tips on how to make the function faster

P#90472 2021-04-13 15:35 ( Edited 2021-04-13 15:55)

[ :: Read More :: ]

Hi, I'm trying to write a game in a very clean way instead of cramming multiple copies of the same code on multiple carts, most of this is solved with #include but for what I've tried, you can't do include from subfolders, what I mean is that for example, if I have a cart on a subfolder called "font" but wanna include functions from a cart located on the parent folder, something like
#include ../cart_with_functions.p8

won't work, is this even possible to do with include or am I just out of luck?

P#89642 2021-03-27 00:22

[ :: Read More :: ]

Cart #cheatcodes_cb-2 | 2021-03-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


Hi! I wrote this little cheat code function and decided to share it here if anyone wants to put cheat codes on their games, here's how it works:

paste all code labeled as requiered onto your cart, this includes:

  • chsys={}
  • all code on the _update function
  • the add_chsys function

then, to call a cheat code, write it down on a table like this:
konami_code={⬆️,⬆️,⬇️,⬇️,⬅️,➡️,⬅️,➡️}

and then call the add_chsys function once (if you call it on an update function/every frame you'll chug the system):
add_chsys(name_of_your_cheatcode_table,function_to_load_if_it_succeeds)

So for example if I wanted to make the game stop when the Konami code was detected then I'd put this on my _init function (or any function that only acts once):
add_chsys(konami_code,stop)

Hope ya enjoy!

P#89350 2021-03-22 13:52

[ :: Read More :: ]

Cart #voodocb-0 | 2021-03-01 | Code ▽ | Embed ▽ | No License
13


Trapped in Ms smith's home, you, Mr. Voo, have to escape the trap filled house with as less life as possible

This game was made for the Wowie Jam 3 with the help of many friends!

Stuff:

Credits/Special thanks:
-Most of the game and artwork by myself, Coffeebat
-Amazing ingame music by Blameitontherobot
-Poggers logo by Sinclair

P#88346 2021-03-01 01:47 ( Edited 2021-03-01 01:48)

[ :: Read More :: ]

Cart #hell_cat_cb-0 | 2021-02-26 | Code ▽ | Embed ▽ | No License
4


A small game I made as a way to spend time while the Wowie jam started, Hell Cat is a game where you protect a lil kitty from being burned by the evil habitants of hell!

P#88179 2021-02-26 00:28

[ :: Read More :: ]

Cart #jetpico8-0 | 2021-02-20 | Code ▽ | Embed ▽ | No License
21


A carefully crafted Pico-8 demake of Rareware's ZX Spectrum classic, lost in space and with only your blaster to protect yourself, you must collect all pieces of your spaceship, fuel it up and escape as soon as possible

Credits/Special thanks:

-Main game and most music/graphics by myself, Coffee Bat
-In-game song 3 by the outstanding Blameitontherobot
-Original game by the amazing Ultimate/Rare
-A couple of ideas and the main inspiration to make this game thanks to Asobitech and their amazing Super Jetpak DX

P#87931 2021-02-20 15:51 ( Edited 2021-02-20 15:52)

[ :: Read More :: ]

Cart #robocopzx-0 | 2021-02-01 | Code ▽ | Embed ▽ | No License
9

Made this cover of one of my favorite songs ever, the robocop game theme by Johnathan Dunn (You may also know it as the ariston commercial song or from Gilbert 3), pretty happy with how it came out

P#87081 2021-02-01 17:20 ( Edited 2021-02-01 17:22)

[ :: Read More :: ]

Cart #pizdelivery-1 | 2021-01-23 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7


What started as a school project built entirely on a knockoff of an already terrible engine, Pizza Delivery Demastered is the reimagining of that very game. Play as Stanley (Definetly not the guardian from Petscop) and explore the unique 7 levels this game has to offer. Collect pizza, shoot pizza, kill foes. Deliver that pizza!
Cart #pizdelivery-2 | 2021-01-31 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
7

P#86721 2021-01-23 18:07 ( Edited 2021-01-31 22:53)

[ :: Read More :: ]

Heya uh, just bought a Pico-8 license over on itch a few hours ago and I've been trying to get it to run on my Raspberry Pi 3 b, followed a tutorial on getting it to work on a fresh install of Raspbian and it works great, the problem now is that I wanna use my C64 mini joystick (Which is pretty much THE perfect controller for the system, two buttons, joystick and plenty extra buttons for settings), I got it to work on linux by making a configuration for it with the SDL2 Gamepad Tool and putting that on the sdl controllers file in configs, but making the same in my Rpi did uh, nothing, if anyone can help out with this it'd be amazing, thanks.

P#86406 2021-01-12 22:06

Follow Lexaloffle:          
Generated 2024-03-29 04:44:25 | 0.081s | Q:50