pingjiang / rokon

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

Texture does not work alone #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.create a RokonActivity subclass
2.create a Scene subclass
3.in the Scene class, generate a FixedBackground instance

What is the expected output?
the background image show on the screen

What do you see instead?
black screen

What version of Rokon are you using?
both 2.0.2 and 2.0.3

On which version of Android are you experiencing this?
1.5, 1.6, 2.1, 2.2

Please provide any additional information below.
I have tried different png files, and also generate GameObject added to layer, 
nothing show on the screen, after a short while, the application exits 
automatically.

Original issue reported on code.google.com by rayjun...@gmail.com on 6 Jul 2010 at 6:47

Attachments:

GoogleCodeExporter commented 9 years ago
That's not a bug, I create a TextureAtlas instance, and insert the bg texture 
into TextureAtlas, it works!

Original comment by rayjun...@gmail.com on 8 Jul 2010 at 7:34

GoogleCodeExporter commented 9 years ago
Texture should work fine on it's own too (though, it's preferred to use 
TextureAtlas anyway). I'll look into it

Original comment by rtaylor205@gmail.com on 8 Jul 2010 at 8:40

GoogleCodeExporter commented 9 years ago
Should be solved, creating a standalone Texture works for me, please test new 
trunk if unsure

Original comment by rtaylor205@gmail.com on 11 Jul 2010 at 1:16

GoogleCodeExporter commented 9 years ago
yeah, the bug has gone, it works for me too.

Original comment by rayjun...@gmail.com on 12 Jul 2010 at 5:37