Page 1 of 1
POW Shoe! (v 1.1)
Posted: Wed Feb 10, 2021 3:20 pm
by danski
A fun little custom powerup that turns Kuribo's Shoe into an earthquake machine. Make sure to import the graphics and notepad into your level/episode folder.
https://drive.google.com/drive/folders/ ... sp=sharing
New tweaks:
- Now two-player compatible!
- Animation slightly improved
Let me know if you find any bugs or have any suggestions. Otherwise, happy stomping!
Re: POW Shoe!
Posted: Thu Feb 11, 2021 4:15 am
by MegaDood
Oh this is really neat! It looks like it could be used for some puzzle levels, especially involving reset doors.
Re: POW Shoe!
Posted: Thu Feb 11, 2021 5:59 am
by MrDoubleA
Pretty neat, although the code is weird in some places. A few notes:
- You shouldn't load any image every time you draw it, it should be stored in a variable (and Graphics.draw is a bit outdated)
- player:harm() won't work if the player has invincibility frames
- It doesn't account for forced states or being dead
- You can use player.mount instead of player:mem(0x108,FIELD_WORD)
.. but overall, nice!
Re: POW Shoe!
Posted: Thu Feb 11, 2021 2:09 pm
by danski
MrDoubleA wrote: ↑Thu Feb 11, 2021 5:59 am
Pretty neat, although the code is weird in some places. A few notes:
- You shouldn't load any image every time you draw it, it should be stored in a variable (and Graphics.draw is a bit outdated)
- player:harm() won't work if the player has invincibility frames
- It doesn't account for forced states or being dead
- You can use player.mount instead of player:mem(0x108,FIELD_WORD)
.. but overall, nice!
Thanks for the feedback. Much appreciated! Knowing player.mount is a thing would have saved me a lot of time searching the wiki in my other scripts! What do you recommend I use instead of graphics.draw?
Re: POW Shoe!
Posted: Fri Feb 12, 2021 5:56 am
by MrDoubleA
danski wrote: ↑Thu Feb 11, 2021 2:09 pm
MrDoubleA wrote: ↑Thu Feb 11, 2021 5:59 am
Pretty neat, although the code is weird in some places. A few notes:
- You shouldn't load any image every time you draw it, it should be stored in a variable (and Graphics.draw is a bit outdated)
- player:harm() won't work if the player has invincibility frames
- It doesn't account for forced states or being dead
- You can use player.mount instead of player:mem(0x108,FIELD_WORD)
.. but overall, nice!
Thanks for the feedback. Much appreciated! Knowing player.mount is a thing would have saved me a lot of time searching the wiki in my other scripts! What do you recommend I use instead of graphics.draw?
The Sprite class is a good option (documented in its file, sprite.lua). Also, are you using the
new docs?