You can support the development on the Github Sponsors page.


Games > RUNJUMPDIE


made by Neil Popham
uploaded by neilpopham
added:
updated:
download cartridge
- CLICK TO PLAY -

3


A roguelike demo with procedurally-generated levels, exploding crates and jumping spiders.

Comments


neilpopham

This cartridge was ported from the pico-8 version. 99% of the code would be the same, but some utilises custom functions to mimic inbuilt pico-8 functions (defined near the top of the code). https://lexaloffle.com/bbs/?tid=34984

StinkerB06

Yeah, the yellow enemies are especially hard to kill as it sucks up health.

Btw, is there a limit of how many levels there are until you get to a end screen? And how do I change the number of lives? I couldn't seem to find a reference to it in the code...

neilpopham

You want to look around here:

p.reset=function(self,full)
self.anim.current.dir=dir.right
self.max.prejump=8
self.max.health=500

Change self.max.health=500 to a larger number.

Not sure what that will do to the hearts display off the top of my head but it will let you take more damage.

You may want to search for:

for i=1,p.max.health/100 do
spr(p.health>=i*100 and 47 or 46,87+(8*(i-1)),0)
end

to update how the hearts are displayed. As it is it looks like they'll draw off the screen so you'd need to change 87 to a smaller start x point.

All energy/damage is described using .health I think, so you could equally alter the damage caused by the yellow dude's bullets by changing the bullet_types table specifically for the entry with sprite=34.

StinkerB06

Thanks! That is the ONLY way I get past level 10.

masternama

Awesome!

justglowing

Amazing, we should port more games from pico8!


Post comment