The Complete First Session of our tvOS Side Scroller Tutorial Series
In this lengthy series our students will learn how to create a retro 2d-style side scroller game from scratch for the new Apple TV, then for any iOS device. The project will be initially developed using the tvOS template, then you’ll see how to take most of the same code and use it for an iOS app. We’ll cover all the essentials to making a side scroller: building a physics-based environment (with platforms, vines, pipes, collectibles), programming a an easy character to move using swipes, adding the HUD (for things like Score or a Lives label), sound and much, much more. Toward the end of this session we’ll also discuss how to add a tvOS target to an existing iOS project and share code / assets between the two targets.
Animating Textures for the Player
Initial Character Controls
Double Jumping, Fine-tuning Friction and Restitution
Making the Camera and GUI Follow the Player
Climbable Poles or Vines
Hanging onto Moving Poles or Vines
Pipes and Portals to Other Levels
Using the same code to a Universal iOS Project
How to add a tvOS Target to an Existing iOS Project
Project Files (end of Session 1)
As always, CartoonSmart students can download the Xcode projects for the course….