By
iPhone Game Tutor | Published on
March 3, 2011 in
Cocos2d, Intermediate and Match 3.
Tags: actionWithTarget, CCDirector, ccTouchesBegan, Cocos, Download, full game, game source, iphone, iTouch, locationInView, sharedDirector, slide image, source code, tutorial, Tutorials.
So, we’ve set the ground work to start actually building a game with our menu, sprite, touch and animations tutorials using cocos2d. Now lets try something a little more adventurous – Lets actually create a simple “match 3″ game. What’s is a match 3 game, you may be asking… Well you’ve played them before I’m sure if you’ve ever played a flash game on the internet (The most famous of them being bejeweled). You can see the full game here – It’s free for the full game now! Drop Dead – Check it out now on itunes. The game play mechanic is very straight forward -
- You create tiles with different looks
- You randomly place those tiles in a 7×7 or 8×8 grid
- If three of the same objects line up either vertically or horizontally they all get removed from the grid
- All objects then fall to fill the gaps left by the removed tiles
Done. Can’t we do it… Hell yeah we can… So lets ge started.
Source code after the break!
Continue reading ‘Building a Match 3 Type Game’
By
iPhone Game Tutor | Published on
September 3, 2010 in
Beginner, Cocos2d and Getting Started.
Tags: Build, class, Cocos, cocos2d, code, Download, Example, game, iPad, iphone, Mac OS, objective-c, OpenGL, programming, sample, source, sprites, template, tutorial, vector, view, wiki.
Cocos2D for iPhone is a great open source framework that makes it easy to make some very impressive 2d games with much less effort than having to know OpenGL directly or rely on a third party system that might have performance issues or be unnecessarily bloated. From the official cocos2d for iphone website:
Cocos2D for iPhone is a framework for building 2D games, demos, and other graphical/interactive applications. It is based on the cocos2d design: it uses the same concepts, but instead of using python it uses Objective-C.”
Many of the most complex features are done for you, but like any open source software you can make changes as required. I however, doubt you will need to do many modifications on your own given that it’s very easy to subclass and handle drawing yourself as you become more experienced. Using Cocos2d is really one of the best ways to get your feet wet with OpenGL programming and learning Objective-C. HOWEVER, it is a programming language and that means you will need to understand the fundamental concepts of programming.
Continue reading ‘Getting Started with Cocos2d’
By
iPhone Game Tutor | Published on
September 2, 2010 in
Beginner and Tutorials.
Tags: Boo, Build, Builder, class, Cocos, cocos2d, code, developer, Development, documentation, editor, engine, Example, framework, game, iphone, Mac OS, objective-c, performance, Platforms, programmer, sample, Script, Scripting, source, source code, sprites, Torque, tutorial, Unity, Unity Cons, Unity Pro, Unity Pros, view, XCode.
So you want to build a game and don’t know where to start. This is a very common issue that EVERYONE experiences when they start. The answer is: “It depends.” Seriously, don’t go away, let me explain…
Torque vs Unity
Unity vs Cocos2d
Everyone has an opinion and all the frameworks have their plusses and minuses. Continue reading ‘iPhone Game Development – Getting Started’
The site iPhone Game Tutorials came about like most things come about out of a need for a place where people can get a jump start into the iPhone game business. The internet is a big place, but it can sometimes feel a little more intimidating when you’re not sure what the right question is moving forward. Trust me…you need to have the right questions!
So this is where we stand – we here over at iphonegametutorials.com feel that we can hopefully answer a few of those questions, or at least put people on the right track.
- What do I need to get started in iPhone game development?
- What development framework should i use? Unity 3d? Cocos2d?
- How do I move a ball on the screen? How do I make a score counter? How do I use multi-touch? Accelerometer?!?!?!
These questions and more are the questions we hope to answer and along the way maybe make some good friends
So please, download the tutorials or visit our knowledgeable iphone game development forums and ask us a question – maybe even answer one or two while you’re at it. We want to give people the right start and hopefully make some great games together in the process.
Sincerely,
MajorTom (aka Walter)
http://www.iphonegametutorials.com
Recent Comments