so i didn't know if i was gonna share this or not, but I've spent a bit of time on this version.
Additions
battle system rewrite:
battle system was written a while back and needed to be cleaned up. now it is
battle loading:
battles can now be triggered by the init_btl() function. it is currently being used during NPC interaction and wild encounters, which work but are currently disabled. In addition, NPCs havea new interaction node that triggers a battle. You can try it out by answering "no" to the NPC.
code improvements in loading data:
cleaned up, rewrote, and overall made loading data neater and more token-efficient. a new read() function added to assist in this mission. All parts of the code written as table
Pico 8 Linux Laptop
Intro
The guide below shows how to configure a laptop to automatically boot and launch Pico 8. The laptop will shutdown when the SHUTDOWN
command is issued in Pico 8 console.
Requirements
- Laptop supporting Ubuntu 22.04 Server: x86/64 or arm32/64 (I used the Asus Vivobook Go 12.)
- Disk space required: 4GB (8GB is better)
- Pico 8 License
Install Ubuntu
If Windows is installed use MMC / Disk Management to shrink the Windows partition.
Install Ubuntu 22.04 Server (e.g. USB - press ESC or F2 to enter bios);
After booting the Ubuntu 22.04 Server Installer:
- Select Install Ubuntu Minimal
- If you want to keep Windows, make sure you are not overwriting the partition. Ubuntu will dual-boot if not installed on a full disk.
- During installation, configure the administrative user. You will use this to update Pico8, etc.
Compete in the ultimate tournament of the realm's most powerful mages. Do you have what it takes to rise to the top?
Controls
- Arrow Keys - movement
- (X) set the target in motion, press it again to detonate
- (C) dash
- Enter/P to Pause Menu (Reset Cart to get back to menu)
(Alternative mapping to C is Z and to X is V)
Lich King's Gauntlet is also available on itch.io.
Description
In the Lich King's Gauntlet, you play as a wizard competing in a deadly tournament. Fully utilize your fireball and dash abilities in frantic combat against various types of wizards. Will you survive all the rounds for a chance to fight the Lord Supreme himself?
I'm a bit of a beginner in Pico 8 programming and I wanted to know how to implement a gravity system that doesn't activate the collision function.
(I saw some tutorials on YouTube and I think I will have to change a large part of my code)
Could anyone tell me how to fix this? (ps: typos due to Google Translate)
player code (related only to movement):
[hidden]
--ben 10 ben = { x = 4*8, y = 9*8, hp= 3, spd= 1, dx=0, dy=0, timer=1, oframe=80, sframe=80, eframe=83, atimer=4, d=false, form=0, head=96, } local benwx=1 local benwy=2 local omini=0 gravity=1 --ben sprite function _draw_ben() spr(ben.head,ben.x,ben.y-8,1,1,ben.d) spr(ben.sframe,ben.x,ben.y,1,1,ben.d) end function benupdate() lx=ben.x ly=ben.y ben.dy=gravity --gravity check?? if mget(nil,ben.y+7/8)~=2 then ben.y+=ben.dy end --walk buttons if (btn(0)) then ben.x-=ben.spd _animate() ben.d=true end if (btn(1)) then ben.x+=ben.spd _animate() ben.d=false end if collide() then ben.x=lx ben.y=ly end --trasform button if (btnp(3)) then omini+=1 ben.form=1 _transform() if ben.head~=96 and omini==2 then _untrans() omini=0 end end end --collision function collide() local benwx=ben.x/8 local benwx2=(ben.x+7)/8 local benwy=ben.y/8 local benwy2=(ben.y+7)/8 if fget(mget(benwx,benwy),1) or fget(mget(benwx2,benwy2),1) then return true else return false end end |
For TweetTweet Jam (or Toot Jam) 2024 - CODE MUST FIT IN 500 CHARACTERS! [expertly minified by PANCELOR - tiny version in jam entry] NOTE: This cart isn't minified completely and has sounds/restart for fun.
=== INSTRUCTIONS ===
Shoot the Space Faces as fast as you can!
Get get more points for shooting a space face faster!
Go for record time AND score!
Mouse to aim, mouse button to fire space lasers.
Press Z/X to play again.
WORLD RECORDS SO FAR:
Record Time: 3.8883s, Solitalker.
(Former Record Time: 5.8667s, John Romero.)
Score: 8200, George Broussard. (Tie: Solitalker.)
Bowmen
a silly little game about shooting arrows at murlocs
latest v0.2.0
Basics
Become a bow-wielding hero in this game, battling pesky murlocs to reclaim the land!
Jump around, shooting arrows and setting fire to their tents. Collecting pickups as you go until everything's back to normal, oh and there's a blood moon every now and then...
edit v0.2.0
- aim assisted arrows
- flame shot (get close to fire to shoot fire arrows)
- flamespeakers behaviour revised
- hp regen when moving to a new zone
- removed help and torch lock mechanics
edit v0.1.1
I'm pretty sure this is a bug; I'm on pico8 0.2.6b / linux
You can turn on character wrapping with 0x5f36 / 24374, but it acts unexpectedly when you move the camera:
cls(1) poke(0x5f36,0x80) --turn on character wrapping msg='0123456789abcdefghijklmnopqrstuvwxyz' ?msg,0,0,12 camera(16,0) ?msg,16,12,13 |
Expected behavior: both prints should wrap at the edge of the screen.
Actual behavior:
There's a similar issue with p8scii "\^r" wrapping:
cls(1) msg='\^rf0123456789abcdefghijklmnopqrstuvwxyz' --note p8scii wrap at start ?msg,0,0,13 camera(16,0) ?msg,16,18,14 |
Hey, I just updated my AppleThing to Monterey 12.7.5 and now I cannot run Pico-8 anymore though I have updated Pico-8 just recently and it had no problems or whatsoever until now. Does anybody face similar problems? I have not yet dug deeper in what could be causing failure but I appreciate any kind of help or information.
Thanks in advance and I am looking forward to any response.
Cheers! (:
I've encountered a bug where vectors and f64 userdata doesn't get saved in the pod format.
This code:
local foo = vec(10, 10) print(tostr(foo), 10, 10, 7) print(pod(foo), 10, 20, 7) print(tostr(unpod(pod(foo))), 10, 30, 7) local bar = userdata("f64", 2) bar.x = 10 bar.y = 10 print(tostr(bar), 10, 50, 7) print(pod(bar), 10, 60, 7) print(tostr(unpod(pod(bar))), 10, 70, 7) |
prints:
(10.00000, 10.00000) userdata("f64",2,"") (0.00000, 0.00000) (10.00000, 10.00000) userdata("f64",2,"") (0.00000, 0.00000) |
You can see that pod() doesn't save the values for the userdata.
​Discord for updates - https://discord.com/invite/jRkuQh2nr8
now with better controls and bug fixes!
A demake of World of Goo in Pico-8, a physics puzzler where you build giant towers of goo to reach dusty metal pipes.
A proper modding tutorial will be released soon, it's fairly easy to figure out yourself.
This game uses my complex background editor - https://www.lexaloffle.com/bbs/?tid=142282
- Press Z/RMB to hum and lead goo balls
- Hold X/LMB to pick up and drag goo balls
- Use MOUSE/ARROW KEYS​ to move the cursor
- Press ​W/SHIFT​ to skip a level (I won't judge)
Hello! This is my first time making a game, and I really jumped into the depths with my project!
Dice Battle Dungeon is a dice deck builder, where the goal is to go against stronger and stronger enemies and see how many floors you can go!
It isn't just a game of dice, there are multiple different cards that you can play to turn the tides in your favor. The top row of cards are your personal skills, which are one use per battle, but are replenished during the next battle. The bottom row is your current hand, and these cards, once used, are gone forever. Luckily, the enemy drops loot after battle, and on level up you also find your signature skill. These automatically get added to your hand in empty spots for more fun!
Info
This is my very first pico-8 game. You get to plant Watermelons and harvest them. You can go fishing in the little pond and you can also make Melonade (which is not a real beverage, I made it up ) with the harvested Watermelons. And there is a Fa*t Cat also who's blocking your way out of the Melony forest and force you to bring him fish and Melonades. Your goal is to get out of the forest. I think the game is a bit boring , mini games are very basic and repetitive but I put a lot of time into this game so I'm still proud of it.
Controls
Use (X) to do any action like planting, watering, fishing, picking up seeds, interacting. and (O) to exit from the mini games. That's it.
Variations: The Vienna
Description
16 variations of the Vienna opening played as white. These lines are chosen to be fun, for their attacking chances and dynamic play. They include common mistakes by black and how to punish them as well as how to respond to good play from your opponent. Practicing with this cartridge will give any player a good start to creating big problems for black with the Vienna!
Features
While none of white's moves are dubious, they are not necessarily the top engine recommendations. Because there is no 'right' move, a hint can be requested (see Controls). After completing a variation, the Stockfish evaluation is given. The player then has the options to either repeat the completed variation, move on to the next, or have the computer select a variation at random. The pause menu gives similar options but can be accessed at any time allowing the player to navigate to a specific variation or move to a new, random variation.