Hi!
I create a Main class that extends FixedFramerateGame and when I call the method addController() from class Sprites that extends Controller the addController() dont calls the update method of class Sprites…Why? :?
rootNode = new Node("rootNode");
sprite = new Sprites();
rootNode.addController(sprite);
Thx a lot!!!
You have to update rootNode every frame (for example) by calling updateGeometricState. You can look inside SimpleGame and BaseSimpleGame to see what other things you should do. There's a also a tutorial on this in the wiki I think (HelloSimpleGame or something)
Hi!!!
Yes, the problem is solved …updateGeometricState into update method…
Thx guy!!!