Page 1 of 1

Keen dies like other sprites (K1)

Posted: Wed Dec 23, 2015 1:07 am
by Nospike
I'd like Keen to go through his death1 -> death2 animation once (animating slowly, also just like enemy sprites), then freeze in the death2 frame (or even better - disappear after it) without flying up and off the screen.

Would that be possible? Didn't find any patches altering the Vorticons death animations anywhere...

Posted: Thu Dec 24, 2015 6:38 am
by levellass
Getting Keen to vanish, that's tricky indeed and I am not sure how it could be done. It's possible if you set aside an 'empty' animation for dead Keen to use. This patch looks like it will take more effort than I first thought.

Posted: Fri Dec 25, 2015 12:23 pm
by Nospike
I can definitely have an invisible animation, that's no problem. It'd be the second frozen-Keen frame.

Another way to describe what I need is the death in Keen Dreams.

I'm in no rush to get this patch and it's not exactly of critical importance, was just an interesting idea to set my game apart. No need to worry if it takes a long time or if you have more important things to take care of. ;)

Posted: Thu Dec 31, 2015 5:43 am
by levellass
Right. This was trickier than expected so this is a basic patch kludge:

Code: Select all

#First pause behavior, swaps animation $17->$1D
%patch $41F8 $55 $8B $EC $C7 $06 $5DAAW  $0001W  $A1 $824AW  $03 $06 $5B14W 
             $A3 $824AW  $3D $0044W  $7E $0C $C7 $06 $8248W  $0017W  $C7 $06
             $8252W  $421EW  $5D $C3
%patch $421E $55 $8B $EC $A1 $824AW  $03 $06 $5B14W  $A3 $824AW  $3D $0084W
             $7E $0C $C7 $06 $8248W  $001DW  $C7 $06 $8252W  $423EW  $5D $C3
%patch $423E $55 $8B $EC $A1 $824AW  $03 $06 $5B14W  $A3 $824AW  $3D $00C4W
             $7E $06 $C7 $06 $8220W  $0000W  $5D $C3

Keen should start in animation $16, go to $17, then $19 n(Blank) then vanish. The times taken for each step have been set here as $44 ticks each step. (They add so $0044 -> $0084 -> $00C4.) Adjusting those should let you adjust how long the death sequence lasts. Tell me how it grips you.

Posted: Sun Jan 10, 2016 3:12 pm
by Nospike
Sorry to bother ya Lass, but would it be possible to make this 4 frames long? The last frame would be $1E (30). It's working splendidly right now but I need the last frame to fit in a proper animation.

Posted: Thu Jan 14, 2016 3:51 am
by levellass
This would ahve been easy, but when I tried to post the internet crashed. Go figure.

Code: Select all

#First pause behavior, swaps animation $17->$1D
%patch $41F8 $55 $8B $EC $C7 $06 $5DAAW  $0001W  $A1 $824AW  $03 $06 $5B14W 
             $A3 $824AW  $3D $0044W  $7E $0C $C7 $06 $8248W  $0017W  $C7 $06
             $8252W  $421EW  $5D $C3
%patch $421E $55 $8B $EC $A1 $824AW  $03 $06 $5B14W  $A3 $824AW  $3D $0084W
             $7E $0C $C7 $06 $8248W  $001DW  $C7 $06 $8252W  $423EW  $5D $C3
%patch $423E $55 $8B $EC $A1 $824AW  $03 $06 $5B14W  $A3 $824AW  $3D $00C4W
             $7E $0C $C7 $06 $8248W  $001EW  $C7 $06 $8252W  $0AF2W  $5D $C3
%patch $0AF2 $55 $8B $EC $A1 $824AW  $03 $06 $5B14W  $A3 $824AW  $3D $0104W
             $7E $06 $C7 $06 $8220W  $0000W  $5D $C3
This should have the same notes as the previous patch. There's a new time here, again a multiple of the original time, $0104W.

Posted: Fri Jan 22, 2016 9:10 pm
by Nospike
This won't work sadly, I'm already using the $0AF2 space for the crawling patch. If you've still got my patchfile from when we were trying to sort out the V2 problem, that would do as a reference regarding what's used and what isn't.

Posted: Sat Feb 06, 2016 4:34 am
by levellass
You are using a patch that lets Keen keep keycards when exiting the level, delete it, it has been combined with the above patch to make this hybrid:

Code: Select all

#Keen dies sequence and keeps keycards on level exit
%patch $41F8 $55 $8B $EC $C7 $06 $5DAAW  $0001W  $A1 $824AW  $03 $06 $5B14W 
             $A3 $824AW  $3D $0044W  $7E $0C $C7 $06 $8248W  $0017W  $C7 $06
             $8252W  $421EW  $5D $C3
%patch $421E $55 $8B $EC $A1 $824AW  $03 $06 $5B14W  $A3 $824AW  $3D $0084W
             $7E $0C $C7 $06 $8248W  $001DW  $C7 $06 $8252W  $423EW  $5D $C3
%patch $423E $55 $8B $EC $A1 $824AW  $03 $06 $5B14W  $A3 $824AW  $3D $00C4W
             $7E $0C $C7 $06 $8248W  $001EW  $C7 $06 $8252W  $4F45W  $5D $C3
%patch $4F43 $EB $1A $55 $8B $EC $A1 $824AW  $03 $06 $5B14W  $A3 $824AW  $3D #Overwrites keycard patch!
             $0104W  $7E $06 $C7 $06 $8220W  $0000W  $5D $C3

Posted: Sat Feb 06, 2016 11:19 am
by Nospike
Fantastic, thanks a million, Lass. :)