i was making a cool roguelike, but haven't worked on it in a while so i decided to just share the unfinished version.
play it here
todo: add more enemies, different areas, functioning equipment, magic, shops
Nice game! Looks like fun.
I have a couple of questions about the code. First is, do you not like the multi-branch
rather than a lot of nested IF/ELSE blocks? I'm looking at, for example,
in the enemies sprite, which at one point is eight deep in IFs.
Second question: In in enemies, why do you have to go through visiting every position to find this enemy? Can't you just compute
?
Actually, thinking again about those nested IF/ELSE blocks, most of them could be avoided if each kind of enemy had its own action script. Either give the main enemies sprite a for-this-sprite-only variable called ACTION and put a different ringed script in it for each enemy class, or have scripts headed by, e.g.,
and then you can

and it'll automatically do the right thing for that kind of enemy.
Oooh! I love this! Could you please add keyboard shortcuts for the options?