Log In  
BBS > Lexaloffle Community Superblog
This is a combined feed of all Lexaloffle user blogs. For Lexaloffle-related news, see @zep's blog.

All | Following | PICO-8 | Voxatron | General :: [Thread List]
P#65199 2019-06-14 18:17 ( Edited 2019-06-14 18:19)

I haven't found anything, but I am trying to convert my existing music tracked in PICO-8 to a .MOD or related tracker format.

Anyone have any pointers? I'd rather not compose everything by hand again but...

P#65140 2019-06-10 20:00

Hello everyone. Today I wrote a script to swap Sprites positions without messing with the Map. Very handy to reorganise your sprite sheet. And Flags will follow. Here's how it works:

1- Make a backup

First thing first: make a backup of your p8 file!
This is important, as you can screw things up real quick if you do not pay attention.

2- Get the script

Create an empty file named "swapspr.lua" that you'll put alongside your p8 file.
Copy/paste this script to "swapspr.lua" and save it:

function swapspr(n1,n2)
    for i=0,7 do
        local p1=i*64+n1*4+448*flr(n1/16)
        local p2=i*64+n2*4+448*flr(n2/16)
        local b1,b2=peek4(p1),peek4(p2)
    local f1,f2=fget(n1),fget(n2)
    for x=0,127 do
        for y=0,127 do
            if mget(x,y)==n1 then
            elseif mget(x,y)==n2 then

Note: the last 21 caracters "-" are important, otherwise, you'll mess the include.
See bug here: https://www.lexaloffle.com/bbs/?pid=64985#p (for @zep)

3- Prepare your p8 file

Open your p8 file and add those two line at the very begining of your code:

#include swapspr.lua

In this example, we are swaping positions of sprites numbers 3 and 6:

4- Run

Run your p8 file and that's it!
Your sprites position have swaped while keeping their flags:

And (magic) the Map didn't change:

5- Clean

Run this script as long as you need to swap positions.
Don't forget to remove the two lines you added at the start of your code once you have finished.

I hope this will save a lot of time for the Pico-Eighters like me that don't think about sprite order until the need to save space and tokens...

Right now, it only swaps 8x8 sprites, but that can be modified easily.

P#64987 2019-06-04 16:35 ( Edited 2019-06-04 19:15)

I have an idea-- lets say i have a voxel model with colors blue and brown. Is lUA/shader/something else
able to have the blue voxels behave/look like water and the brown like dirt? Is there another idea for this? id like the existing properties be linked to the colors of the model!! Well, keep on voxing!

P#64976 2019-06-03 19:10

Cart [#hibanefejo-0#] | Code | 2019-06-02 | License: CC4-BY-NC-SA | Embed

P#64941 2019-06-02 03:44

There is a some bugs still, but here is what it looks like at this point.

P#64940 2019-06-02 03:35 ( Edited 2019-06-02 03:39)

I need a step by step instructions on how to run Pico8 on a Chromebook. I read other forums about this and I still don't know what to do. Can anyone help me?

P#64936 2019-06-02 01:41

Site brasileiro de https://xxxvideo.blog.br/ site mais buscados da web.

P#64771 2019-05-27 00:50 ( Edited 2019-05-27 00:52)
P#64744 2019-05-25 16:36

Cart [#cube-0#] | Code | 2019-05-14 | No License | Embed

P#64428 2019-05-14 20:49 ( Edited 2019-05-14 20:49)
P#64404 2019-05-13 23:22 ( Edited 2019-05-13 23:22)


Finally managed to get somewhere by the end of this weekend (10:30pm) after setting myself the challenge of learning how to start building the old raycasting engine ala Wolfenstein 3D!

It's a start, more to come! Just found Pico-8 on Tuesday last week, saw the cool things people were making, purchased it immediately, and totally loving it to pieces!!

P#64344 2019-05-12 12:38

Cart [#modelr_jam-0#] | Code | 2019-05-06 | License: CC4-BY-NC-SA | Embed

Made in 48h for the first ZJam

Roberto Serrano

P#64208 2019-05-06 15:55 ( Edited 2019-05-06 15:55)

Cart [#zekekasiyo-0#] | Code | 2019-05-10 | No License | Embed

P#64129 2019-05-01 22:29 ( Edited 2019-05-10 18:24)

Cart [#canukeepup-0#] | Code | 2019-04-25 | License: CC4-BY-NC-SA | Embed

P#63975 2019-04-25 20:22

Cart [#bugorajeka-0#] | Code | 2019-04-25 | No License | Embed

P#63973 2019-04-25 20:05

Cart [#depejugjo-0#] | Code | 2019-04-22 | License: CC4-BY-NC-SA | Embed

P#63834 2019-04-22 11:59
P#63815 2019-04-22 05:14

Just a test upload for my Midterm in class

P#63790 2019-04-22 00:05


P#63581 2019-04-16 18:38
View Older Posts
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-06-16 13:29 | 0.088s | 4194k | Q:113