Join Todd Perkins for an in-depth discussion in this video Understanding different scale modes, part of iOS Game Development: Swift 2.0 and SpriteKit.
- With multiple IOS devices and…device resolutions out there,…its important to understand how to scale your scenes…so that you can appropriately handle…the situations when a device is in a resolution…that you didn't necessarily target…when you developed your application.…So lets look at how to handle scale modes in Sprite Kit.…We will do this inside gameviewcontroller.swift.…This was the file that is loading the main menu.…So we can mess around with the scale mode values…to see how they work.…
But before we do that I want to go to main menu…and I want to draw some elements on the screen…so that we can see how they show and…how they get stretched or cropped…based on the scale mode that we use.…So I am going to have to zoom out a whole bunch.…So I can see the whole screen and…then I will show the utilities area…and then I am going to drag a Colour sprite out.…Now this if we look in the inspector bar,…if we go to the attributes in spectre…we will see that it is a square,…its 100 by 100, that's great.…
So we are going to put these in the…
- Creating a new SpriteKit project
- Adding and modifying sprites
- Transitioning between scenes
- Removing child sprites from parents
- Working with gravity, forces, and impulses
- Detecting collisions
- Applying particle effects
- Creating actions and action sequences
- Working with audio
- Creating frame animations
- Using cameras and lights
Skill Level Intermediate
iOS 9 App Development: GamePlayKitwith Tammy Coron1h 32m Intermediate
1. Introduction to SpriteKit
2. Add Physics
3. Work with Particle Effects
4. Work with Actions
Use an action sequence4m 8s
5. Work with Audio
6. Additional Features
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.