"Giant Jump" Attack onto players?

MysticalMist

Active member
I have a boss enemy who has an attack where he can jump in the air and will try to control his descent so he crash-lands onto the player. This would work just like Dave in Final Fight 3 if that makes sense.

What would be the most effective/efficient way to implement something like that? Anything helps, thank you!
 
I have a boss enemy who has an attack where he can jump in the air and will try to control his descent so he crash-lands onto the player. This would work just like Dave in Final Fight 3 if that makes sense.

What would be the most effective/efficient way to implement something like that? Anything helps, thank you!

Just have him jump out of screen, then after a certain amount of delay, a script that moves his X and Z directly over a player, and allow the engine's gravity to do the rest. It's really simple. The tougher type is if you would want an actual calculated, visible jump arc. That takes a bit of math to pull off, though I believe @Bloodbane has a sample script with it already worked out.

DC
 
Hmm.... I need to check :unsure: if I've made something similar to Dave before :sneaky:.
I imagine the move would be like this:
1. Jump very high to leave the screen.
2. Floats forever to prevent falling to ground.
3. Chases player for certain amount of time while floating.
4. Stops for 2 or 3 seconds to give time for player to react.
5. Stops floating and dives.

It goes without saying that script is needed for most steps 🤓. Though the important part is shadow casting. If you're using gfxshadow, the boss won't cast any shadow when floating and can't tell player his position 😞.

Oh wait, I think Shadow Elf boss from Rise of Warduke has this kind of move. You could download that game and see how it's done on that boss. I think I've used a trick there and used slightly different steps ;).
 
It goes without saying that script is needed for most steps 🤓. Though the important part is shadow casting. If you're using gfxshadow, the boss won't cast any shadow when floating and can't tell player his position 😞.

Oh wait, I think Shadow Elf boss from Rise of Warduke has this kind of move. You could download that game and see how it's done on that boss. I think I've used a trick there and used slightly different steps ;).

Sorry, I haven't gotten back to this post in a while. Can you link me which Rise of Warduke you're referring to? I found one but it seems really old and I'm not sure if that was the one. I think there was a newer different version elsewhere?

I think I have an idea as to how to approach a basic "giant jump" attack, but I'm not sure how I would change the shadow type the moment he's in the air with script.
 
I think there's only one version we've released which is this one.

Anyways, the boss I've mentioned before is named Dantrag in the game so look for his .txt file to see how it's done.

how I would change the shadow type the moment he's in the air with script.

Well, there's a trick for that. Here are the steps with the trick:
1. Jump very high to leave the screen.
2. Above the screen or at the peak of the jump, change into blank sprite (to give impression that the boss has left) while dropping down to ground.
3. Change into shadow sprite.
4. Chases player for certain amount of time while in this mode.
5. At the end of chasing mode, stops for 2 or 3 seconds to give time for player to react.
6. Teleports above screen and dives.

Though TBH Dantrag skips step 3 to 5 and instantly teleports above player instead.
Do you want the boss to do the steps I've posted above or to do what Dantrag does?
 
I think there's only one version we've released which is this one.
[...]
Though TBH Dantrag skips step 3 to 5 and instantly teleports above player instead.
Do you want the boss to do the steps I've posted above or to do what Dantrag does?

I just downloaded that link and yeah, I def found something different. Thank you for the right link! lol

I think the first method sound simple and effective enough but Dantrang's method sounds really cool too, I'll admit I'm having issues deciding at the moment. o_O
 
Well, I decided to create example of each using an enemy. You can get him in this link below and try him:


This enemy has two giant jump attacks but in one attack he chases player manually while in the other he instantly go to player.
 
Back
Top Bottom