Log In  

BBS > Community Superblog
All | Following | GIFs | Off-site

Is there a way to determine rendered text height, knowing that said text may contain the tall rendering mode option ? I could search for the presence of "\^t" if I can find a way to express the escaped version of that.

-- always prints 6
local text = "\^thello"
local h = 6
if sub(text,1,3) == "\^t" then h = 12 end
print(h)
7 comments


Hello,

I don't know if this is the correct category for this post type, and I'm sorry if I got it wrong.

I'm new to your community.
And I'm already experiencing a thorny problem before I've even had a chance to install pico-8.

Indeed, I'm running macOS 13.6.4 (Ventura), and I do my security updates regularly. As I prefer to trust XProtect sparingly, I've also installed a tool (CleanMyMac) that scans everything that comes in.

However, after purchasing a pico-8 license, I went to the download page I was offered and was unpleasantly surprised to be warned that a malware named AtomicStealer had just been detected on the pico-8_0.2.5g_osx.zip archive I had just downloaded (the one offered by default).

I tried downloading other versions (older ones and even the latest 0.2.6) but got the same alert (see screenshot below).

Going all the way back to version 0.2.4c, this one seems clean.

Has anyone encountered the same problem and notified the archive author?
Is there any other way of obtaining the latest stable, threat-free version?

[ Continue Reading.. ]

1
2 comments


Cart #tusemozofe-0 | 2024-02-08 | Code ▽ | Embed ▽ | No License
1

My first pico 8 program! :D

1
1 comment


Mujilseo

My first game for the Pico-8.

Cart #mujilseo-0 | 2024-02-08 | Code ▽ | Embed ▽ | No License
5

I thought I'd like to create a player character that does not have clearly defined boundaries. The player is made up of multiple objects. They can change polarity to be attracted by, or repelled by, blocks and enemy objects within the game.

5
0 comments


Cart #wfcroads-0 | 2024-02-07 | Code ▽ | Embed ▽ | No License
3

A test with wave function collapse with road tiles.
tried a different approach than backtracking, to ensure no contradictions:
after every collapse, the options of the neighbouring tiles are checked for updates. If they are updated then their neigbours are checked as well. (If the tile set is very "interconnected", this does not trigger wave through the entire board.) If there are no more cells to check and non reported it would have zero options, a commit of the collapse and updates is done. If not, a rollback is done and the chosen tile is removed from the options of the cell.

3
0 comments


Just a little cover of "Hello World" by Louie Zong

Cart #helloworldmusic-0 | 2024-02-07 | Code ▽ | Embed ▽ | No License
12

12
1 comment


Cart #threed_game_v1_3-1 | 2024-02-17 | Code ▽ | Embed ▽ | No License
8

common mode[
press ⬅️ to turn left
press ➡️ to turn right
press ⬆️ to go forward
press ⬇️ to go backward
]

mouse mode[
press s to turn left
press f to turn right
press e to go forward
press d to go backward
]
press 🅾️/z to jump/jetpack(ps:jetpack enable in code)
press ❎/x to use mouse(ps:only work in splore,because i use the stat(38) which representes the Relative x movement )
(ps:if you want to change the rotate speed ,you can change tha variable of rotate_spd)

--v1.2 updated
--add textured wall

--v1.3 updated
--add eveing mode
--fixed the textured wall bug

if you encounter any problem,please leave a comment.Thanks a lot.
--problem
--i encounter a problem:when the player is still,the textured wall still changes on the screen.so i am looking forward to solving the problem.

8
3 comments


Cart #ttsim-4 | 2024-05-24 | Code ▽ | Embed ▽ | No License
7

i made a virtual tabletop thing
https://squibble08.itch.io/ttsim is the game's itch page

current version - 5.0.1

7
2 comments


Cart #mot_rendertest-0 | 2024-02-07 | Code ▽ | Embed ▽ | No License
4

