General Donkey Kong Discussion > General Donkey Kong Discussion

I came up with a Donkey Kong hack idea

<< < (3/3)

Sock Master:

--- Quote from: PaulGoes on April 04, 2024, 06:05:14 am ---And I noticed something that I cannot explain. These two pixels are also seen at the top left of the rivets stage, a little between the umbrella and the top left rivet. I do not know why it is there. I guess that that is the same sprite that is also used above the oil can. But why is it there?  And then when playing the pies board I see those pixels again, about the same spot, but they move left and right just like DK does. It looks like that that sprite (originally a blank one) is somehow drawn as part of DK? But why?  :-/

--- End quote ---

It's the 'blank' sprite and the code sometimes uses it as 'display nothing'.  Notably the oil fire before its lit but also in DK's sprites.  The game reserves 10 sprites for DK, but not all 10 are always needed.  When DK is in a pose that has fewer sprites, the extra sprite slots still display but using 'blank' and they have junk X/Y coordinates so they display somewhere off in space.  When DK moves, the junk coordinates also move along with DK.

Maybe I was thinking more about DK Junior when I mentioned inconsistent hitboxes.  That happens a lot in DK Junior, even to the extent that some hitboxes change over time and some sparks in Mario's Hideout even have different hitboxes than the other sparks.

PaulGoes:

--- Quote from: Sock Master on April 04, 2024, 07:08:27 pm ---It's the 'blank' sprite and the code sometimes uses it as 'display nothing'.  Notably the oil fire before its lit but also in DK's sprites.  The game reserves 10 sprites for DK, but not all 10 are always needed.  When DK is in a pose that has fewer sprites, the extra sprite slots still display but using 'blank' and they have junk X/Y coordinates so they display somewhere off in space.  When DK moves, the junk coordinates also move along with DK.

--- End quote ---

That explains it. Thanks.

jammvyy:
Thanks John , It can imagine it being a tedious job :)

Navigation

[0] Message Index

[*] Previous page

Go to full version