A small health bar demo project.
Usage
You can tweak the values in the draw_lives() function to change the appearance of the health bar. The 'x' and 'y' variables control the x and y of the top left corner of the health bar, the 'off' variable alters the spacing between the hearts and the 'life' variable controls the number of lives, out of the 'max' variable.

Feel free to use this in any project you may be working on!
P8 Syntax Highlighter
An advanced PICO-8 lua syntax highlighter in just 356 tokens! Call highlight(code)
to receive a printable p8scii string. All the colors can be modified by changing their corresponding p8scii color at the top of the script.
Check it out on | Github
Examples:
All examples generated with P8 Syntax Highlighter


If you end up using this, please share it here!
Updates:
- Implemented string delimitting (or however that's spelt) [397 Tokens]


Cobb's Adventure
Help Cobb on his adventure to eat as much food as possible!
This is HEAVILY inspired by Adventure Island, a wonderful game series from the mid-80s, although I am most familiar with the Gameboy adaptations in the early 90s.
Features:
- 8 different environments
- Never play the same game twice! Levels are randomly generated every playthrough
- Easy to learn, hard to master - once you can beat the game, go for 3 stars on your score or times!
I strongly recommend a gamepad for this game. If you are committed to keyboarding, consider pressing "Enter" to open the menu, and set "AutoRun" to "ON" so that you dont need to hold a key to run.




Feature Overview
QSORTZ()
Quick sort by z.
- sorts by reference to z from the argument table.
- See the code in the cart for the single value type
QSORT()
where table t is sorted by v. - This function consumes 76 Token.
tb={{id='a', z=1}, {id='b', z=2}, {id='c', z=1.5}, {id='d', z=-0.5}} ?'before sort',6 for i,v in pairs(tb) do ?v.id..':'..v.z end qsortz(tb,1,#tb) ?'\nafter sort' for i,v in pairs(tb) do ?v.id..':'..v.z end --[[ before sort a:1 b:2 c:1.5 d:-0.5 after sort d:-0.5 a:1 c:1.5 b:2 ]] |
Is experiment on pal and rnd im add in function _init and function _update60
Photo of caracal im use Depict and im open file PICO-8 cartridge and paste in gfx

it contains the main steps of creation for a warhammer fantasy rp character of the fourth edition which is translated to spanish by Devir (i still don't put the step of the talents because i'm fighting with myself whether to put them in this cartridge or put them in a different one). i wanted to translate it to english and make it equal to the spanish version but i realized that i need the cubicle7 version xd because that one has the data of the roll tables different from the spanish version and i don't want anyone to be confused.
I plan to include the gnome and then try to translate it to english but I want it to be very faithful to the english version.
Tower Defense Game for Pico-8.
This game is inspired by the old flash games:
Bubble Tanks Tower Defence.




Description
This is not the usual tower defence game you are used to. Sure, you have to build towers to defend against enemy waves and also earn cash by destroying them to update your towers.
What is special here is that we not only can build defence towers to destroy enemies but also to define the path the enemies can take. Where the enemies have different skills like self-healing or flying over towers. In addition, we have various different maps where some may have blockades, are limited in space or have already predefined fixed paths.
Game Play




I'm working on a farming simulator game. In the _init() function it should randomly generate the pattern on the grass tile and then randomly place the grass tile on the map (replacing any empty tiles.) However, a strange bug is occurring where some map tiles are corrupt. Can somebody explain what's going on? Use arrow keys to move around.


Main Controls: Z - Open Shop/Back | X - Shoot/Confirm | Arrow Keys - Move
Alt Controls: N - Open Shop/Back | M - Shoot/Confirm | ESDF - Move
Welcome to A Cow's Adventure!
This is my first game on Pico-8 and, actually, ever! I made it in 7 days (+ 1 day bug fixing/balancing) and have been learning lua for ~5 days prior so this was a SUPER fun and educational experience!
In this game, traverse different farms as a Cow of your choosing, each class providing different base stats. Shoot your way to victory with careful planning, basic upgrades, and simple vertical movement. Enjoy some great classic arcade vibes thanks to Gruber's Pico-8 Tunes Volume 1 music set! Each Victory rewards you with a unique "Trophy" that will be added to the farm you start in. Each Cow + Difficulty gives a different one, try to collect them all!


