WolfMerrik
New member
I am starting to recode/code my own Physics
It basically replaces the "DetermineRecoilDirection:" Inside of the HandleObjectCollisions.asm script with one better suited for a platformer.
In Constants.asm I changed the values to:
New constants could easily be made and used in place to get a better HI/LO, but this works just fine for me.
I liked it, so I thought I would share it, I will put the code for the script in the next post,
or
If you want, you can download the file HERE, which has instructions in the header how to use/install it!
It basically replaces the "DetermineRecoilDirection:" Inside of the HandleObjectCollisions.asm script with one better suited for a platformer.
In Constants.asm I changed the values to:
Code:
HURT_TIMER = #$0A
INVINCIBILITY_TIMER = #$16
RECOIL_SPEED_HI = #$03 ;The value used for the upward knock
RECOIL_SPEED_LO = #$02 ; The value used for the horizontal knock
New constants could easily be made and used in place to get a better HI/LO, but this works just fine for me.
I liked it, so I thought I would share it, I will put the code for the script in the next post,
or
If you want, you can download the file HERE, which has instructions in the header how to use/install it!