There is a tileset bug that I have no clue what went wrong

Joined
Dec 31, 2018
Messages
2
Reaction score
0
First Language
VietNamese
Primarily Uses
RMVXA
I mark all the walls X but when I test play the game, the character still walks on the wall?
What should I do?
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,387
Reaction score
581
First Language
Italian
Primarily Uses
RMVXA
Check your first tile in your B tileset, its passability MUST be a star.
 
  • Like
Reactions: Bex
Joined
Dec 31, 2018
Messages
2
Reaction score
0
First Language
VietNamese
Primarily Uses
RMVXA
Check your first tile in your B tileset, its passability MUST be a star.
Wow I changed that tile's passability to a star and it worked! But why does it have to be a star? Im pretty confused :kaoback:
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
30,033
Reaction score
7,027
First Language
German
Primarily Uses
RMMV
But why does it have to be a star?
That is the zero tile, which means it is everywhere where you did not place a different upper tile

maps are stored by numbers, and the default number for every tile is zero.
That means that every tile in your map is filled with that first B tile when it is created.

For this reason the tile has to be transparent (the engine guarantees that, even if your B sheet has a tile in that position it will vanish in the editor) and its passability has to be star, because star means "look at the ground tile below to check for passability".

if it were passable, it would make all your walls passable and if it were impassable it would make all your floors impassable as well as the upper layer has priority over the lower level on map passability.
 
  • Like
Reactions: Bex

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Learning Action Sequences!
ANY FEEDBACK APPRECIATED!

Online Platformer TEST DEMO 0.1 - 4 simple Maps. Just jumping test. (I still have 2 minor problems to fix).
So ms store had an idea to nuke the the entire app when the file integrity is slightly broken.
Im on another months long scripting high. I wonder if I can go SSJS3?

Version Fille in english is now complete!
Download the game on itch.io:
Talk about it here: https://forums.rpgmakerweb.com/index.php?threads/120802/

Enjoy and share!

Forum statistics

Threads
98,037
Messages
948,736
Members
129,293
Latest member
ZeroR
Top