israelCanul / rokon

Automatically exported from code.google.com/p/rokon
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Suggestion: Custom texture buffer #119

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

setTexture(Texture texture, int x, int y, int width, int height) 

What is the expected output?

Texture of drawable is set to a windowed area within the texture asset.

What do you see instead?

N/A

What version of Rokon are you using?

Rokon 2.03

On which version of Android are you experiencing this?

Android 1.5

Please provide any additional information below.

Currently textures can be set to an entire texture asset or to a predefined  
tile within the asset.  This additional call would allow the coder to set the 
texture to an arbitrary window within a texture asset.  This allows for 
scrolling textures and the use of pre-compiled texture atlases that are not 
compatible with the Rokon tiling system.

Original issue reported on code.google.com by richwo...@gmail.com on 17 Jul 2010 at 12:59

GoogleCodeExporter commented 8 years ago
Good idea

Original comment by rtaylor205@gmail.com on 25 Jul 2010 at 9:32

GoogleCodeExporter commented 8 years ago

Original comment by rtaylor205@gmail.com on 17 Aug 2010 at 8:05