View Issue Details

IDProjectCategoryLast Update
0009840Shattered HavenBug - GameplayJan 4, 2013 6:21 pm
ReporterGameMaker24 Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Summary0009840: PlayerAt tile sensitivity can be avoided if the tile above it is water.
DescriptionTo put the following situation in context, I have created a bridge over deep water that is scripted to "break in front of you" if you try to cross it.

Normally, when the player walks east (or west) across the middle of a tile and steps on one that triggers a script, the script runs. But, when the player walks across the top of the "event tile", while staying close to a water tile above it, the player can keep walking without the script ever running.

This is a tough one because, at that "height" on the tile, the game considers the player to actually be on the water tile, but the water tile is forgiving it for getting that close, as it should.

I don't actually need to have a solution at this time because I've simply placed a "water rocks" tile above the bridge's event tile. This may create loopholes for other scripted events in the future, however.


TagsNo tags attached.
Internal WeightDiscussion Only

Activities

Chris_McElligottPark

Jan 4, 2013 6:21 pm

administrator   ~0029551

* Previously, the PLAYERAT and PLAYERATANY checks were based on where the center of your character was. So if you could get past a tile with the center of your character not being on it, then you could do some funky things.
** Now if your character's collision bounds intersect with the row, column, or tile's bounds in question at all, it triggers.
** This has only been tested so well, so if you see anything strange from it, let me know!

Issue History

Date Modified Username Field Change
Oct 28, 2012 8:22 pm GameMaker24 New Issue
Oct 28, 2012 8:22 pm GameMaker24 Status new => assigned
Oct 28, 2012 8:22 pm GameMaker24 Assigned To => Chris_McElligottPark
Jan 4, 2013 6:21 pm Chris_McElligottPark Note Added: 0029551
Jan 4, 2013 6:21 pm Chris_McElligottPark Status assigned => resolved
Jan 4, 2013 6:21 pm Chris_McElligottPark Resolution open => fixed