We have already learned now to add objects to the screen and how to do some things with them; that’s enough for a simple games. But there is one more thing left unexplained about our default program and this is the screen size.
…We have already learned now to add objects to the screen and how to do some things with them; that’s enough for a simple games. But there is one more thing left unexplained about our default program and this is the screen size.
…If you need to perform few actions one by one over the same object you can use the Sequence class.
For example the blue ship in our previous demo appears to be facing north. If we want it to fly to the right we should first rotate it by 90 degrees and then perform the move.
…In previous articles we learned how to show images and process keyboard event. Now it’s time to do something interesting with objects on the screen.
…Keyboard processing can be another example of CC_CALLBACK usage.
There was one moment in the default program that still remains unexplained. That’s the button that closed the application.
…