What is going on? (rmxp acting strange)

Started by GrimTrigger, May 03, 2012, 10:03:31 pm

Previous topic - Next topic

GrimTrigger

May 03, 2012, 10:03:31 pm Last Edit: May 03, 2012, 11:58:09 pm by GrimTrigger
I was going back to my first map to look it over, which is generated from a master tile set. Up until yesterday I had no issues with which tiles could be crossed by the player or not but all of a sudden I'm encountering a big problem. Normally, I've had the first and second layer able to create barrier, such as the water tile forming rivers, undulations making short hills, etc. For whatever reason, now only the third layer, (topmost before the event layer) seems to retain these properties. Essentially, I can cross almost anything unhindered now, but some tiles still block me, with no clear reason as to why.

tl;dr Unknown why I can walk across tiles that normally would stop me. Seems to be layer related, but inconsistent.

GrimTrigger

wow, no takers? I'm convinced it's some weird passage issue. If i can't resolve it, I'm not sure I can make a game only using the third layer as the barrier one. Might just dump this program, if it isn't even going to function properly....

winkio

probably need to fix the priority on the empty background tile of your tileset

AliveDrive

Could you maybe post a screenshot?

I don't quite understand the problem.
Quote from: Blizzard on September 09, 2011, 02:26:33 am
The permanent solution for your problem would be to stop hanging out with stupid people.

GrimTrigger

Quote from: AliveDrive on May 05, 2012, 09:00:02 pm
Could you maybe post a screenshot?

I don't quite understand the problem.



Screen shot wouldn't help. Just imagine you can walk across a tile that normally would stop you. Say you set a tile in the tileset that shows a stump, and you set it so you can't walk across it. Normally, no matter which layer I place that tile on, the tile would prevent me from crossing.

Now, all of a sudden, I find only the third layer seems to keep the restriction you place in the tileset tab in place....all other layers let you waltz straight across.

winkio

Quote from: winkio on May 05, 2012, 12:36:14 am
probably DEFINITELY need to fix the priority on the empty background tile of your tileset

Landith

^^ That's what I'm thinking. You probably didn't use the default empty tile and one of your white tiles are non-passable.

Zexion

or check to see if it only happens in testing mode, try it on a blank or clean project. This has happened to me before, though I don't remember what I did to fix it. All I know is at one point I had the player able to run using ctrl+arrow keys, and that cause me to be able to run through everything. I later learned that if you hold down ctrl while walking in test mode, it ignores priorities.

Also tell us what scripts you are using :P

Heretic86

If you use Empty Tiles to erase tiles you dont want, make sure you only use the one in the very Top Left corner.  The other Empty Tiles will allow your player to seemingly walk through unwalkable areas.

Quick Tip:  I find it useful to take one of those Empty Tiles and set it to be Unpassable by the player with no priority.  I find lots of places where it is useful for preventing passage over things that shouldnt allow passage, like the edges of Shadow Tiles for Large Trees.  Took me a while to figure that one out.
Current Scripts:
Heretic's Moving Platforms

Current Demos:
Collection of Art and 100% Compatible Scripts

(Script Demos are all still available in the Collection link above.  I lost some individual demos due to a server crash.)

GrimTrigger

Quote from: Heretic86 on May 06, 2012, 05:21:33 am
If you use Empty Tiles to erase tiles you dont want, make sure you only use the one in the very Top Left corner.  The other Empty Tiles will allow your player to seemingly walk through unwalkable areas.

Quick Tip:  I find it useful to take one of those Empty Tiles and set it to be Unpassable by the player with no priority.  I find lots of places where it is useful for preventing passage over things that shouldnt allow passage, like the edges of Shadow Tiles for Large Trees.  Took me a while to figure that one out.


Yep that fixed it. Thanks. I didn't think that one tile was any different than the others....now I need to go over all these maps where I've erased things with whatever blank tile was available.....


Spaceman McConaughey

Quote from: Heretic86 on May 06, 2012, 05:21:33 am
If you use Empty Tiles to erase tiles you dont want, make sure you only use the one in the very Top Left corner.  The other Empty Tiles will allow your player to seemingly walk through unwalkable areas.

Quick Tip:  I find it useful to take one of those Empty Tiles and set it to be Unpassable by the player with no priority.  I find lots of places where it is useful for preventing passage over things that shouldnt allow passage, like the edges of Shadow Tiles for Large Trees.  Took me a while to figure that one out.


Wow. This has fixed the problem I've had for a few years. THANK YOU.

I feel like such an idiot for not realizing that was it... ._.