SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Game zone
Building a Game is like Taking a Dream into action We are the Bridge between the human imagination and the implementation Game build by you is like your World We drag user to our world
The Game Vision No one is dependent on game but everyone find time to play Simple user interface simplicity = beauty (how things look) + elegance (how things work)
Challenges of Designing a game Screen area is 320 * 480  Memory Movements User acceptence
New Era of Games ResponsiveSocialGaming Multiplayergames Network Games Mobile Games
Games vs Application
Download Cocos2d Download from http://www.cocos2d-iphone.org/download Unzip Downloaded Zip /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project Templates/Application/
IN GAMES THINGS ALWAYS MOVE
Lets Start Building!! NO
Think!!  Think!! Think!!
Geometry of Game What is difference in world co-ordinates and geometric co-ordinates ? Translation -is moving every point a constant distance in a specified direction  Rotation – Rotate things around angle  Scaling – shrinking and expanding objects
You Look good in Geometry But we are building games?
Sprites
Game Engine Rigid Bodies-A rigid body holds the physical properties of an object  Collision Shapes-By attaching shapes to bodies, you can define the a body’s shape.  Constraints/Joints-Constraints and joints describe how bodies are attached to each other  Spaces-Spaces are the basic simulation unit
Technology Cocoas2d with Chipmunk Cocoas2d with Box2d
Some Concepts Scenes - A scene (implemented with the CCScene object) is more or less an independent piece of the app workflow  Director - The CCDirector is the component which takes care of going back and forth between scenes
Some Concepts Layers - A CCLayer has a size of the whole drawable area, and knows how to draw itself  Sprites Actions  - Actions are like orders given to any CCNode object. These actions usually modify some of the object's attributes like position, rotation, scale, etc.
Lets Start Building!! What? Where? How?
What?  Punch a Mole
Where? Iphone ,Ipod ,Ipad 320 × 480 (iPhone/iPod touch) 640 × 960 (iPhone 4 and iPod with Retina display) 768 × 1024 / 1024 × 768 (iPad)
Where? Retina Display - Add double-sized sprites to your app, but instead of using the “@2x” extension, you use an “-hd” extension for Cocos2D. When loading your sprites, use normal name (without the “-hd” extension) – Cocos2D will automatically load the hd images on the Retina display
How? Planning the Art
Planning the Art
Setting the Background Determine names of sprite sheets (go to code) Load background and foreground (go to code) Add background  (go to code) Add foreground (go to code)
Where we reached so far?
Placing the mole NSMutableArray *moles; Loadmolesprites (gotocode) ConvertpointforIpad (gotocode) Popping the Moles (gotocode)
Where we reached so far?
Defining Animations Adding animation sprite of laugh like - [animFramesaddObject:[[CCSpriteFrameCachesharedSpriteFrameCache]spriteFrameByName:@"myImage.png"]]; Laughing Animation1, Laughing Animation2, Laughing Animation3 (go to code)
Laugh Animation We need to add All Images for laugh animation? NO
Laugh Animation We will use Pliststo load using animationFromPlist
Laugh Animation Adding laugh animation to main Init method (go to code) When mole is going to laugh? Are we done?
Game logic Add Below variables to .h file  CCLabelTTF*label;  intscore;  inttotalSpawns;  BOOLgameOver;
Game Logic Define scoreboard for Application(go to code) Convert font-size according to device When to kick a mole? How to tap? Adding sound effects
Where we reached so far? Just Run the Code
We Did it !! Hip Hip Hooray!!
The Game Design Document Game Summary Game setting Game play: controls and user interface Levelmap and SoundEffects Game System/Engine

Weitere ähnliche Inhalte

Was ist angesagt?

Game engine introduction and approach
Game engine introduction and approachGame engine introduction and approach
Game engine introduction and approachDuy Tan Geek
 
Casual and Social Games with Unity
Casual and Social Games with UnityCasual and Social Games with Unity
Casual and Social Games with UnityTadej Gregorcic
 
PRESENTATION ON Game Engine
PRESENTATION ON Game EnginePRESENTATION ON Game Engine
PRESENTATION ON Game EngineDiksha Bhargava
 
Hands On with the Unity 5 Game Engine! - Andy Touch - Codemotion Roma 2015
Hands On with the Unity 5 Game Engine! - Andy Touch - Codemotion Roma 2015Hands On with the Unity 5 Game Engine! - Andy Touch - Codemotion Roma 2015
Hands On with the Unity 5 Game Engine! - Andy Touch - Codemotion Roma 2015Codemotion
 
