So at the minute, I have my game set-up as the following:
Level (View) contains many LevelElement (View), and in the Draw method I draw all of the level elements. Also handle things like global touches on that view, to manipulate the LevelElements and thus progress the game.
Every time I start an animation, nothing happens? The animations are private members of the LevelElement instances and should not be going out of scope.
I have the feeling that i'm not supposed to be nesting views within views, but the android documentation is poor at best IMO.
The game currently has no constant game loop because it is not nessecary.
Apparently calling startAnimation on the View should be enough to get it automatically going.
I've read some simple Animation stuff on the net but nothing seems to have helped me figure out whats going off.
I don't want to be giving any code away as I want to keep this project half secretive till its release :)
Question
MiG-
So at the minute, I have my game set-up as the following:
Level (View) contains many LevelElement (View), and in the Draw method I draw all of the level elements. Also handle things like global touches on that view, to manipulate the LevelElements and thus progress the game.
Every time I start an animation, nothing happens? The animations are private members of the LevelElement instances and should not be going out of scope.
I have the feeling that i'm not supposed to be nesting views within views, but the android documentation is poor at best IMO.
The game currently has no constant game loop because it is not nessecary.
Apparently calling startAnimation on the View should be enough to get it automatically going.
I've read some simple Animation stuff on the net but nothing seems to have helped me figure out whats going off.
I don't want to be giving any code away as I want to keep this project half secretive till its release :)
Cheers,
MiG
Link to comment
Share on other sites
0 answers to this question
Recommended Posts