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

clipping a slice

 
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: Sun Dec 26, 2010 9:31 am    Post subject: clipping a slice Reply with quote

particularly a text slice. is there a way to do this?

by pixel would be amazing, by line would work just fine.

as in:

"i'm a text slice and i think i'm so cool
because you can read me and theres
no way to shut me up lalalalalalalala"

showing up as:

"i'm a text slice and i think i'm so cool
because you can read me and theres"

or:

"because you can read me and theres
no way to shut me up lalalalalalalala"

while still having the full text stored inside the slice?
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sun Dec 26, 2010 2:38 pm    Post subject: Reply with quote

You can clip slices to a rectangle. I'm also working on some line-by-line scrolling features for textslices. To clip a slice, put it in a container slice of the correct size and position, and set the container to clip with 'set slice clipping'

For example, to hide the top 10 pixels (one line) of a text slice, parent it to a sufficiently large container slice set to clip, and offset it at 0,-10 so that the top 10 pixels are over the edge of the container.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
ShakeyAir




Joined: 27 Apr 2004
Posts: 93

PostPosted: Tue Dec 28, 2010 12:33 pm    Post subject: Reply with quote

awesome. thanks!

EDIT:while im at it...

is there still no way to check text box conditionals from a plotscript?

ive gotten around it before but it would be much easier if i didn't have to...
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Dec 28, 2010 10:58 pm    Post subject: Reply with quote

Nope.

We have some plans for improvements to Textbox conditionals; after the next release would be good time to work on them. It would also be a good time to add some script commands for them.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
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