We really wore our fingers raw in our last tutorial by running dozens of touch events! In this tutorial I will be showing you how to make a gorgeous button-filled menu for your iOS app. By menu, I mean an array of buttons that can either be made from an image label or a text […]
Welcome back to our Cocos2D tutorial series! Last time we went over the code that is used to move sprites on the screen. In this tutorial, I will be covering touch events. There are four touch events that can occur in the process of touching the screen of any touch-enabled device. These are: Touch […]
In our last tutorial, we covered making a sprite appear on the screen. In this tutorial, we will be moving a sprite across the screen by using a technique called “animation”. In animation, a succession of new positions are combined to give the illusion of movement. Think “Steamboat Willie”, the famous Walt Disney cartoon. It was […]
Okay, now that you’ve successfully installed Cocos2D for iPhone, let’s go over making a project and displaying a sprite. First off, we need to create a new project. This is done by opening Xcode and going to File -> New Project. Alternatively, Hit the “Create a new Xcode project” button in the welcome window. In […]
I’m assuming you already downloaded Xcode. Try to get the latest version, though Xcode 3 works just as well. I am also assuming you are using a Mac. Doesn’t make much sense to try and install Cocos2D on a platform, which…Well, I’m sure you get the point. My drawling on won’t install Cocos2D on your […]
Byte Revel was launched in May of 2011, with the goal of becoming a quality technology blog. Behind the scenes are a couple of college students with a passion for all things tech. Post topics include news, tutorials, commentaries, software, hardware, and more! Thank you for being a valued reader. Because of support from people like you, we are gradually growing! Want to send us a comment, question, or suggestion? Fill out our contact form!