Karakara | Karetro
New member
Hey!
In my game I wanted to have a 'Jump' Object state, in an attempt for a 2.5D overhead kinda setup. In ObjectBytesRam.asm I added two values:
Jump speed being how far it displaces the object every time the Jump Action is called, and Jump Z being how far it is from its normal X/Y.
I wanted it to check if the jumpspeed is not equal to zero, then it would make the object invincible, due to it being in air.
To do this, I need some way to displace the sprites drawing location, but not its hitbox location.
Problem is, I don't know where to do that . I looked around in Adventuregame_Base\Adventure_Drawing.asm, but had no luck.
If anybody knows how to do this, let me know.
Unrelated other thing:
I wanted to change the sprite palette 1 when the player dies, but if I add it, it makes the jump to not hurt the player too long. Any ideas on how to work around this?
In my game I wanted to have a 'Jump' Object state, in an attempt for a 2.5D overhead kinda setup. In ObjectBytesRam.asm I added two values:
Code:
Object_jump_speed .dsb 12
Object_jump_z .dsb 12
I wanted it to check if the jumpspeed is not equal to zero, then it would make the object invincible, due to it being in air.
To do this, I need some way to displace the sprites drawing location, but not its hitbox location.
Problem is, I don't know where to do that . I looked around in Adventuregame_Base\Adventure_Drawing.asm, but had no luck.
If anybody knows how to do this, let me know.
Unrelated other thing:
I wanted to change the sprite palette 1 when the player dies, but if I add it, it makes the jump to not hurt the player too long. Any ideas on how to work around this?