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

Just a small test using the Minsky algorithm as a fade.

Z to switch between rectfill() and memcpy() methods.

X to toggle auto-size. If auto-size is off the cursors will resize the circle.

NB: The memcpy() method uses the sprite memory for ease; more thought will be required if used in a cart using this memory. The recfill() method is less cpu anyway, so...

Cart #popsminskytest1-0 | 2020-06-30 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#78701 2020-06-30 13:43

[ :: Read More :: ]

To use Tiled to create a PICO-8 map export from Tiled to a LUA file called "tiled.lua".

NB: You may need to make sure it's LF and not CRLF as current PICO-8 has issues including files using CRLF.

The following code will export the map and any spites in the cart to "tiled.p8".

function parsetiled()
#include tiled.lua
end
tiled=parsetiled()
layer,i=tiled.layers[1],1
for y=0,layer.height-1 do
 for x=0,layer.width-1 do
  mset(x,y,layer.data[i])
  i+=1
 end
end
cstore(0x0000,0x0000,0x3000,'tiled.p8')
P#73611 2020-03-02 16:15

[ :: Read More :: ]

Just putting this here for now.

Needs a little more polish, including some more sfx here and there.

Momentum beginning to fade though. Not really sure where I'm going any more.

Any feedback welcome. I've a few hundred tokens left to play with IIRC.

Controls should be easy to work out, except ⬇ (down) which will throw grenades (unlimited right now).

Cart #runjumpdie-7 | 2019-08-10 | Code ▽ | Embed ▽ | No License
6

Edit 1: Used existing sfx where there were previously none in place. Could do with some slight variations for hits and explosions.
Edit 2: Added slight delay to secondary damage giving a chain reaction effect.
Edit 3: Increased smoke when crates and barrels explode.

P#66437 2019-08-07 13:23 ( Edited 2019-08-10 11:35)

Follow Lexaloffle:          
Generated 2024-03-28 17:27:04 | 0.071s | Q:14