Slick Forums

Discuss the Slick 2D Library
It is currently Fri May 24, 2013 11:56 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Clipping issues
PostPosted: Sat Jan 21, 2012 9:29 pm 
Offline

Joined: Thu Jan 12, 2012 4:12 am
Posts: 3
So I am doing some small things and thought I would start messing around with clipping. I can't seem to figure out why I get this issue and it seems elementary. I set a clip and it shows everything within it, and then I move the clip around using input, changing the x and y values. After I move the clip area around the images/polygons are now flickering, till i move the clip area over it again. I feel like I am missing something really simple. Any thoughts?
-LmpPst


Top
 Profile  
 
 Post subject: Re: Clipping issues
PostPosted: Sat Jan 21, 2012 11:52 pm 
Offline
Regular
User avatar

Joined: Thu May 05, 2011 8:35 pm
Posts: 231
Location: Somewhere between the bits and bytes
You need to clear the clipping before you can set a new clipping position.

_________________
For every new problem, a new source of solutions has come to exist.


Top
 Profile  
 
 Post subject: Re: Clipping issues
PostPosted: Sun Jan 22, 2012 12:23 am 
Offline

Joined: Thu Jan 12, 2012 4:12 am
Posts: 3
Thanks, I was doing either or, not both clearing together. But after you said that it clicked.
g.clear();
g.clearClip();
-LmpPst


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group