SlideShare a Scribd company logo
1 of 27
Download to read offline
COMPANY NAME
start
GAME DEVELOPMENT
USING SWIFT
BY SARAH HUSSEIN
JANUARY 11TH, 2016
COMPANY NAME
next
S. Hussein2
OUTLINE
Multimedia
01
02
03
04
05
06
07
Introduction
Definition of Swift Language
2D Game Development
3D Game Development
Animation & Particles
Audio & Parallax Effects
Conclusion & Demos
COMPANY NAME
next
3
OUTLINE
Multimedia
01
02
03
04
05
06
07
Introduction
Definition of Swift Language
2D Game Development
3D Game Development
Animation & Particles
Audio & Parallax Effects
Conclusion & Demos
S. Hussein
COMPANY NAME
next
4
INTRODUCTION
 
²  Programming languages don’t die easily, but
development shops do
²  Swift has the potential to become the next
programming language for creating immersive and
consumer-facing applications for years to come
² Key Features
EASE TO
MAINTAIN
LESS
CODE
SAFER FASTER
Swift Logo
MultimediaS. Hussein
COMPANY NAME
next
5
OUTLINE
Multimedia
01
02
03
04
05
06
07
Introduction
Definition of Swift Language
2D Game Development
3D Game Development
Animation & Particles
Audio & Parallax Effects
Conclusion & Demos
S. Hussein
COMPANY NAME
next
SUCCESS
STEP 01
STEP 02
STEP 03
STEP 04
6
DEFINITION OF SWIFT
²  Swift is a new programming language
for iOS, OS X, watchOS and tvOS apps
²  It builds on the best of previous
programming languages
²  Swift adopts safe programming
patterns and adds modern features to
make programming easier, more
flexible and more fun
²  With Xcode 7, Apple has made game
development more accessible to
anyone wanting to learn it
C
Objective C
Python
Java
Swift
MultimediaS. Hussein
COMPANY NAME
next
7
OUTLINE
Multimedia
01
02
03
04
05
06
07
Introduction
Definition of Swift Language
2D Game Development
3D Game Development
Animation & Particles
Audio & Parallax Effects
Conclusion & Demos
S. Hussein
COMPANY NAME
next
8
2D GAME DEVELOPMENT(1)
²  SpriteKit is a 2D game development framework for both
iOS and OS X
²  It provides all the tools required to create a complete 2D
game
²  It can create MainMenu, Gameplay , and Options Screens
²  In the gameplay screen, players, enemies, text to display
the score, and particles such as smoke and explosion can
be added
²  Some classes in SpriteKit are the basic building blocks for
creating any game
MultimediaS. Hussein
COMPANY NAME
next
9
2D GAME DEVELOPMENT(2)
There are a lot of features in SpriteKit :
²  Graphics technologies:
² Physics simulations technologies:
² Tools and improvements:
ª  Shaders
ª  Lighting and shadows
ª  Per-pixel physics
ª  Physics fields
ª  Inverse kinematics
ª  Constraints
ª  SpriteKit Editor
ª  Integration with SceneKit
MultimediaS. Hussein
COMPANY NAME
next
10
OUTLINE
Multimedia
01
02
03
04
05
06
07
Introduction
Definition of Swift Language
2D Game Development
3D Game Development
Animation & Particles
Audio & Parallax Effects
Conclusion & Demos
S. Hussein
COMPANY NAME
next
11
3D GAME DEVELOPMENT(1)
²  SceneKit is a 3D game development framework for
iOS and OS X
²  It is a high-level API built on OpenGL and OpenGL
ES, and can be integrated with SpriteKit
²  The camera, lights, and objects for the scene should
be provided
²  Predefined objects can be added, such as boxes,
spheres, tori, planes and texture
²  COLLADA files or Alembic files created in a 3D
program can also be imported
²  3D text and shapes can be added also
MultimediaS. Hussein
COMPANY NAME
next
12
3D GAME DEVELOPMENT(2)
²  SceneKit provides different light
types such as Ambient, Omni,
Direction, and Spot light
²  An editor is available to view your
scene and all the objects added to
the scene
²  SceneKit has actions that can be
performed on objects to animate
them
²  It has a physics engine for physics
simulations and collision detection
MultimediaS. Hussein
COMPANY NAME
next
13
3D GAME
2D GAME
VS.
1.  The screen
2.  The object
COORDINATE SYSTEMS
1.  The World
2.  The Object
3.  The View
4.  The Screen
COORDINATE SYSTEMS
MultimediaS. Hussein
COMPANY NAME
next
14
OUTLINE
Multimedia
01
02
03
04
05
06
07
Introduction
Definition of Swift Language
2D Game Development
3D Game Development
Animation & Particles
Audio & Parallax Effects
Conclusion & Demos
S. Hussein
COMPANY NAME
next
²  To make the game more lively and the
characters a little more believable, animation is
required
²  Sprite Sheets Concept is used to optimize the
game’s performance
²  A sprite sheet contains all the images that will
be used in the game in a single file
ANIMATION
15
ANIMATION & PARTICLES(1)
Rotating Enemie
MultimediaS. Hussein
COMPANY NAME
next
²  A particle system is a collection of sprites or
particles
²  Each particle system has an emitter from where
the particles will be created
²  SpriteKit has an inbuilt particle designer
²  It also includes a number of default particle
systems that are already included
16
ANIMATION & PARTICLES(2)
Fire
Multimedia
PARTICLES
S. Hussein
COMPANY NAME
next
17
OUTLINE
Multimedia
01
02
03
04
05
06
07
Introduction
Definition of Swift Language
2D Game Development
3D Game Development
Animation & Particles
Audio & Parallax Effects
Conclusion & Demos
S. Hussein
COMPANY NAME
next
²  Adding background music and sound effects in
SpriteKit is very easy: one-line code is needed
²  It allows the use of the .caf audio file format
and .mp3 files
²  .mp3 files are used more because are smaller in
size compared to .caf files (475 kBytes vs. 5.2
Mbytes)
²  The more added audio files, the more it will add
to the bundle size
AUDIO
18
AUDIO & PARALLAX EFFECTS
MultimediaS. Hussein
COMPANY NAME
next
²  Parallax or scrolling background is a very
popular effect in games
²  The objects in the foreground will move faster
than the objects in the background, which will
move much slower
²  It gives the illusion of depth and motion
²  These effects can be implemented in a
separate class in the SpriteKit
PARALLAX EFFECTS
19
AUDIO & PARALLAX EFFECTS
MultimediaS. Hussein
COMPANY NAME
next
20
OUTLINE
Multimedia
01
02
03
04
05
06
07
Introduction
Definition of Swift Language
2D Game Development
3D Game Development
Animation & Particles
Audio & Parallax Effects
Conclusion & Demos
S. Hussein
COMPANY NAME
next
21
SUMMARY
²  Swift programming language is becoming more and more popular for
developing iOS and OSX games
²  Foundation for developing 2D and 3D games with Swift, SpriteKit and
SceneKit
²  Good References are :
ª  The Swift Programming Language
(Swift 2.1) - Apple – 2015
ª  Learning iOS 8 Game Development
Using Swift - Siddharth Shekar - 2015
MultimediaS. Hussein
COMPANY NAME
next
22
DEMO
Multimedia
End
S. Hussein
COMPANY NAME
next
23
BACKUP SLIDES
S. Hussein
COMPANY NAME
next
24
3D GAME
2D GAME
VS.
1.  The screen
2.  The object
COORDINATE SYSTEMS
1.  The World
2.  The Object
3.  The View
4.  The Screen
COORDINATE SYSTEMS
MultimediaS. Hussein
COMPANY NAME
next
25 MultimediaS. Hussein
COMPANY NAME
next
26
3D GAME
2D GAME
VS.
1.  The screen
2.  The object
COORDINATE SYSTEMS
1.  The World
2.  The Object
3.  The View
4.  The Screen
COORDINATE SYSTEMS
MultimediaS. Hussein
COMPANY NAME
next
27 MultimediaS. Hussein

