Slick Forums

Discuss the Slick 2D Library
It is currently Wed May 22, 2013 11:44 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Jun 23, 2007 5:31 pm 
Offline

Joined: Sun Dec 17, 2006 7:32 pm
Posts: 10
We should be able to get Image reference of BigImage subimages to do some texture updates.

Something like:
Code:

public Image getSubImage(int offsetX, int offsetY) {
     return images[offsetX][offsetY];
}

public int getXCount() {
     return xcount;
}

public int getYCount() {
    return ycount;
}



The reason is that we can make texture updates from bigimage without the need of reloading BigImage that would be a lot slow.

- Nero


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 16, 2007 10:13 pm 
Offline
Site Admin
User avatar

Joined: Thu Jan 01, 1970 12:00 am
Posts: 3143
Added in SVN. In next build.

Kev


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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:  
cron
Powered by phpBB® Forum Software © phpBB Group