landframe attack

1) During fly after throw my enemy really good crushing obstracles but when riching landframe he lose ability to crush any thing with attack boxes.
Itis sad. How we can fix this?

2) As i understand after simple knockdown attack enemy in FALL state cant hit any thing (like if he was thrown).
How to make such simple attacks crush other entities in fall?
 
2) You need to add damageonlanding 0 1 to allow knocked enemies to hit others while falling
Ex:
Code:
	attack	190 125 60 100 0 100 1 1
	dropv	4.5 2 0
	forcedirection -1
	damageonlanding 20 1
	frame	data/chars/donovan/throw2.png

This is from pseudo throw animation. Attackbox knocks grabbed enemy away then damageonlanding sets thrown damage and allows thrown enemy to hit others while falling

With damageonlanding you don't need BLAST anymore

1) Hmmm.... I could think of workaround but I feel like I need to know what is actually you are making here. So why do you need thrown enemy to hit anything after he/she lands?
 
1) Thanks!


2)Drawn position of flying enemy is too high  from center. But visually  it is based on his previous sprites.
So our game is detecting sprites center as reason to go in landframe when enemy is still high.
Landframe contains transition sprites from high to low and then grounded sprites
Low entities must be hurted before grounded sprites in this case.

And so i must "put down" sprite close to the center and in first frame move enemy upper via script?
 

Attachments

  • landframe.jpg
    landframe.jpg
    26.1 KB · Views: 7
I suggest fixing the offset of landing sprite to solve this. I usually set offsets in FALL animation properly so entities gradually moving down and when they land, their body touches the ground properly
 
Back
Top Bottom