More Related Content

Viewers also liked

A swift introduction to Swift
A swift introduction to SwiftA swift introduction to Swift
A swift introduction to SwiftGiordano Scalzo
 
An Introduction To Game development
An Introduction To Game developmentAn Introduction To Game development
An Introduction To Game developmentAhmed
 
Android vs Others Operating System
Android vs Others Operating SystemAndroid vs Others Operating System
Android vs Others Operating SystemShemul Hossain
 
20160223共好 狼學
20160223共好 狼學20160223共好 狼學
20160223共好 狼學Seaneen Chen
 
Curriculum Vitae (Danette van Niekerk)
Curriculum Vitae (Danette van Niekerk)Curriculum Vitae (Danette van Niekerk)
Curriculum Vitae (Danette van Niekerk)Danette van Niekerk
 

Viewers also liked (10)

Android vs ios
Android vs iosAndroid vs ios
Android vs ios
 
A swift introduction to Swift
A swift introduction to SwiftA swift introduction to Swift
A swift introduction to Swift
 
An Introduction To Game development
An Introduction To Game developmentAn Introduction To Game development
An Introduction To Game development
 
Android vs iOS
Android vs iOSAndroid vs iOS
Android vs iOS
 
Ios vs android
Ios vs androidIos vs android
Ios vs android
 