Game Development with Unity
Game Development with UnityGame Development with Unity
Game Development with Unitydavidluzgouveia
 
How to deliver a game in kodu
How to deliver a game in koduHow to deliver a game in kodu
How to deliver a game in koduNour Khouja
 
Unity 3D game engine seminar
Unity 3D game engine  seminarUnity 3D game engine  seminar
Unity 3D game engine seminarNikhilThorat15
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine OverviewSharad Mitra
 
Multi touch gateway zx series
Multi touch gateway zx seriesMulti touch gateway zx series
Multi touch gateway zx seriesJleezly15
 
Introduction to Unity3D Game Engine
Introduction to Unity3D Game EngineIntroduction to Unity3D Game Engine
Introduction to Unity3D Game EngineMohsen Mirhoseini
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game DevelopmentShaan Alam
 
Unity - game engine u RIA svijetu PDF
Unity - game engine u RIA svijetu PDFUnity - game engine u RIA svijetu PDF
Unity - game engine u RIA svijetu PDFDanko Kozar
 
History of game evolution
History of game evolutionHistory of game evolution
History of game evolutionlitoon dev
 
Unity - Create a structure with primitives
Unity - Create a structure with primitivesUnity - Create a structure with primitives
Unity - Create a structure with primitivesNexusEdgesupport
 
Game Project / Working with Unity
Game Project / Working with UnityGame Project / Working with Unity
Game Project / Working with UnityPetri Lankoski
 

Was ist angesagt? (20)

Game engine introduction and approach
Game engine introduction and approachGame engine introduction and approach
Game engine introduction and approach
 
Unity - Game Engine
Unity - Game EngineUnity - Game Engine
Unity - Game Engine
 
Casual and Social Games with Unity
Casual and Social Games with UnityCasual and Social Games with Unity
Casual and Social Games with Unity
 
PRESENTATION ON Game Engine
PRESENTATION ON Game EnginePRESENTATION ON Game Engine
PRESENTATION ON Game Engine
 
Hands On with the Unity 5 Game Engine! - Andy Touch - Codemotion Roma 2015
Hands On with the Unity 5 Game Engine! - Andy Touch - Codemotion Roma 2015Hands On with the Unity 5 Game Engine! - Andy Touch - Codemotion Roma 2015
Hands On with the Unity 5 Game Engine! - Andy Touch - Codemotion Roma 2015
 
Game Development with Unity
Game Development with UnityGame Development with Unity
Game Development with Unity
 
How to deliver a game in kodu
How to deliver a game in koduHow to deliver a game in kodu
How to deliver a game in kodu
 
Unity 3D game engine seminar
Unity 3D game engine  seminarUnity 3D game engine  seminar
Unity 3D game engine seminar
 
Unity 3D, A game engine
Unity 3D, A game engineUnity 3D, A game engine
Unity 3D, A game engine
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
 
Multi touch gateway zx series
Multi touch gateway zx seriesMulti touch gateway zx series
Multi touch gateway zx series
 
Unity
UnityUnity
Unity
 
unity basics
unity basicsunity basics
unity basics
 
Introduction to Unity3D Game Engine
Introduction to Unity3D Game EngineIntroduction to Unity3D Game Engine
Introduction to Unity3D Game Engine
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
Unity - game engine u RIA svijetu PDF
Unity - game engine u RIA svijetu PDFUnity - game engine u RIA svijetu PDF
Unity - game engine u RIA svijetu PDF
 
Two worlds
Two worldsTwo worlds
Two worlds
 
History of game evolution
History of game evolutionHistory of game evolution
History of game evolution
 
Unity - Create a structure with primitives
Unity - Create a structure with primitivesUnity - Create a structure with primitives
Unity - Create a structure with primitives
 
Game Project / Working with Unity
Game Project / Working with UnityGame Project / Working with Unity
Game Project / Working with Unity
 

Ähnlich wie Iphone game developement - In a game things always move

Iphone and Ipad development Game with Cocos2D
Iphone and Ipad development Game with Cocos2DIphone and Ipad development Game with Cocos2D
Iphone and Ipad development Game with Cocos2Dcreagamers
 
Cross Platform Game Programming with Cocos2d-js
Cross Platform Game Programming with Cocos2d-jsCross Platform Game Programming with Cocos2d-js
Cross Platform Game Programming with Cocos2d-jsTroy Miles
 
Introduction to Mobile Game Programming with Cocos2d-JS
Introduction to Mobile Game Programming with Cocos2d-JSIntroduction to Mobile Game Programming with Cocos2d-JS
Introduction to Mobile Game Programming with Cocos2d-JSTroy Miles
 
iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...Joseph Ku
 
Lecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingLecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingKobkrit Viriyayudhakorn
 
Cross platform game development
Cross platform game developmentCross platform game development
Cross platform game developmentJerel Hass
 
Introduction to mobile programming with Androids.
Introduction to mobile programming with Androids. Introduction to mobile programming with Androids.
Introduction to mobile programming with Androids. Maksim Golivkin
 
Full stack development in Go
Full stack development in GoFull stack development in Go
Full stack development in GoYves Junqueira
 
Introduction to cocos2d-x
Introduction to cocos2d-xIntroduction to cocos2d-x
Introduction to cocos2d-xYoung Ha Kim
 
Game development with Cocos2d-x Engine
Game development with Cocos2d-x EngineGame development with Cocos2d-x Engine
Game development with Cocos2d-x EngineDuy Tan Geek
 
Resolution in cocos2d family
Resolution in cocos2d familyResolution in cocos2d family
Resolution in cocos2d familyFeng Wang
 
The nitty gritty of game development
The nitty gritty of game developmentThe nitty gritty of game development
The nitty gritty of game developmentbasisspace
 
Castle Game Engine and the joy of making and using a custom game engine
Castle Game Engine and the joy  of making and using a custom game engineCastle Game Engine and the joy  of making and using a custom game engine
Castle Game Engine and the joy of making and using a custom game engineMichalis Kamburelis
 
Casual Engines 2009
Casual Engines 2009Casual Engines 2009
Casual Engines 2009David Fox
 
Game development with Cocos2d
Game development with Cocos2dGame development with Cocos2d
Game development with Cocos2dVinsol
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologiesUchechukwu Obimma
 
Easy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkeyEasy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkeypprem
 

Ähnlich wie Iphone game developement - In a game things always move (20)

Programmers guide
Programmers guideProgrammers guide
Programmers guide
 
Iphone and Ipad development Game with Cocos2D
Iphone and Ipad development Game with Cocos2DIphone and Ipad development Game with Cocos2D
Iphone and Ipad development Game with Cocos2D
 
Cross Platform Game Programming with Cocos2d-js
Cross Platform Game Programming with Cocos2d-jsCross Platform Game Programming with Cocos2d-js
Cross Platform Game Programming with Cocos2d-js
 
Introduction to Mobile Game Programming with Cocos2d-JS
Introduction to Mobile Game Programming with Cocos2d-JSIntroduction to Mobile Game Programming with Cocos2d-JS
Introduction to Mobile Game Programming with Cocos2d-JS
 
iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...iOS Game Development: When Cocoa Met Cocos...
iOS Game Development: When Cocoa Met Cocos...
 
Lecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingLecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR Programming
 
Cross platform game development
Cross platform game developmentCross platform game development
Cross platform game development
 
Introduction to mobile programming with Androids.
Introduction to mobile programming with Androids. Introduction to mobile programming with Androids.
Introduction to mobile programming with Androids.
 
Cocos2d for beginners
Cocos2d for beginnersCocos2d for beginners
Cocos2d for beginners
 
Full stack development in Go
Full stack development in GoFull stack development in Go
Full stack development in Go
 
Introduction to cocos2d-x
Introduction to cocos2d-xIntroduction to cocos2d-x
Introduction to cocos2d-x
 
Game development with Cocos2d-x Engine
Game development with Cocos2d-x EngineGame development with Cocos2d-x Engine
Game development with Cocos2d-x Engine
 
Resolution in cocos2d family
Resolution in cocos2d familyResolution in cocos2d family
Resolution in cocos2d family
 
The nitty gritty of game development
The nitty gritty of game developmentThe nitty gritty of game development
The nitty gritty of game development
 
Castle Game Engine and the joy of making and using a custom game engine
Castle Game Engine and the joy  of making and using a custom game engineCastle Game Engine and the joy  of making and using a custom game engine
Castle Game Engine and the joy of making and using a custom game engine
 
Casual Engines 2009
Casual Engines 2009Casual Engines 2009
Casual Engines 2009
 
Game development with Cocos2d
Game development with Cocos2dGame development with Cocos2d
Game development with Cocos2d
 
Getting started with immersive technologies
Getting started with immersive technologiesGetting started with immersive technologies
Getting started with immersive technologies
 
Easy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkeyEasy coding a multi device game with FireMonkey
Easy coding a multi device game with FireMonkey
 
