Log In  

This is a little tool to convert a big ol' list of strings into the PICO-8 map.
This has some very specific usage cases, and there's probably a better way somehow, but heres an example of when you might use it:

Imagine you are making a big parkour game, with lots of fairly big levels. You can't possibly hold all of them in the PICO-8's map together. So you use this tool to load in a new map on demand.

In this case, you may want to use this.

Here's the cart:

Cart #jodepunawi-0 | 2022-09-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

controls:
arrow keys to move camera position
X/C etc to change to map 2

P#116958 2022-09-05 23:49

I just had a quick glance at the code-i thought you meant literal strings like "hello, is me, the cat" to maps. The thing you´re doing is kinda similar to how maps are handled behind the scenes anyway. Maybe it would be a nice challenge to check for pixel values in text and translate those to map coordinates, as that would really save a lot of space and allow for a ton of levels!

Quick example:
My first Level could be:
"|o__o __|"
Second level:
"|__oO__ _ __|"
and so on.

P#116978 2022-09-06 17:02

I think I did something like this in the past, @MrAwesome.

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

Mine takes existing map data and converts it to compressed text. Then you can remove all map data, recall the text, and use it this way.

There is also my Str2Board where you can use normal text in your code to display sprites and tiles:

https://www.lexaloffle.com/bbs/?pid=68201#p

There was a map editor I made too that allowed you to have your map be quite large indeed, exceeding the standard 128-across.

https://www.lexaloffle.com/bbs/?pid=57363#p

Feel free to use any and all of these in your projects, @MrAwesome, with my thanks.

P#116983 2022-09-06 17:22

This game is quite interesting and unique. Wishing you more success and luck soon duck life

P#117060 2022-09-08 08:00

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 09:46:17 | 0.036s | Q:23