ADAMWILLARD'S PROFILE
AdamWillard
22
Search
Filter
RMVXA Player + Event Passable Glitch
I am running into a critical error in my game that I have just noticed. I am still determining if this is due to any scripts or modifications to the core, which has been very minimal.
Glitch:
I have a event that walking towards the player with the options:
Though, Above Characters, and a Parallel Process with Conditional Branch that checks and compares the x and y of the player and event to display a death animation.
$game_player.x == $game_map.events.x && $game_player.y == $game_map.events.y
Sure you have seen this all before.
Now the problem occurs if the player and event walk into each other at the same exact time. This forces the player to pass through the event to the next square without the Conditional Branch having time to fire off.
> = Player facing right
< = Event facing left
| | = Tile
|x| = Blank Tile
Example:
|>| x |<| (Walking one tile left as event walks one tile right)
|<| x |>| (Passed through the event with correct timing WTF???)
Has anyone see this before or know of a better way to write the Conditional Branch so it checks as the player is moving between half tiles? Any feedback would be great. I can provide a demo if you are unclear what I am talking about.
Thanks
Glitch:
I have a event that walking towards the player with the options:
Though, Above Characters, and a Parallel Process with Conditional Branch that checks and compares the x and y of the player and event to display a death animation.
$game_player.x == $game_map.events.x && $game_player.y == $game_map.events.y
Sure you have seen this all before.
Now the problem occurs if the player and event walk into each other at the same exact time. This forces the player to pass through the event to the next square without the Conditional Branch having time to fire off.
> = Player facing right
< = Event facing left
| | = Tile
|x| = Blank Tile
Example:
|>| x |<| (Walking one tile left as event walks one tile right)
|<| x |>| (Passed through the event with correct timing WTF???)
Has anyone see this before or know of a better way to write the Conditional Branch so it checks as the player is moving between half tiles? Any feedback would be great. I can provide a demo if you are unclear what I am talking about.
Thanks
Pages:
1













