zxnmbv12312312 / rokon

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

Scene.remove causing flashing of other sprites #136

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call Scene.remove() on a textured sprite
2.
3.

What is the expected output?
The sprite is removed.

What do you see instead?
The sprite is removed AND any other sprites on the screen that are z indexed 
above (in the same layer or in a higher layer) briefly flash off.

What version of Rokon are you using?
r364 (latest trunk, problem did not exist in r362 with same code)

On which version of Android are you experiencing this?
Emulater 2.2

Please provide any additional information below.

Original issue reported on code.google.com by malphig...@gmail.com on 10 Aug 2010 at 2:13

GoogleCodeExporter commented 8 years ago
My bad, not a defect after all, I had a null pointer in a class which was 
extending sprite.

However!  This was failing silently due to Scene.java -- around like 1002 of 
Scene.java is the render() method, which catches Exceptions but does not print 
any kind of error.  Would recommend a Debug error/or printStackTrace there. 

Original comment by malphig...@gmail.com on 10 Aug 2010 at 3:27

GoogleCodeExporter commented 8 years ago
It'll print some more info, sorry :)

Original comment by rtaylor205@gmail.com on 16 Aug 2010 at 1:53