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,421
Reaction score
596
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
31,370
Reaction score
7,678
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

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,231
Members
137,607
Latest member
Maddo
Top