Android vs Others Operating System
Android vs Others Operating SystemAndroid vs Others Operating System
Android vs Others Operating System
 
20160223共好 狼學
20160223共好 狼學20160223共好 狼學
20160223共好 狼學
 
Khalid Kaladi C.V
Khalid Kaladi C.VKhalid Kaladi C.V
Khalid Kaladi C.V
 
Curriculum Vitae (Danette van Niekerk)
Curriculum Vitae (Danette van Niekerk)Curriculum Vitae (Danette van Niekerk)
Curriculum Vitae (Danette van Niekerk)
 
Pana ioan dorin cv
Pana ioan dorin cv Pana ioan dorin cv
Pana ioan dorin cv
 

Similar to Game Development Using Swift Programming Language

Adobe gaming today tomorrow Trento
Adobe gaming today tomorrow TrentoAdobe gaming today tomorrow Trento
Adobe gaming today tomorrow TrentoInSide Training
 
Mobile Game Development using Adobe Flash
Mobile Game Development using Adobe FlashMobile Game Development using Adobe Flash
Mobile Game Development using Adobe Flashchall3ng3r
 
Dot Net Project Mini Game
Dot Net Project Mini GameDot Net Project Mini Game
Dot Net Project Mini Gamevarun arora
 
XNA and Windows Phone
XNA and Windows PhoneXNA and Windows Phone
XNA and Windows PhoneGlen Gordon
 
Windows phone 7 xna
Windows phone 7 xnaWindows phone 7 xna
Windows phone 7 xnaGlen Gordon
 
Ways to Choose the Right Game Development Platform.pdf
Ways to Choose the Right Game Development Platform.pdfWays to Choose the Right Game Development Platform.pdf
Ways to Choose the Right Game Development Platform.pdfMuhammad Waqas
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Himanshu Sharan
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Himanshu Sharan
 
Adobe gaming flash gamm michael
Adobe gaming flash gamm michaelAdobe gaming flash gamm michael
Adobe gaming flash gamm michaelMichael Chaize
 
Ideaworks Game Studio Profile
Ideaworks Game Studio ProfileIdeaworks Game Studio Profile
Ideaworks Game Studio Profilerobhendry
 
Metodologías de desarrollo de software en Gaming
Metodologías de desarrollo de software en GamingMetodologías de desarrollo de software en Gaming
Metodologías de desarrollo de software en GamingGlobant
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1crookedpug
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1crimzon36
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1copelandadam
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Deightonater
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1cameron1996
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1 (3)
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1 (3)Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1 (3)
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1 (3)Collegeemailbrandon
 

Similar to Game Development Using Swift Programming Language (20)

Adobe gaming today tomorrow Trento
Adobe gaming today tomorrow TrentoAdobe gaming today tomorrow Trento
Adobe gaming today tomorrow Trento
 
Mobile Game Development using Adobe Flash
Mobile Game Development using Adobe FlashMobile Game Development using Adobe Flash
Mobile Game Development using Adobe Flash
 
