Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

tile layer order

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
ShakeyAir




Joined: 27 Apr 2004
Posts: 93

PostPosted: Fri Jun 04, 2010 10:23 am    Post subject: tile layer order Reply with quote

is there any way to change this with plotscripting? like say, tile layer 2 is above heroes, can i do anything to make it below heroes?
Back to top
View user's profile Send private message
NeoSpade
Of course!




Joined: 23 Sep 2008
Posts: 249
Location: Wales GB

PostPosted: Fri Jun 04, 2010 10:48 am    Post subject: Reply with quote

I'm not sure if you mean dynamically switching mid-game, but on the map data screen, go to layers and tilesets, then hold ctrl and the up arrow, and it'll put layer 2 below the heroes and NPCs.

If you do want it dynamically, you could always try faking it by using Load tile set and load layer 2's default tiles on layer 1 and layer 1's on layer 0, as for layer 0's, not sure.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Fri Jun 04, 2010 12:05 pm    Post subject: Reply with quote

You can't currently re-order map layers, but when I finish converting the map layers to slices then it will be pretty easy.

The code to do it will look something like this when it becomes possible:

Code:

variable(layer, heroes)
heroes := lookup slice(sl:map heroes)
layer := lookup slice(sl:map layer 2)

move slice above(heroes, layer)

move slice below(heroes, layer)



But as I say, that doesn't work yet.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group