PICONICCC — demo for PICO-8.
Released at DiHalt 2021 demoparty (https://events.retroscene.org/dh2021)
Creating ST NICCC clones on all possible platforms is a demoscene challenge. The original demo uses a 640KB data file. A single PICO-8 cartridge can fit only about 12KB of arbitrary data. To fit the whole 3D scene in a single cartridge, we re-created it with 3D models. In my opinion, finding clever solutions to overcome platform limitations and do what seemed to be impossible to do is the essence of the old-school demoscene.
Credits:
Code: Megus
3D models: TmK/deMarche
Music: n1k-o/Stardust
Graphics: Diver/Stardust
Source code and tools: https://github.com/Megus/piconiccc


I also got the runtime error at the cube part. Also, the music would slow down drastically and even stop altogether at some parts. This is all when playing on the online version.
I downloaded the cart and there were no musical glitches, though there were a few frame drops as it went into the final cube area. It also did not give me the runtime error. Apparently it occurs right when the screen does the big glitch effect right before the credits. Here is the error message:
runtime error line 667 tab 0
return {spline_kmr(d0{i},d1{i},d2{i},d3{i},p), spline_kmr(d0{ i1},d1{ i1},d2{ i1},d3{ i1},p), spline_kmr(d0{ i2},d1{ i2},d2{ i2},d3{ i2},p)
attempt to index local ‘d3’ (a nil value)
in spline line 667 (tab 0)
in draw3d line 647 (tab 0)
in fx_draw line 611 (tab 0)
in _draw line 106 (tab 0)
at line 0 (tab 0)


Now I know why this runtime error happens! I didn't test the demo in the browser, so what I was expecting is that it will always run the same way anywhere and there's no check for getting further than the predefined camera path. As it seems, it may happen in the online version. Somewhere in the code, there's a line nframe+=0.4. If you limit the maximal value of nframe to, if I'm not mistaken, 1799, the error should go away.


Pow ! I got the same error as @Sosasees. Looks REALLY good though, @Megus.
I love a good demo cart and this demo cart has a lot of love in it. Gold star even before you even fix the problem.
Superb work ! I would definitely like to run this again from the beginning and see it play to completion.
[Please log in to post a comment]