Adding images to Xcode project Creating Sprites Compile And Run The easiest way to create sprites is using some image file(s)! I will create a new project called "sprite" and add some image files to the Resources folder in Xcode and … [Continue reading]
Sprite
Sprites are the backbone of all games. They are the 2D images that move around in a game and are animated. They are the heroes and villains of our games! We will use them a lot! So lets jump into it and start making some sprites: Creating … [Continue reading]
Node Callbacks
The default update() method Other callback related methods Schedule Custom Methods Schedule Lambda Functions In the previous post called Node Creation, we created simple examples of drawing shapes on the screen using the draw() method of … [Continue reading]
Node Actions
How Does It Work? Node Parenting Example, Using Actions Actions List Simple Actions Easing Actions Simple Actions Time/Flow Actions Callback Actions Camera Actions Other Actions The Action Manager Actions are … [Continue reading]
Node Parenting
One of the features of the Node class is that you can parent them together and create a hierarchy of nodes. This allows us to change the transformation of a parent node and cause its children nodes to follow suit and do the same. Unlike in real life, … [Continue reading]