Layer Galv's script problem

Ally

Linked Rooms Games Founder - Fleshforward
Member
Joined
Mar 17, 2012
Messages
332
Reaction score
154
First Language
Italy
Primarily Uses
RM2k
Last edited by a moderator:

Ally

Linked Rooms Games Founder - Fleshforward
Member
Joined
Mar 17, 2012
Messages
332
Reaction score
154
First Language
Italy
Primarily Uses
RM2k

Guiguimu

Walking Disaster
Veteran
Joined
Oct 1, 2015
Messages
609
Reaction score
7,301
First Language
Portuguese
Primarily Uses
RMVXA
Try to look into the z value. If it is 0 it will be displayed as ground. Try a higher value...


Hope it helps
 

Ally

Linked Rooms Games Founder - Fleshforward
Member
Joined
Mar 17, 2012
Messages
332
Reaction score
154
First Language
Italy
Primarily Uses
RM2k
But if I insert the z value > 0, the picture will not be seen on top the character?
 

Guiguimu

Walking Disaster
Veteran
Joined
Oct 1, 2015
Messages
609
Reaction score
7,301
First Language
Portuguese
Primarily Uses
RMVXA
No, because Z= 0  means the ground. For it to be shown above the character it needs to be higher. 


In the script it says


z value    - what level the layer is displayed at (ground is 0)
 
Last edited by a moderator:

Ally

Linked Rooms Games Founder - Fleshforward
Member
Joined
Mar 17, 2012
Messages
332
Reaction score
154
First Language
Italy
Primarily Uses
RM2k
No, because Z= 0  means the ground. For it to be shown above the character it needs to be higher. 


In the script it says


z value    - what level the layer is displayed at (ground is 0)
I've tried to modify the script call, but not function:

Code:
layer(18,2,["map18-ground",0,0,255,
10,0,0,0])
refresh_layers
 

Guiguimu

Walking Disaster
Veteran
Joined
Oct 1, 2015
Messages
609
Reaction score
7,301
First Language
Portuguese
Primarily Uses
RMVXA
Try like this:


layer (18,2,["map18-ground", 0,0,255,700,0,0,0])


This will make the layer above the char
 

Ally

Linked Rooms Games Founder - Fleshforward
Member
Joined
Mar 17, 2012
Messages
332
Reaction score
154
First Language
Italy
Primarily Uses
RM2k
The layer is ground, so it must not stand above the character... but above the tileset..


As I have already explained, in the images at certain points of the map, the image files are displayed, while elsewhere in the map, no:


Senza titolo-4.pngSenza titolo-3.png


Senza titolo-1.png


Senza titolo-2.png


For example, in the mobile is not displayed..
I do not know if this can depend on the terrain number of the library.
 

Guiguimu

Walking Disaster
Veteran
Joined
Oct 1, 2015
Messages
609
Reaction score
7,301
First Language
Portuguese
Primarily Uses
RMVXA
Oh ok I completely misunderstood! Sorry about that. Try 50 as Z value. usually its bellow char and above everything else, at least with other scripts. 


Try that one. If it doesn't work keep trying z values.
 

Ally

Linked Rooms Games Founder - Fleshforward
Member
Joined
Mar 17, 2012
Messages
332
Reaction score
154
First Language
Italy
Primarily Uses
RM2k
Oh ok I completely misunderstood! Sorry about that. Try 50 as Z value. usually its bellow char and above everything else, at least with other scripts. 


Try that one. If it doesn't work keep trying z values.
I have carried out some tests, and does not work if the number ground tag is greater than 0 D=
 

Guiguimu

Walking Disaster
Veteran
Joined
Oct 1, 2015
Messages
609
Reaction score
7,301
First Language
Portuguese
Primarily Uses
RMVXA
If you wish send me the project and I will look into it.


pato.do.exilio@hotmail.com
 

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

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,583
Latest member
write2dgray
Top