Ferguson VR Hackathon - May 6, 2017
Ferguson VR Hackathon - May 6, 2017Ferguson VR Hackathon - May 6, 2017
Ferguson VR Hackathon - May 6, 2017
 

Kürzlich hochgeladen

Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialJoão Esperancinha
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfAarwolf Industries LLC
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sectoritnewsafrica
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...itnewsafrica
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 

Kürzlich hochgeladen (20)

Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Kuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorialKuma Meshes Part I - The basics - A tutorial
Kuma Meshes Part I - The basics - A tutorial
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdf
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
4. Cobus Valentine- Cybersecurity Threats and Solutions for the Public Sector
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 

Iphone game developement - In a game things always move

  • 2. Building a Game is like Taking a Dream into action We are the Bridge between the human imagination and the implementation Game build by you is like your World We drag user to our world
  • 3. The Game Vision No one is dependent on game but everyone find time to play Simple user interface simplicity = beauty (how things look) + elegance (how things work)
  • 4. Challenges of Designing a game Screen area is 320 * 480 Memory Movements User acceptence
  • 5. New Era of Games ResponsiveSocialGaming Multiplayergames Network Games Mobile Games
  • 7. Download Cocos2d Download from http://www.cocos2d-iphone.org/download Unzip Downloaded Zip /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project Templates/Application/
  • 8. IN GAMES THINGS ALWAYS MOVE
  • 10. Think!! Think!! Think!!
  • 11. Geometry of Game What is difference in world co-ordinates and geometric co-ordinates ? Translation -is moving every point a constant distance in a specified direction Rotation – Rotate things around angle Scaling – shrinking and expanding objects
  • 12. You Look good in Geometry But we are building games?
  • 14. Game Engine Rigid Bodies-A rigid body holds the physical properties of an object Collision Shapes-By attaching shapes to bodies, you can define the a body’s shape. Constraints/Joints-Constraints and joints describe how bodies are attached to each other Spaces-Spaces are the basic simulation unit
  • 15. Technology Cocoas2d with Chipmunk Cocoas2d with Box2d
  • 16. Some Concepts Scenes - A scene (implemented with the CCScene object) is more or less an independent piece of the app workflow Director - The CCDirector is the component which takes care of going back and forth between scenes
  • 17. Some Concepts Layers - A CCLayer has a size of the whole drawable area, and knows how to draw itself Sprites Actions - Actions are like orders given to any CCNode object. These actions usually modify some of the object's attributes like position, rotation, scale, etc.
  • 18. Lets Start Building!! What? Where? How?
  • 19. What? Punch a Mole
  • 20.
  • 21. Where? Iphone ,Ipod ,Ipad 320 × 480 (iPhone/iPod touch) 640 × 960 (iPhone 4 and iPod with Retina display) 768 × 1024 / 1024 × 768 (iPad)
  • 22. Where? Retina Display - Add double-sized sprites to your app, but instead of using the “@2x” extension, you use an “-hd” extension for Cocos2D. When loading your sprites, use normal name (without the “-hd” extension) – Cocos2D will automatically load the hd images on the Retina display
  • 25. Setting the Background Determine names of sprite sheets (go to code) Load background and foreground (go to code) Add background (go to code) Add foreground (go to code)
  • 26. Where we reached so far?
  • 27. Placing the mole NSMutableArray *moles; Loadmolesprites (gotocode) ConvertpointforIpad (gotocode) Popping the Moles (gotocode)
  • 28. Where we reached so far?
  • 29. Defining Animations Adding animation sprite of laugh like - [animFramesaddObject:[[CCSpriteFrameCachesharedSpriteFrameCache]spriteFrameByName:@"myImage.png"]]; Laughing Animation1, Laughing Animation2, Laughing Animation3 (go to code)
  • 30. Laugh Animation We need to add All Images for laugh animation? NO
  • 31. Laugh Animation We will use Pliststo load using animationFromPlist
  • 32. Laugh Animation Adding laugh animation to main Init method (go to code) When mole is going to laugh? Are we done?
  • 33. Game logic Add Below variables to .h file CCLabelTTF*label; intscore; inttotalSpawns; BOOLgameOver;
  • 34. Game Logic Define scoreboard for Application(go to code) Convert font-size according to device When to kick a mole? How to tap? Adding sound effects
  • 35. Where we reached so far? Just Run the Code
  • 36. We Did it !! Hip Hip Hooray!!
  • 37. The Game Design Document Game Summary Game setting Game play: controls and user interface Levelmap and SoundEffects Game System/Engine