Keegan

Villager
Member
Joined
Jan 14, 2018
Messages
9
Reaction score
3
First Language
Indonesian
Primarily Uses
RMMV
I want to make a treasure chest, but the size is 2x1 tiles, so the chest is wider than the RTP chest.


I know that in editor, 2x1 graphic tiles will appear as one tile, but in game, the size will follow the size of the graphics (which is 2x1).

I run it and the graphic looks good in the game, but it take 3 tiles graphic because the chest appear in the middle as graphic.
tred 1.PNG


And I can only open the chest by clicking the middle of the chest, but it doesn't work on the right side or lesft side of the chest.
I want to make the chest can be opened, by clicking any of the chest tiles and the chest is two tiles big, not 3.

tred 4.PNG

The left and right side graphics appear above the player
tred 3.PNG tred2.PNG
 

SmashArtist

Lazy Artist
Veteran
Joined
May 31, 2016
Messages
921
Reaction score
1,822
First Language
English
Primarily Uses
RMMV
You can always cut the sprite in half and use two separate events to make it up. Then you'll have the two block collision box. :)
 

Keegan

Villager
Member
Joined
Jan 14, 2018
Messages
9
Reaction score
3
First Language
Indonesian
Primarily Uses
RMMV
You can always cut the sprite in half and use two separate events to make it up. Then you'll have the two block collision box. :)
I that, but only the half of the chest is opened. :(
 

TWings

The Dragon Whisperer
Veteran
Joined
Jul 26, 2017
Messages
528
Reaction score
869
First Language
French
Primarily Uses
RMMV
Use the same switch for the 2 events so that they both open.
 

Latest Threads

Latest Profile Posts

I just don't know why, but it's funny.
5.gif
Ugh. The one time I forget to save every hour or so is also the day my computer crashes. That's life!
Even though I spent 100's of dollars on my game already. I think I might just have to give it away for free. Since I haven't heard back from people if I could use some of their graphics. Even from a global mod here. Maybe I can make a donation thing.
you know, some days you get resentful that game dev is even considered a "fun job" and other days it's like, welp, time to roll up my sleeves and code these molotov cocktails
If you suck at playing trumpets, that is probably why.

Forum statistics

Threads
115,967
Messages
1,094,492
Members
151,239
Latest member
luka1712
Top