Log In  


Cart [#52403#] | Copy | Code | 2018-05-05 | Link

The insidious rulers of Al-Sarmalabim have wronged you, and now it's time to get revenge!

Press Z to jump, press it again to smash into the ground, but careful not to fall or it's game over.
Press X to slice away at your enemies. Kill the blinking red one, but be sure to grab any loot you might find first, or you're not going to afford upgrades between levels.

Little game i made after messing with some casual dungeon random generation. No sound at all, sorry!

P#52404 2018-05-05 10:43 ( Edited 2018-05-09 21:17)


Maaaybe a bit difficult but the gameplay really works.

Is the cover art original?
(btw, would be nice to have the ingame palette more closely match the cover art)

P#52418 2018-05-05 14:45


Agree with freds72 on the color palette.

Not immediately obvious which sprite is the player, even when you learn what the player's sprite looks like. Very easy to die before even moving. Perhaps have a visual effect on the player at startup? Even a quick shrinking or flashing circle would do. Or flash the player briefly.

P#52420 2018-05-05 15:10 ( Edited 2018-05-05 15:10)


I agree with Felice and freds72.

P#52425 2018-05-05 17:04


@freds72 I worried a bit about difficulty, i made it a bit harder than it should be, due to running out of tokens for an endgame, but i can tweak it if people have trouble with level 1! And yes, i drew that splash pic;

I went through a whole bunch of palettes until i got to this one, picked the grey surfaces to contrast better with the colored enemies, and the yellow buildings so they exude a kind of arabic feel, but i might mess around with it and incorporate some blues/purples. My only concern is having it read (i already think it's a bit too cluttered/hard to read)

I agree, i ended up adding an outline to the enemies, but skipped adding it to the player due to running out of tokens. I hoped the white was enough to make it pop, but apparently not, i might optimize a bit and add that. Same goes for showing the player, but i think that's more easily doable with a bit of work!

Thanks for the feedback!

P#52445 2018-05-06 05:56


You can easily get a bunch of tokens back if you make an irnd() function to replace all the flr(rnd()) calls.

Also remember that rnd(5) can be replaced by rnd"5" because of Lua's syntactic sugars. Saves the token for the parens.

P#52452 2018-05-06 09:07 ( Edited 2018-05-06 09:09)


rnd’5’??? before going into these last resort solution ;) you can recover gazillions of tokens:

  • create local variables for all your loops
for i=1,#items fo
 local item=items[i]
 — not:
 — dosomething(items[i].x,items[i].y,...)
  • create table for all your direction checks:
local corners={{-1,0},{0,0},...}
for _,c in pairs(corners) do
  • some ssget/ssget code looks like it can be factored into memset (not sure - I am on mobile right now)
P#52454 2018-05-06 09:38


Thanks for the tips! I'll definitely put a bit more time into this, now that i know how i can win back a few tokens!

P#52458 2018-05-06 11:53



P#52564 2018-05-09 21:17

Log in to post a comment


New User | Account Help
:: New User
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2018-05-21 20:38 | 0.230s | 1835k | Q:25