Nom: | Freeze Sprites with L/R |
Auteur: | JamesD28 |
Soumis le: | par JamesD28 |
Type: | Niveau |
Graphismes inclus: | Non |
Hijack inclus: | Oui |
En vedette: | Non |
Description: | This code will freeze all sprites on screen when L or R is pressed, while allowing the player to still move around and interact with the level as normal. You can control the duration sprites are frozen for, enable retriggering of the freeze, enable freezing of sprite behaviours as well as their position, and more. Has a lot of potential for interesting kaizo and puzzle setups. Note that depending on the settings & ROM type, this code can use quite a lot of freeRAM (up to 639 bytes). See the .asm file for usage notes and customization options. To be inserted as level ASM (can be inserted in GM14, but probably not a mechanic that should be enabled for an entire hack). Requested by Idyllic. |
Étiquettes: | freeze sprites lorom sa-1 sprite |
Commentaires: | 5 (aller aux commentaires) |
Étoiles: |
Télécharger
3,21 Kio | 77 téléchargements
commentaires (5)
The fix from Discord:
Find this:
And between the LDA !9E,x and CMP #$04, add this:
Doesn't seem to affect green beans though so I guess they use RAM elsewhere
edit: some sprites seem not to work i.e. the spring....
D^4's version certainly has it's own merits: hers looks to be a lot faster and smaller due to the use of a patch, and hers also doesn't require a chunk of freeRAM, so it's less invasive in that regard.
Oh, I see. I thought your code was less invasive simply because it's one level file.
I noticed this doesn't affect other types of sprites like the hammers in the third GIFs, which is a bit of a shame but understandable considering it would be more invasive likely. Again, nice job!
D^4's version certainly has it's own merits: hers looks to be a lot faster and smaller due to the use of a patch, and hers also doesn't require a chunk of freeRAM, so it's less invasive in that regard.