Log In  
Follow
kp73
[ :: Read More :: ]

Cart #fruitrsi1-0 | 2020-10-01 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
11

P#82488 2020-10-01 12:47

[ :: Read More :: ]

A falling block/puzzle type thing that I've been making. Can anyone spot the influences?

(edit, added magic forks :)

Cart #fruitrsi-5 | 2020-09-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5

P#82417 2020-09-29 08:59 ( Edited 2020-09-30 12:43)

[ :: Read More :: ]

Hi

I thought I'd have a go at making something myself that I could play on my LED matrix display and seeing as I haven't done any Lua or Pico-8 before, I picked something to re-create, rather than come up with something new from scratch.

I always liked this on the C64, so here is my attempt at it so far. Still plenty to do;

Picidium (Uridium)

[edit, added title tune and a few other tweaks]
[edit2, added control option]

Cart #picidium-4 | 2020-10-12 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
9

P#82107 2020-09-22 12:13 ( Edited 2020-10-12 19:36)

[ :: Read More :: ]

Hi, I'm trying to use the very handy looking PX9 to compress a bunch of map data, so I can get all the levels I need in my cart - but I have a strange issue.

In my cart I'm storing compressed map data for my 'levels' at 0x2400 for level 1, 0x2600 for level 2, 0x2800 for level 3, etc. So each level is maximum 0x200 bytes long compressed.

The decompressed map for each level is no more than 9 rows, so I have the top of the map (0x2000 to 0x3fff) to store
the decompressed level.

That's all good, I can decompress level 1, show the map, decompress level 2, show that map, but if I then try and decompress level 1 again it doesn't work :/

I've made a simplified example cart that shows the problem. When it runs you see level 1 decompressed and displayed, hit X to cycle through levels. The first time around is fine, but the second time level 1 never gets displayed.

Does any of that make sense, what strangeness have I created?!

Cart #nuhophina-0 | 2020-09-11 | Code ▽ | Embed ▽ | No License

-- px9 comp'd map 1 at 0x2400
-- px9 comp'd map 2 at 0x2600
-- px9 comp'd map 3 at 0x2800

function _init()
    num=0
    next_map()
end

function _draw()
    cls()
    map(0,0)
    print("this is map "..num,0,52)
    print("❎ for next map",0,60)
end

function _update()
    if btnp(❎) then
        next_map()
    end
end

function next_map()
        num+=1
        if num==4 then
            num=1
        end
        local adr=0x2200+num*0x0200
        px9_mdecomp(0,0,adr,mget,mset)
end

-- px9 decompress, memory-only
-- 273 tokens

function px9_mdecomp
(
...
}
P#81723 2020-09-11 20:10 ( Edited 2020-09-12 10:28)

[ :: Read More :: ]

Hi, not posted before but I thought some of you might like to see this setup that I've been playing with;

https://www.youtube.com/watch?v=gaacP4N1ew4

It's running on four 64x64 LED matrices, I think it looks pretty nice. The flicker/scan lines in the video aren't visible in person, it's an effect of the camera - but I may try tweaking the refresh to make a better video.

P#78410 2020-06-22 22:47