[RESOLVED] Damage from events passing above the player?

Status
Not open for further replies.

BreakerZero

Veteran
Veteran
Joined
Jul 8, 2018
Messages
974
Reaction score
417
First Language
English (USA)
Primarily Uses
RMMV
I'm working on a "split pieces" boss where you have to engage the enemy four times (once for each quarter of hp) but after each round (or if you don't engage within a second and a half) the boss splits and you have to chase its pieces before you get another crack at doing damage. (+1 if you get what the boss is built against.)

Anyway, I have tried like two different approaches to the split - one at player level (but that only extends the fight due to roadblocked pieces) and the other above the player. Now to really nail the homage that I'm going for I want to check in my logic for the X and Y of a given piece (for movement only the X is important) and if the player is standing under the piece at the wrong moment incurs a set amount of damage for the collision. Any ideas?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,340
Reaction score
8,077
First Language
German
Primarily Uses
RMMV
parallel process, but you need to add waits to prevent unneccessary lag as well as to prevent getting damaged sixty times per second.
 

BreakerZero

Veteran
Veteran
Joined
Jul 8, 2018
Messages
974
Reaction score
417
First Language
English (USA)
Primarily Uses
RMMV
That did it. Thanks again!

EDIT: As a heads up, it is still possible to dodge the pieces at the very last second... and it also doesn't account for your follower settings. So this obviously ain't foolproof.
 
Last edited:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
41,861
Reaction score
14,510
First Language
English
Primarily Uses
RMMV

I've moved this thread to MV Support. Please be sure to post your threads in the correct forum next time. Thank you.



This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

Kind of relieved that I had medibang installed when I need to edit Sprite I was about to download gimp but I remember I had medibang installed lol
Voting for the first round of the Map Madness Tournament is now live! Vote for your favorite in each matchup!

Finally started working on Grim Trigger episode 2 today :LZScat: it's half comic/half visual novel!

GfY3Rwj.png
Is it interesting to get more backstory on villains? A key moment in their past, their childhood, or maybe something that shows they've always been that way? To see or not to see?
"Everything tastes like chicken until it's chicken, then it doesn't taste like chicken."
Context: chicken samosas do not taste like chicken. I thought it was veggie samosas.
Just another ordinary evening.

Forum statistics

Threads
110,365
Messages
1,052,625
Members
143,398
Latest member
Rintosi
Top