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

Slice questions

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
J_Taylor
The Self-Proclaimed King of Ketchup




Joined: 02 Dec 2009
Posts: 188
Location: Western NY

PostPosted: Thu Apr 29, 2010 3:31 pm    Post subject: Slice questions Reply with quote

Okay, so I think I'm getting the hang of slices. But I have a problem with knowing exactly how to integrate them.

For instance: Is there a way to attach a slice to an existing walkabout or the main menu?

And how, exactly, am I supposed to check to see if one slice is still inside another one?

Any help would be great.
_________________
Elemental: .75%
Heart of Darkness: 0% (crash)
The Mansion: .05%
Shattered Alliance: .05%

See a pattern forming? I do, dammit.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Bob the Hamster
OHRRPGCE Developer




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

PostPosted: Thu Apr 29, 2010 7:48 pm    Post subject: Reply with quote

You can't directly attach a slice to an NPC or a menu yet. Those features are planned for the future, but right now you have to fake it.

Faking it with NPCs is not too hard. Attach the slice to a map layer using "set parent". Then you have to set the slice's x and y to be the same as the NPC's pixel coordinates. I posted some examples in Baconlab's thread on Slime Salad http://www.slimesalad.com/forum/viewtopic.php?t=3525

You can't attach things to the menu layer, but the sprite layer (where slices start by default) is already on top of menus, so you could just reposition a slice to match the x and y of a menu.

To check if one slice is inside another, try the slice contains command.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
J_Taylor
The Self-Proclaimed King of Ketchup




Joined: 02 Dec 2009
Posts: 188
Location: Western NY

PostPosted: Tue May 04, 2010 4:16 am    Post subject: Reply with quote

I'll try this. I may need help with the actual scripting, though. Just warning.
_________________
Elemental: .75%
Heart of Darkness: 0% (crash)
The Mansion: .05%
Shattered Alliance: .05%

See a pattern forming? I do, dammit.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
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