Dot Net Project Mini Game
Dot Net Project Mini GameDot Net Project Mini Game
Dot Net Project Mini Game
 
XNA and Windows Phone
XNA and Windows PhoneXNA and Windows Phone
XNA and Windows Phone
 
Windows phone 7 xna
Windows phone 7 xnaWindows phone 7 xna
Windows phone 7 xna
 
Ways to Choose the Right Game Development Platform.pdf
Ways to Choose the Right Game Development Platform.pdfWays to Choose the Right Game Development Platform.pdf
Ways to Choose the Right Game Development Platform.pdf
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
 
Evolution of flash platform
Evolution of flash platformEvolution of flash platform
Evolution of flash platform
 
Adobe: Adobe Gaming NOW!
Adobe: Adobe Gaming NOW!Adobe: Adobe Gaming NOW!
Adobe: Adobe Gaming NOW!
 
Adobe gaming flash gamm michael
Adobe gaming flash gamm michaelAdobe gaming flash gamm michael
Adobe gaming flash gamm michael
 
Ideaworks Game Studio Profile
Ideaworks Game Studio ProfileIdeaworks Game Studio Profile
Ideaworks Game Studio Profile
 
Y1 gd engine_terminology
Y1 gd engine_terminologyY1 gd engine_terminology
Y1 gd engine_terminology
 
Metodologías de desarrollo de software en Gaming
Metodologías de desarrollo de software en GamingMetodologías de desarrollo de software en Gaming
Metodologías de desarrollo de software en Gaming
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1
 
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1 (3)
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1 (3)Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1 (3)
Unit 73 ig1 assignment computer game audio cut sequence production 2013_y1 (3)
 

More from Sarah Hussein

Introduction to MATLAB
Introduction to MATLABIntroduction to MATLAB
Introduction to MATLABSarah Hussein
 
Real Time Application Interface for Linux
Real Time Application Interface for LinuxReal Time Application Interface for Linux
Real Time Application Interface for LinuxSarah Hussein
 
Evaluation of Chemotherapy Response in Women with Breast Cancer Using US Elas...
Evaluation of Chemotherapy Response in Women with Breast Cancer Using US Elas...Evaluation of Chemotherapy Response in Women with Breast Cancer Using US Elas...
Evaluation of Chemotherapy Response in Women with Breast Cancer Using US Elas...Sarah Hussein
 
Mechanical Properties of Collagen Fibrils
Mechanical Properties of Collagen Fibrils Mechanical Properties of Collagen Fibrils
Mechanical Properties of Collagen Fibrils Sarah Hussein
 
Magnetic Resonance Elastography
Magnetic Resonance ElastographyMagnetic Resonance Elastography
Magnetic Resonance ElastographySarah Hussein
 
Hyperspectral Image Reduction
Hyperspectral Image ReductionHyperspectral Image Reduction
Hyperspectral Image ReductionSarah Hussein
 
Electrocardiogramm Derived Respiratory Signal (EDR signal)
Electrocardiogramm Derived Respiratory Signal (EDR signal) Electrocardiogramm Derived Respiratory Signal (EDR signal)
Electrocardiogramm Derived Respiratory Signal (EDR signal) Sarah Hussein
 

More from Sarah Hussein (8)

Introduction to MATLAB
Introduction to MATLABIntroduction to MATLAB
Introduction to MATLAB
 
Real Time Application Interface for Linux
Real Time Application Interface for LinuxReal Time Application Interface for Linux
Real Time Application Interface for Linux
 
Evaluation of Chemotherapy Response in Women with Breast Cancer Using US Elas...
Evaluation of Chemotherapy Response in Women with Breast Cancer Using US Elas...Evaluation of Chemotherapy Response in Women with Breast Cancer Using US Elas...
Evaluation of Chemotherapy Response in Women with Breast Cancer Using US Elas...
 
Mechanical Properties of Collagen Fibrils
Mechanical Properties of Collagen Fibrils Mechanical Properties of Collagen Fibrils
Mechanical Properties of Collagen Fibrils
 