A little experiment with rendering directly from Pico-8 RAM using "peek".
Trying to use as few tokens as possible.

4
1 comment


hello world.
I think I'm missing something in the custom function realm when it comes to using variables as arguments. I'm trying to pass in a variable that defines one of 6 beams to a function so I can use it for all of the beams but it does not seem to be working and I think I'm trying to do something that might not be allowed in Pico-8. For example I have a custom function to light up this beam and it works great:

..but I need to reuse this to do something similar for 5 more of these beams. I'd like to create a reusable function around the following as I am repeating code:

function beam_2()
if mg(35) and p.x<500
then
pal(5,7)
spr(35,384,328) sfx(0)
b2_charge=true
else b2_charge=false pal()
end
if b2_go==true then
pal(5,7)
spr(35,384,328)
pal()
end
end

I thought I could get away with using something like the below bm_chg function in place of the beam_2 function but it does not seem to be passing the b2_charge variable when I input it for chg_var.

[ Continue Reading.. ]

1
3 comments


hi...
i FINALLY got pico 8 and i put it on my raspberry pi running retropie and i used the tutorial https://nerdyteachers.com/PICO-8/Hardware/?tutorial=69
everything worked, except, the mouse didn't show, there is like no mouse, and i can really use pico 8 without a mouse
pls somebody help

1
1 comment


Cart #rabbits_first_game-0 | 2024-02-06 | Code ▽ | Embed ▽ | No License
2


This is the first game made by rabbit, my german friend.

2
1 comment


Imagine this folder structure

├── libs
│   ├── b.p8
│   └── c.p8
└── main.p8

If main.p8 calls ./libs/b.p8 which in turns wants to call c.p8, it has to use use the relative path from the main cart, i.e. ./libs/c.p8 even if b.p8 and c.p8 is in the same folder.

Usually programming languages have relative paths starting from the file that is doing the import. Could we get the same behaviour for pico-8 please?

Right now most multi-cart games have everything in single dir which makes things looking pretty messy, and if I want to have a multi cart game on my rgb30 where I hide the extra files in .hidden I have to edit all files making load calls to make things work which is not optimal.

Here is full code to replicate (files created with vs code, hence the extra stuff at the top):

What works:

Filename: main-absolute.p8

pico-8 cartridge // http://www.pico-8.com
version 41
__lua__

print("In main-absolute.p8")
load("libs/sub-load-with-absolute-path.p8")

Filename: libs/sub-load-with-absolute-path.p8

pico-8 cartridge // http://www.pico-8.com
version 41
__lua__

print("In sub-load-with-absolute-path.p8")
load("libs/final-destination.p8")

Filename: libs/final-destination.p8

pico-8 cartridge // http://www.pico-8.com
version 41
__lua__

print("In final-destination.p8")

What I would like to work

Filename: main-relative.p8

pico-8 cartridge // http://www.pico-8.com
version 41
__lua__

print("In main-relative.p8")
load("libs/sub-load-with-relative-path.p8")

Filename: libs/sub-load-with-relative-path.p8

pico-8 cartridge // http://www.pico-8.com
version 41
__lua__

print("In sub-load-with-relative-path.p8")
load("final-destination.p8")

Note the missing libs/ in the load 👆

Filename: libs/final-destination.p8

pico-8 cartridge // http://www.pico-8.com
version 41
__lua__

print("In final-destination.p8")

Ive yet to see any multi cart games using any type of folder structure, so in theory should be safe to implement.

Thoughts?

1
1 comment


Cart #ycshmupi2024-1 | 2024-02-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
8

SHMUPI2024

A shoot 'em up game by Yehiel Certner

About

This small game was made while going over the Lazy Dev Academy tutorial for building SHMUPS in the fantasy console Pico-8!
i highly recommend any aspiring developers and game maker hobbyist to go to their you tube channel and try their tutorials!
Lazy Devs Academy

