Log In  

BBS > Superblog
Posts: All | Following    GIFs: All | Postcarts    Off-site: Accounts

?"\*0abc" 
-- expected: bc 
-- actual: abc

Perhaps this isn't a bug, but it could make a padding function a lot simpler.

function pad(str, char, len)
 return str.."\*"..(len-#str)..char
end
?pad("hello","h",6) -- helloh
?pad("hello","h",5) -- helloh
-- second one should just be hello
1
4 comments


Hello, and especially to @zep.

I have noticed when you are coding that you count the actual number of characters from your 64k limit when typing code.

For instance, let us see what info gives us in typing from immediate mode with no code:

FILE: UNTITLED_1.P8
TOKENS:         0 /  8192
CHARS:          0 / 65535
COMPRESSED:     0 / 15616

OK, now let's add a single line of code in the source-code editor. PRINT(".")

Now return to immediate mode (ESC) and type INFO and you have:

FILE: UNTITLED_1.P8
TOKENS:         3 /  8192
CHARS:         11 / 65535
COMPRESSED:    11 / 15616

Here is the problem. Now edit that program line so it reads: PRINT("\0") then return to immediate and type INFO again in. This time you get:

FILE: UNTITLED_1.P8
TOKENS:         3 /  8192
CHARS:         12 / 65535
COMPRESSED:    12 / 15616

NOTICE that CHARS went up by one !

[ Continue Reading.. ]

2
17 comments


Cart #colorstack-0 | 2022-10-01 | Code ▽ | Embed ▽ | No License
9

Many years ago, I programmed this game in AS3 and released it on Kongregate. Now I rewrote in for Pico-8.

Game play: join exactly 4 blocks of the same color to make them disappear. If you connect more than 4 blocks, they turn grey and cannot be removed any more.

The game will display a summary of your run at the end, and keeps track of the 5 best scores.

9
10 comments


[sfx]

I have finished my song COLOURING DREAMS, I hope you like it.
You have more songs and Loops in my ITCH.IO page:

https://snabisch.itch.io/

3
2 comments


Cart #picoksp-0 | 2022-10-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3


Kerbal Space Program in KSP!

Up Arrow to Increase Throttle
Down Arrow to Decrease Throttle

Check out the tips menu for more help.

This is the first thing I made in Pico 8.
I literally just learned how to use this fantasy console and I'm already
doing physics.

3
0 comments


Cart #starsucker-1 | 2022-10-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

SAVE THE UNIVERSE ON YOUR JOURNEY TO SPACE STATION SIX!

Controls

Use your game controller to insert coins in order to play this game!

If you play it on your phone, please note that Itch has the O and X buttons mapped wrong. If you play it on a keyboard you can use the arrow keys to move, XMV to shoot, and ZNC to bomb.

Rules

Fire bullets at the invading enemy. COLLECT CHERRIES! Cherries can be spent by bombing ---OR--- by collecting 10 cherries to earn a new spaceship.

Pretend you are a teenager and try to get the High Score!

Behind the scenes

Hey guys, I am an architect, not a programmer. I made this game to capture some nostalgia from my teenage years when games like Galaga were available to play at the back of your convenience store.

[ Continue Reading.. ]

1
1 comment


Cart #fksshmuptest-0 | 2022-10-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2


A work in progres horizontal shmup game

2
0 comments


Ehy, this is another demo playing with narrative and minimal interactions. The cop can talk and move. Nothing more. :)

Cart #duborukuzi-0 | 2022-09-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

5
2 comments



Oi, this is one first demo dealing with some kind of "depth" and very easy collision detection.

I am quiet unsure about the background design yet.

The VR characters will vary and the bunny will be animated too :)

anyways. funny first demo.

This is the previous version


4
0 comments


Hi guys:

With the knowledge of "one-off" graphics made via the, ?"\^. and ?"\^: I thought it might be interesting to have a few more features in P8SCII. What do you think, @zep ?

One of which is true raw-pixel graphics, for instance this picture here:
[8x8]
could be done via P8SCII with:

?"\^,0808855555b05000005050000050500000505000005050000050c55555a000000000"

and if you check that carefully you will see that the contents are exactly the same as pasting a clip of graphics in here via CTRL+C from your spritesheet and CTRL+V in here. If "." is chosen instead of 0-F, that pixel is skipped, it is not drawn. If "y" is chosen, then the foreground color is plotted instead. If "z" is chosen, then the background color is plotted instead. If "*" is chosen, then the last color cls() used will be plotted. If "/" is chosen then an invert of the current pixel there will be chosen.

[ Continue Reading.. ]

2
0 comments


Cart #pixular_effect-0 | 2022-09-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
10

(v00 09-30-22)
TO LOAD THIS PICO-8 CART, in immediate mode, type: load #pixular_effect

Hello.

Another interesting effect I have seen in some games is what I call The Pixular Effect.

It appears like this:

https://youtu.be/s_EDnDJvlw8?t=1049

In the code above Use the LEFT and RIGHT arrow keys to animate from no Pixular at zero to full Pixular at 15 and at a reasonable rate.

Use the 🅾️ and ❎ to see it running maximum speed.

