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
Game Design Careers with Brenda Romerowith Brenda Romero54m 41s Beginner
iOS 9 App Development: GamePlayKitwith Tammy Coron1h 31m 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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.