Controls

Use the Up-Down-Left-Right arrows on the keyboard or the joystick to control the ship,
Use the button 1 to shoot Use the button 2 to explode a bomb
(Note! your pickups will be erased)

Rules

[ Continue Reading.. ]

8
2 comments


Cart #one_last_swing-1 | 2024-05-23 | Code ▽ | Embed ▽ | No License
22

One Last Swing

This project is my entry for the Samurai Game Jam 2024 with subtheme: Luck! 🍀
Story:

Patrolling the border you get a message about enemy groups flooding your territory. Now it is up to you to make it back home and ensure the safety of your family!

Controls:

Use X to unsheathe your sword before the clash. If you do not have it out, you will automatically lose. Use ⬇️⬆️ to move your sword between the 3 stances of: High, Mid and Low.

The enemy will attack after a certain time has elapsed, just after they step back! Take that moment to adjust your stance to achieve victory!

Gameplay:

Beat 10 levels to make it back home, and if you feel like it, push your luck further into the endless challenge.

One Last Swing is a Rock-Paper-Scissor like dueling game, where you need to choose the correct stand to overcome your opponents, to regain your honor and to make it back home.

High stance beats middle, middle stance beats low and low stance beats high!

High > Mid > Low > High

[ Continue Reading.. ]

22
4 comments


Cart #rockpaperscissors-0 | 2024-02-05 | Code ▽ | Embed ▽ | No License
4


This is a simple rock paper scissors simulation inspired by this video and others. When units encounter each other, the winning type "spreads" to the losing unit. Use the X or O buttons to restart.

4
1 comment


Cart #bers8-1 | 2024-02-08 | Code ▽ | Embed ▽ | No License
11

About the Game

"Berserk" is a strategic fantasy collectible card game where two players assume the roles of commanders, leading squads of fantastical creatures into battle. During the game, you will maneuver across the battlefield and play tactical combinations to defeat your opponent. The player who destroys all of the opponent's creatures wins.

This collectible card game is loosely based on the world-renowned Magic: the Gathering, but unlike other direct clones, it is based on completely different approaches to the gameplay field and strategic planning. Mechanically, it's something of a cross between chess and battles from Heroes of Might and Magic.

This implementation introduces the so-called "Three Heroes" learning set, which consists of two squads of 9 units each. In the full game, each player has a deck of 30 cards, 15 of which are dealt at the beginning of the match, and the player must assemble a squad according to certain rules. Drafts and sealed tournaments are also possible, similar to MtG.

[ Continue Reading.. ]

11
1 comment


I want to buy pico 8 and tried using amazon pay, there is no option for amazon gift cards and that's literally all I have XD, how do I use amazon gift cards to buy it?

1
3 comments


Cart #cubancakewalk_brymn-0 | 2024-02-05 | Code ▽ | Embed ▽ | No License
6

This cart, which uses one of @bikibird's visualizers provided courtesy of the PICO-8 Free Music Jam (in a beta version, as a co-organizer we helped with testing), contains an arrangement of the music of someone we'd never heard of: James Timothy Brymn's "Cuban Cake Walk".

And that's a shame, because (a) Lieutenant James Tim Brymn was apparently an absolutely legendary Black American arranger, composer, and bandleader, one of the people who helped give birth to jazz as we know it today, and (b) while we didn't manage to include the entire composition in this, "Cuban Cake Walk" is a delightful piece of music with a really fun bouncy groove. And if we hadn't clicked on the IMSLP website on a day when it was being featured, we'd know none of this.

[ Continue Reading.. ]

6
1 comment


Hey, I tried to add my YouTube channel in my user settings on this website, but each time I click on a field I get an error:

Error // Bad Data Format: <!DOCTYPE html>
...

then the field is replaced with [error]

The same occurs when checking Cart Listings: Make Favourites Public / Make Likes Public

4
3 comments




Top    Load More Posts ->