I thought it was a perfect effect to show someone losing consciousness though I have seen it in other places as a kind of screen-fade and warping from one place to another.

[ Continue Reading.. ]

10
7 comments


Cart #dauntlessdog-1 | 2022-09-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

Dauntless Dog!

Welcome to my Shump entry for the Lazy Devs Shump Showcase! I am a first time pico developer taking on a challenge and actually finishing a project! I made a fun Fox-like shump with dialog and companions!

Introducing: Dauntless Dog!

Controls:

ARROW KEYS TO MOVE

X to shoot

C to advance dialog

Story:

Dover is a fearless space captain with a personal vendetta to avenge his father, who met his fate at the hands of the evil COBRA.

Joined by his crew, the quick, the fearless, Jane Eyre!

Followed behind by COBRA's own son, Casey.

The three attempt to cross the solar system to defeat COBRA and his crew!

Watch out for:

Casey's brother Gek-O who leads COBRA's henchmen.

Shelton the impenetrable.

and finally: Chomper, Dover's ex-copilot.

Once you break through, the only one left is the wicked, vile, and invincible COBRA. Nothing can damage him... or so it seems. Secrets of the family given to us by Casey may say otherwise.

Survive through a heart wrenching tail of REVENGE!

Dev note: It gets REALLY chaotic. I totally understand that the dialog gets in the way. I wanted to add text and story to the shump for some callbacks to the classic fox series, but I think the screen limitation got the best of it... Regardless enjoy!

Also, the companions are rookies, they aren't the best at fighting and navigation. Keep that in mind!

Thanks so much to Krystian / Lazy Devs. You are truly inspiring!

4
2 comments


Cart #cluepix-0 | 2022-09-30 | Code ▽ | Embed ▽ | No License
17


CluePix is a picture solving game. Draw pixel art using those 2 clues:

  • Color bars show mixed pixels from their line.
  • Digits show how many pixels around are the same color.

There's an ingame tutorial. Once a picture is solved, it is saved and reloaded on next game sessions, so no hurry, even though the game is short and might be finished in one sitting. CluePix is a proof of concept for an original puzzle game, hence the low number of pictures to solve. As such, feel free to comment on what you liked or didn't about it!

Controls

Arrow keys to move cursor
🅾️ to add/remove pixels
❎ to switch between grid and palette. Press twice to pick a grid color.

Intent

[ Continue Reading.. ]

17
9 comments


Cart #world1k-0 | 2022-09-30 | Code ▽ | Embed ▽ | No License
6

This is a playable version of World 1-1 from Super Mario Bros. in just 1KB of compressed code. It's basically a proof-of-concept for a number of super-condensed game systems that I've been working on, but hopefully it's fun to play around with, too.

Controls:

Arrow keys: Move
X button: jump

6
3 comments


Cart #shape_exporter-2 | 2022-09-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Shape Exporter

A tool to export the parameters of basic shapes to an external file.

  • Left click to set control points.
  • Use the arrow keys to cycle between shape types and shapes on the screen.
  • Press X to delete the selected shape.
  • Press Z to export the shapes on the screen to "shapes.txt".
  • Press Ctrl+C to copy the shapes to your clipboard.
  • Right click to toggle the UI.
1
0 comments


Cart #spr2p8sci-1 | 2022-09-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

(v01 09-29-22)

TO LOAD THIS PICO-8 CART, in immediate mode, type: load #spr2p8sci

Hello there.

If you are running this code in Pico-8, you will see that the Spritesheet does not contain this picture ! Instead there is only a single line of code, and a PRINT statement at that to create the display you see above. How is this possible ? Well, we need to go back a day to find this out.

I was taking a look at @GPI's marvelous example of multi-poke using P8SCII code:

https://www.lexaloffle.com/bbs/?tid=49517

And I thought to myself, it would be interesting to write code that could save off an entire 128x128 16-color picture as a single print command. Could it be done ? And yes, it could. The picture above for instance is just 8948-text characters directly in source-code as a single PRINT statement.

[ Continue Reading.. ]

9
7 comments


The code im using gives me a syntax error, here is my code
function fire()
local b = {
sp=3
x=ship.x,
y=ship.y,
dx=0,
dy=-3
}
add(bullets,b)
end

It is the only thing wrong with the code
it says
"unclosed '{'
even when it isnt.

4 comments


Cart #poker_square-0 | 2022-09-29 | Code ▽ | Embed ▽ | No License
7


Poker Squares Solitaire coded in 1kB (in 2 days) for PICO-1K Jam 2022.

This is the first time I've tried something like this.

Let me know if you find any bugs.

Rules

  • Cards are placed one at a time and can no longer be moved once placed.

  • Points are scored on poker hands of 5 cards formed in rows or columns. (order does not matter)

  • The goal is to get a score equal/higher than 100 or a high score.

List of points and poker hands:
View list on itch.io or rules from Wikipedia.

| Poker Hand | Points | Example |

[ Continue Reading.. ]

7
4 comments


Cart #dung_beetle-0 | 2022-09-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

0 comments


Cart #onek_landscape06-0 | 2022-09-29 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
90

Here's my entry for the 1k jam!

After the image renders, hit "z" to make a new one.

-ElectricGryphon

90
6 comments




Top    Load More Posts ->