Log In  
BBS > Lexaloffle Community Superblog
This is a combined feed of all Lexaloffle user blogs. For Lexaloffle-related news, see @zep's blog.

All | Following | PICO-8 | Voxatron | General

I've been trying to use the new (although not that new now) #include command but I can't seem to get it working.

Code on pico-8 cart

#include testfile.lua


Code on testfile.lua

function test()

When I run I get the error:

testfile.lua line 3
syntax error line 1 (tab 0)
syntax error near `test`
P#69921 2019-11-15 12:25 ( Edited 2019-11-15 12:26)

[Under spam review]

P#69920 2019-11-15 11:54

[Under spam review]

P#69919 2019-11-15 10:18

[Under spam review]

P#69918 2019-11-15 10:01

Cart [#underball-0#] | Code | 2019-11-14 | License: CC4-BY-NC-SA | Embed

A game I made for a final project in a Game Development course!

P#69906 2019-11-15 07:23

Cart [#ix_desertmyths-0#] | Code | 2019-11-15 | License: CC4-BY-NC-SA | Embed


Menu: Z to start game.

Game: UP/DOWN to move the bus

Another rapidly-completed dodging game, this time for the Desert Bus Game Jam! Keep that bus away from the weird mythical creatures!

Excited to finally finish something for this jam after several years wanting to.

itch.io page: here.

#onegameamonth November 2019

P#69912 2019-11-15 00:45 ( Edited 2019-11-15 01:12)

Cart [#yunoyetosu-0#] | Code | 2019-11-15 | No License | Embed
Cart [#yunoyetosu-0#] | Code | 2019-11-15 | No License | Embed

P#69910 2019-11-15 00:24

Cart [#funklost-4#] | Code | 2019-11-15 | License: CC4-BY-NC-SA | Embed

Welcome to Funklost aka Communityleste

This started out as a mod by my friend Cupps and I but after a long hiatus we decided to revive it as a community project by the CELESTE Classic community (mostly speedrunners but we got some modders too).
I'd just like to list out the names of everyone who took part in this mod:

Dankus (Myself)
Noel (The co-dev of the original game)
and of course, our boy Funky Kong (The protagonist :) )

We hope you enjoy this mod. Next up is Celeste in CELESTE Classic I guess :P
(Y'all should read line 8 in the code)

Edit: Just gonna plug the speedrun leaderboards (https://www.speedrun.com/celestep8mods/full_game#Funklost) and our discord (discord.gg/celesteclassic)

P#69907 2019-11-14 22:51 ( Edited 2019-11-15 02:24)

Cart [#brickout-0#] | Code | 2019-11-14 | License: CC4-BY-NC-SA | Embed

Yay! Another breakout game! This is my final project for my Video Game Development class. It's nothing that will blow your mind, but keep in mind I had ZERO programming knowledge before this class. Enjoy!

P#69908 2019-11-14 22:49

Cart [#dancejab-0#] | Code | 2019-11-14 | License: CC4-BY-NC-SA | Embed

This fighting game has only one attack - JAB!
Shuffle and dash till the timing is right to - JAB!
Or footsie to bait your opponent then - JAB!
Hold centre stage. Don't fall off. Dance. JAB!

Inspired by Super Smash Bros. and Divekick.

Two players can share a keyboard. For player 1 the arrow keys move, N dashes and M jabs. For player two, ESDF moves, tab dashes and Q jabs.

Also available on itch.io here:

Thanks to those who playtested and supported us!

Thanks to TRASEVOL_DOG for the sprite compression code found here: https://www.lexaloffle.com/bbs/?pid=40008 . You can check out his projects here: https://trasevol-dog.itch.io/

Thanks to Zep for making the Pico-8 and for the background code we adapted from here: https://twitter.com/lexaloffle/status/1149043190218891264

Code on GitHub here:

Made with love by
Davbo and Rory~

P#69899 2019-11-14 20:36 ( Edited 2019-11-14 21:03)

Cart [#zorahiwume-0#] | Code | 2019-11-14 | License: CC4-BY-NC-SA | Embed

P#69893 2019-11-14 15:40

Cart [#mot_dodgeballs-1#] | Code | 2019-11-14 | License: CC4-BY-NC-SA | Embed

A little <560 chars game.
Press left/right to dodge between the white balls.

Vaguely inspired by "Beam rider", so there's actually 5 lanes to jump between. I ran out of chars before I could draw the lanes though :)

P#69892 2019-11-14 10:06 ( Edited 2019-11-14 10:14)

Cart [#demo_final-0#] | Code | 2019-11-14 | No License | Embed

Hello! This is my very first cartridge that I made today after recently purchasing Pico 8. I look forward to what games I will be able to program.


Keypad - Moves Up, Down, Left and Right
Z - Plays Sound 1
X - Plays Sound 2

P#69891 2019-11-14 04:47 ( Edited 2019-11-14 04:50)

Cart [#golgyeog_demo_1-0#] | Code | 2019-11-13 | No License | Embed

Introducing GOLGYEOG, my newest and hopefully most likely to be finished project! Move and aim with the arrow keys, jump with Z, and fire with X to vanquish an endless horde of demon skulls peacefully minding their own business.

I'm looking for feedback on how the game feels to play in the moment, as well as how this current gameplay can be adapted to a more permanent progression system.

FYI, there are no unlocks yet, so don't even try.

P#69882 2019-11-13 19:37

Cart [#tempres-0#] | Code | 2019-11-12 | No License | Embed

controls: press x

a demake of tempres by tak, the best puzzle game of all time.

source code in 257 characters.

P#69861 2019-11-12 22:40 ( Edited 2019-11-12 22:41)

Cart [#block_breaker_arcade-1#] | Code | 2019-11-12 | License: CC4-BY-NC-SA | Embed

P#69855 2019-11-12 21:11

by dw817
Cart [#hg-6#] | Code | 2019-11-12 | No License | Embed

Hold (O) to see the cycle of life.
TO LOAD THIS CART in immediate mode type:

load #hg

While the cart I'm working on now (and have been for several days) is quite a bit bigger than 560-bytes (hundreds of lines), seeing Conway's life program reiterated reminded me of my Father.

For years ago he wrote a program in Turbo Pascal he called the "Cycle Of Life."

In it, he had 3-different colored pixels randomly appearing on the screen in a 640x480 screen.

He told me that one pixel chases the other and the last chases the first. I really didn't understand him so he explained it to me.

Red chases yellow.
Yellow chases green.
Green chases red.

I thought about it for a-while and thought that was a pretty nifty thing. He later went on to make a very complex program he simply called, "LIFE." where there were gray dots all moving on the screen. If one got boxed in though he would turn red and start killing the gray.

If enough people saw red dots (bodies), they would take it upon themselves to become a policeman (turning blue), and running into the killer would apprehend him. (turning him into a white pixel), imprisonment my Dad said. Where he could not move from that spot but could still be seen by other citizens.

Then if they moved for a long time without finding any killers (red dots), they would revert back to gray (citizen) and the life program would continue, although the prisoner would remain.

At the time I thought it was a very complex thing and really beyond what I could code.

But I did understand the earlier program he wrote where 3-colors chased each other.

Thinking to the chess game, the foxes and the geese, I thought it would be interesting to change it from colored dots to actual pictures. Where red was the fox, yellow was not geese but rabbits as I liked drawing rabbit icons back then (S1), and the green was the grass.

So the new cycle of life was:
Foxes eat rabbits.
Rabbits eat grass.
Grass eats foxes.

When I wrote this back in QBasic so many years ago, someone questioned how the grass could eat the foxes. A valid question !

I told them that the foxes were carnivorous and grass means no meat, so they die out if it encroached on their territory. Ah, a good enough answer for the time I thought. :D

And thus is what you have here, tweetable, meaning it is 560-characters or less.

I think it demonstrates an interesting idea that is quite a bit different than "Conway's" game of life.

It also includes the sprites for the grass, foxes, and rabbits, as part of the source-code so it runs right out of the box ! I call it, "The Hunting Grounds."

Here is the source-code, exactly at 560-chars.

-- hunting grounds
-- written by dw817 (11-12-19)
for i=0,167 do sset(i%24+8,i/24,"0x"..sub(s,i+1,i+1))end
for i=0,224 do mset(i%15,i/15,r(3)+1)end
if m(h,v)==e[w]then n(h,v,w)end
c=(c+1)%32if c==31 then cls()map(0,0,4,4,15,15)repeat flip()until btn(4)end until z

Hold down the (O) key and watch the CYCLE OF LIFE ...

VVhat's going on ?

Random foxes, rabbits, and grass are drawn first on the playfield.

A random position is chosen.

A random direction is chosen. One of up, down, left, or right.

If that random spot can "eat" in that single direction chosen, it will convert that food to the same identity as itself thereby "spawning."

Then the cycle is repeated.


  • The foxes will win if the rabbits eat all the grass.
    [Predator] Foxes
    [Food] Rabbits


  • The rabbits will win if the grass manages to push out all the foxes.
    [Predator] Rabbits
    [Food] Grass


  • The grass will win if the foxes eat all the rabbits.
    [Predator] Grass
    [Food] Foxes (They encroach on their area and drive them out).

And WHO WILL WIN ? Will it be the foxes, the rabbits, or the grass ?
It is entirely possible for one to fill the field entirely.

P#69852 2019-11-12 20:31 ( Edited 2019-11-13 02:05)

tossed together in about an hour
made for tweet tweet jam 3
have fun and remember to play safe

Cart [#crescent-1#] | Code | 2019-11-12 | License: CC4-BY-NC-SA | Embed

older version with exploits
Cart [#crescent-0#] | Code | 2019-11-12 | License: CC4-BY-NC-SA | Embed

P#69837 2019-11-12 00:54 ( Edited 2019-11-12 13:15)

Hey everyone! In case you haven't heard, we're holding the third TweetTweetJam over on itch, and it started today. Make a game in 560 characters or less, without using sprites!

Itch - TweetTweetJam 3

There's already a ton of participation, and it's always a very fun time, so I hope to see some of you come out! If you make anything, make sure to drop a gif on Twitter and tag it #TweetTweetJam so everybody can see your work. :)

P#69832 2019-11-11 23:55

The layout of the clickable buttons (fullscreen, control help, mute, etc.) on the side in the 0.1.12c version of HTML exports appears to have broken in Google Chrome all of the sudden. All of the buttons now appear stacked on top of each other :\


The layout still works in Firefox. I guess Chrome recently changed their interpretation of CSS rules in a way that broke this?

P#69825 2019-11-11 22:13 ( Edited 2019-11-11 22:14)
View Older Posts
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-11-15 18:07 | 0.117s | 4194k | Q:192