Header Banner
WonderHowTo Logo
WonderHowTo
Other Languages
wonderhowto.mark.png
Gadget Hacks Next Reality Food Hacks Null Byte The Secret Yumiverse Invisiverse Macgyverisms Mind Hacks Mad Science Lock Picking Driverless

How to Create 2D games with the cocos2d framework for the iPhone

"How to Create 2D games with the cocos2d framework for the iPhone" cover image

You can create basic 2D games with Objective C and the frameworks that the Apple iPhone already has, but the cocos2d framework allows developers to make their games much better, with animations, sprites, cool menus, special effects and more! Most game developers for the iPhone start out using cocos2d because it's a powerful tool, and best of allβ€” it's free.

Download cocos2d now, and start making games!

1. Downloading the cocos2d framework

2. Setting up a cocos2d template

3. Creating sprites

4. Make stuff move

5. "I like it when you touch me" - user integration

6. Creating menus and menu items

7. Creating scenes

8. Intro to actions

9. Examples of actions

10. Sequence, spawn and repeat actions

11. Repeat, RepeatForever and erase

12. Creating RPG with titled map

13. Adding the map to the scene

14. Using object layers in tiled

15. Adding characters to the RPG

16. Moving the camera around

17. Make the dude move!

18. Make stuff to bump into

19. Converting the map to coordinates

20. Watch the dude bump into stuff!

Apple's iOS 26 and iPadOS 26 updates are packed with new features, and you can try them before almost everyone else. First, check Gadget Hacks' list of supported iPhone and iPad models, then follow the step-by-step guide to install the iOS/iPadOS 26 beta β€” no paid developer account required.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!