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

BUG! overhead Tiles Above Layers!

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
Misac
Lone Game Dev




Joined: 09 Aug 2005
Posts: 27
Location: São Paulo, Brazil

PostPosted: Mon Dec 15, 2008 3:51 am    Post subject: BUG! overhead Tiles Above Layers! Reply with quote

When i was Doing some Weather effects to my game i have noticed that overhead tiles are above from layer 2, it is realy a bad thing cus it will make easy to found some secrets on the map.
_________________

"Live and Inoperative"
Back to top
View user's profile Send private message Send e-mail MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Mon Dec 15, 2008 6:41 am    Post subject: Reply with quote

Due to backwards compatibility it's too late to change it (some crazy people have already exploited it). There's usually no reason to use layers and overhead tiles at the same time, however you probably are stuck due to there only being one overhead layer (which will change in the future).

You can probably get around it by drawing some special tiles for your layer 2 which look like the weather tile over the overhead tile.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Mon Dec 15, 2008 7:57 am    Post subject: Reply with quote

Are we ever going to add more tile layers or is 3 as high as it's going to go?
_________________
My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah...
Back to top
View user's profile Send private message AIM Address
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Mon Dec 15, 2008 8:07 am    Post subject: Reply with quote

You probably shouldn't be using overhead tiles at all. They are still supported for backwards compatibility of course, but for all new maps you should probably be using tiles in layer 2

Yes, we will add the option for more layers in the future. See 'Plan for slice tree' to learn more about the long term plans for layering. Not only will you be able to add more map layers, but you will be able to have precise plotscripted control over the layering of many different things like text boxes, menus, script strings, and script sprites
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Drizzle
Who is the Drizzle?




Joined: 12 Nov 2003
Posts: 432

PostPosted: Mon Dec 15, 2008 10:30 am    Post subject: Reply with quote

All of this "slice tree" business has me salivating. One question in relation to that though... Will we ever be able to do something like this? (easily?)



EDIT: I mean the lantern in the darkness thing. I probably should've been more clear on that.
_________________
My name is...
The shake-zula, the mic rulah, the old schoola, you wanna trip? I'll bring it to yah...


Last edited by The Drizzle on Mon Dec 15, 2008 11:16 am; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
Misac
Lone Game Dev




Joined: 09 Aug 2005
Posts: 27
Location: São Paulo, Brazil

PostPosted: Mon Dec 15, 2008 10:58 am    Post subject: Reply with quote

i think i will do it whit NPCs it a good way too and a bit less complicated for me
_________________

"Live and Inoperative"
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Mon Dec 15, 2008 2:39 pm    Post subject: Reply with quote

The Drizzle wrote:
All of this "slice tree" business has me salivating. One question in relation to that though... Will we ever be able to do something like this? (easily?).


Maybe. If I was going to try to make something like that, I would probably:

* Wait until slice trees have progressed far enough that we can add map layers and manipulate them with scripting
* Create a "candlelight" map layer that looks like the black space, with transparent space where the light shines.
* Insert the "candlelight" layer right above layer 2
* anchor the "candlelight" layer's position to the hero's position.

The first step, of course, is the hard part :)
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 -> The Arcade All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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