Slick Forums

Discuss the Slick 2D Library
It is currently Mon May 20, 2013 1:36 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Sep 06, 2008 6:48 pm 
Offline
User avatar

Joined: Tue Nov 06, 2007 7:33 am
Posts: 37
I'm using a tiledmap in my game, and Like a lot of people, I put placeholders for dynamic objects in the layer above. The problem is, I use "placeholder sprites" to see where these are, and when I draw the map, it renders these sprites along with the object that is added at that point.

So pretty easy question, is there a way to only render a certain (ie bottom) layer?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 06, 2008 7:12 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
http://slick.cokeandcode.com/javadoc/or ... %20boolean)

The parameter "l" specifies which layer to render.

Kev


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 07, 2008 4:16 am 
Offline
User avatar

Joined: Tue Nov 06, 2007 7:33 am
Posts: 37
Ahh thank you.

I saw those, but that part apparently didn't stick out. Thanks again!


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