Magnetic Resonance Elastography
Magnetic Resonance ElastographyMagnetic Resonance Elastography
Magnetic Resonance Elastography
 
Hyperspectral Image Reduction
Hyperspectral Image ReductionHyperspectral Image Reduction
Hyperspectral Image Reduction
 
Emg article summary
Emg article summaryEmg article summary
Emg article summary
 
Electrocardiogramm Derived Respiratory Signal (EDR signal)
Electrocardiogramm Derived Respiratory Signal (EDR signal) Electrocardiogramm Derived Respiratory Signal (EDR signal)
Electrocardiogramm Derived Respiratory Signal (EDR signal)
 

Recently uploaded

Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 

Game Development Using Swift Programming Language

  • 1. COMPANY NAME start GAME DEVELOPMENT USING SWIFT BY SARAH HUSSEIN JANUARY 11TH, 2016
  • 2. COMPANY NAME next S. Hussein2 OUTLINE Multimedia 01 02 03 04 05 06 07 Introduction Definition of Swift Language 2D Game Development 3D Game Development Animation & Particles Audio & Parallax Effects Conclusion & Demos
  • 3. COMPANY NAME next 3 OUTLINE Multimedia 01 02 03 04 05 06 07 Introduction Definition of Swift Language 2D Game Development 3D Game Development Animation & Particles Audio & Parallax Effects Conclusion & Demos S. Hussein
  • 4. COMPANY NAME next 4 INTRODUCTION   ²  Programming languages don’t die easily, but development shops do ²  Swift has the potential to become the next programming language for creating immersive and consumer-facing applications for years to come ² Key Features EASE TO MAINTAIN LESS CODE SAFER FASTER Swift Logo MultimediaS. Hussein
  • 5. COMPANY NAME next 5 OUTLINE Multimedia 01 02 03 04 05 06 07 Introduction Definition of Swift Language 2D Game Development 3D Game Development Animation & Particles Audio & Parallax Effects Conclusion & Demos S. Hussein
  • 6. COMPANY NAME next SUCCESS STEP 01 STEP 02 STEP 03 STEP 04 6 DEFINITION OF SWIFT ²  Swift is a new programming language for iOS, OS X, watchOS and tvOS apps ²  It builds on the best of previous programming languages ²  Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible and more fun ²  With Xcode 7, Apple has made game development more accessible to anyone wanting to learn it C Objective C Python Java Swift MultimediaS. Hussein
  • 7. COMPANY NAME next 7 OUTLINE Multimedia 01 02 03 04 05 06 07 Introduction Definition of Swift Language 2D Game Development 3D Game Development Animation & Particles Audio & Parallax Effects Conclusion & Demos S. Hussein
  • 8. COMPANY NAME next 8 2D GAME DEVELOPMENT(1) ²  SpriteKit is a 2D game development framework for both iOS and OS X ²  It provides all the tools required to create a complete 2D game ²  It can create MainMenu, Gameplay , and Options Screens ²  In the gameplay screen, players, enemies, text to display the score, and particles such as smoke and explosion can be added ²  Some classes in SpriteKit are the basic building blocks for creating any game MultimediaS. Hussein
  • 9. COMPANY NAME next 9 2D GAME DEVELOPMENT(2) There are a lot of features in SpriteKit : ²  Graphics technologies: ² Physics simulations technologies: ² Tools and improvements: ª  Shaders ª  Lighting and shadows ª  Per-pixel physics ª  Physics fields ª  Inverse kinematics ª  Constraints ª  SpriteKit Editor ª  Integration with SceneKit MultimediaS. Hussein
  • 10. COMPANY NAME next 10 OUTLINE Multimedia 01 02 03 04 05 06 07 Introduction Definition of Swift Language 2D Game Development 3D Game Development Animation & Particles Audio & Parallax Effects Conclusion & Demos S. Hussein
  • 11. COMPANY NAME next 11 3D GAME DEVELOPMENT(1) ²  SceneKit is a 3D game development framework for iOS and OS X ²  It is a high-level API built on OpenGL and OpenGL ES, and can be integrated with SpriteKit ²  The camera, lights, and objects for the scene should be provided ²  Predefined objects can be added, such as boxes, spheres, tori, planes and texture ²  COLLADA files or Alembic files created in a 3D program can also be imported ²  3D text and shapes can be added also MultimediaS. Hussein
  • 12. COMPANY NAME next 12 3D GAME DEVELOPMENT(2) ²  SceneKit provides different light types such as Ambient, Omni, Direction, and Spot light ²  An editor is available to view your scene and all the objects added to the scene ²  SceneKit has actions that can be performed on objects to animate them ²  It has a physics engine for physics simulations and collision detection MultimediaS. Hussein
  • 13. COMPANY NAME next 13 3D GAME 2D GAME VS. 1.  The screen 2.  The object COORDINATE SYSTEMS 1.  The World 2.  The Object 3.  The View 4.  The Screen COORDINATE SYSTEMS MultimediaS. Hussein
  • 14. COMPANY NAME next 14 OUTLINE Multimedia 01 02 03 04 05 06 07 Introduction Definition of Swift Language 2D Game Development 3D Game Development Animation & Particles Audio & Parallax Effects Conclusion & Demos S. Hussein
  • 15. COMPANY NAME next ²  To make the game more lively and the characters a little more believable, animation is required ²  Sprite Sheets Concept is used to optimize the game’s performance ²  A sprite sheet contains all the images that will be used in the game in a single file ANIMATION 15 ANIMATION & PARTICLES(1) Rotating Enemie MultimediaS. Hussein
  • 16. COMPANY NAME next ²  A particle system is a collection of sprites or particles ²  Each particle system has an emitter from where the particles will be created ²  SpriteKit has an inbuilt particle designer ²  It also includes a number of default particle systems that are already included 16 ANIMATION & PARTICLES(2) Fire Multimedia PARTICLES S. Hussein
  • 17. COMPANY NAME next 17 OUTLINE Multimedia 01 02 03 04 05 06 07 Introduction Definition of Swift Language 2D Game Development 3D Game Development Animation & Particles Audio & Parallax Effects Conclusion & Demos S. Hussein
  • 18. COMPANY NAME next ²  Adding background music and sound effects in SpriteKit is very easy: one-line code is needed ²  It allows the use of the .caf audio file format and .mp3 files ²  .mp3 files are used more because are smaller in size compared to .caf files (475 kBytes vs. 5.2 Mbytes) ²  The more added audio files, the more it will add to the bundle size AUDIO 18 AUDIO & PARALLAX EFFECTS MultimediaS. Hussein
  • 19. COMPANY NAME next ²  Parallax or scrolling background is a very popular effect in games ²  The objects in the foreground will move faster than the objects in the background, which will move much slower ²  It gives the illusion of depth and motion ²  These effects can be implemented in a separate class in the SpriteKit PARALLAX EFFECTS 19 AUDIO & PARALLAX EFFECTS MultimediaS. Hussein
  • 20. COMPANY NAME next 20 OUTLINE Multimedia 01 02 03 04 05 06 07 Introduction Definition of Swift Language 2D Game Development 3D Game Development Animation & Particles Audio & Parallax Effects Conclusion & Demos S. Hussein
  • 21. COMPANY NAME next 21 SUMMARY ²  Swift programming language is becoming more and more popular for developing iOS and OSX games ²  Foundation for developing 2D and 3D games with Swift, SpriteKit and SceneKit ²  Good References are : ª  The Swift Programming Language (Swift 2.1) - Apple – 2015 ª  Learning iOS 8 Game Development Using Swift - Siddharth Shekar - 2015 MultimediaS. Hussein
  • 24. COMPANY NAME next 24 3D GAME 2D GAME VS. 1.  The screen 2.  The object COORDINATE SYSTEMS 1.  The World 2.  The Object 3.  The View 4.  The Screen COORDINATE SYSTEMS MultimediaS. Hussein
  • 26. COMPANY NAME next 26 3D GAME 2D GAME VS. 1.  The screen 2.  The object COORDINATE SYSTEMS 1.  The World 2.  The Object 3.  The View 4.  The Screen COORDINATE SYSTEMS MultimediaS. Hussein