Course Summary Xcode & iPhone Simulator

Slides:



Advertisements
Similar presentations
View-Based Application Development Lecture 1 1. Flows of Lecture 1 Before Lab Introduction to the Game to be developed in this workshop Comparison between.
Advertisements

Table Views UITableView. Overview Table view basics Tables display lists of data Each item in a tables list is a row Tables can have an unlimited number.
TableView and TableViewController
Agenda –interfaces and realization –type hierarchy –introduction to graphics and event handling.
1 Frameworks. 2 Framework Set of cooperating classes/interfaces –Structure essential mechanisms of a problem domain –Programmer can extend framework classes,
View Controllers (second part) Content taken from book: “iPhone SDK Development” by Bill Dudney and Chris Adamson.
IPhone Development Crash Course By Dylan Harris
IPhone 101. Outline Objective-C Random bits of the API Using the simulator Debugging with Xcode.
Unity 3D game IDE 1.  Unity is a multi-platform, integrated IDE for scripting games, and working with 3D virtual worlds  Including:  Game engine ▪
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
IOS WorkShoP Xcode 4 iOS 5 : “A Primer”. Objective-C iOS applications are written in Objective-C language using the Cocoa Touch library Objective-C is.
Xcode Presentation Tom Pletzke. Creating App from template Launch Xcode Select Tabbed Application.
Introduction to TouchDevelop
Java Programming, 3e Concepts and Techniques Chapter 3 Section 65 – Manipulating Data Using Methods – Java Applet.
Active-HDL Interfaces Building VHPI Applications C Compilation Course 9.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall
Learning Unity. Getting Unity
View Controllers Content taken from book: “iPhone SDK Development” by Bill Dudney and Chris Adamson.
Game Maker Terminology
A Multi-agent Approach for the Integration of the Graphical and Intelligent Components of a Virtual Environment Rui Prada INESC-ID.
Course Summary Xcode & iPhone Simulator
Sprites Actions/Particles/Sound Revisit the 'flying saucer' sprite: Again add it to the game Implement Chipmunk Physics collision feedback with missiles.
Nav Controllers UINavigationController. Overview Nav Controller basics Like a tabview controller, a navViewController manages views A navigationViewController.
Chipmunk Physics Remember that we talked about this a bit when we did collision handlers for the space ship integration task (SpritesActionsPhysicsSound).
Macromedia Flash 8 Revealed WORKING WITH SYMBOLS AND INTERACTIVITY.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
Sound Effects The library Cocosdenshion subproject of cocos2d-iphone targeted at game audio needs Sound effects can be loaded at application startup, so.
(c) University of Washington02-1 CSC 143 Java Object and Class Relationships: Interfaces Reading: Ch. 9 (on Java interfaces)
SCRIPT PROGRAMMING WITH FLASH Introductory Level 1.
Simple Scene Management a layer has the size of the device screen it defines appearance and behavior a scene is composed of one or more layers app transitions.
The iOS Platform and SDK. iOS iPhoneiPad Mini iPad.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Galactic Mail Part 2. Winning and Losing Exploding Asteroids Including Scoring Adding Levels And more.
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Review Scene Management (Scene, Layer, Director) Sounds Menus Sprites & Actions.
Game Development with Unity3D
Introduction to Apps Development for the iPhone and the Android OS
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Creating Visual Effects
Drawing And Animations
Java FX: Scene Builder.
Chapter 2: The Visual Studio .NET Development Environment
IOS Design Patterns Sisoft Technologies Pvt Ltd
Topics Graphical User Interfaces Using the tkinter Module
Delegates and Events 14: Delegates and Events
Activities and Intents
Section 17.1 Section 17.2 Add an audio file using HTML
Beginning C++ Programming
OO Methodology OO Architecture.
Review Scene Management (Scene, Layer, Director) Sounds Menus
UITableView API A table view is an instance of the UITableView class. Created given... an area on the screen, and A table style. Rows are created using.
Microsoft PowerPoint 2003 Illustrated Introductory
Introduction to Opnet Mobile Networks Introduction to Opnet
EEC-492/693/793 iPhone Application Development
WEB API.
EEC-492/693/793 iPhone Application Development
TECHNICAL POSTER Laser reactant objects Interactive Doors and Saving
CIS16 Application Development Programming with Visual Basic
CSC 581: Mobile App Development
Chapter 15 Introduction to Rails.
Blender API: Part 2: Game Engine
Topics Graphical User Interfaces Using the tkinter Module
6. WinForms 2003 C# GUI - Basics.
EEC-492/693/793 iPhone Application Development
Catchup. Work on project.
2.02D Computer Animation Software and Design Guidelines
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Apple Xcode with Swift Demo
Presentation transcript:

Course Summary Xcode & iPhone Simulator Objective-C & Foundation Framework Class Simple Scene Management (Cocos2d-iPhone) Sound Effects Sprites & Actions Particles Chipmunk Physics (Space, Body, Shape, Constraint) Collisions (using CP) Cocos2d & CP integration (Physics Engine Class Tie-in) Tables & Cells

Xcode & iPhone Simulator Xcode: various windows, structure of project, console window (debug output), how to find a definition (Command Double Click) Simulator: separate executable, has limitations

Objective-C Class definition (@interface, @implemention) Protocol definition (@protocol) Getter/Setter (@property, @synthesize) Life Cycle Methods (Alloc, Init, Dealloc) Reference Counting (Retain, Release, AutoRelease) Dynamic vs Static typing Class & Instance methods (e.g. singleton design pattern)

Foundation Framework Classes Mutable & Immutable Classes Strings (NSString) Arrays (NSArray) Associative Arrays (NSDictionary) Property Lists (NSPropertyListSerialization)

Simple Scene Management a layer has the size of the device screen it defines appearance and behavior a scene is composed of one or more layers app transitions take place through scenes the director takes care of transitioning between scenes. http://www.cocos2d- iphone.org/wiki/doku.php/prog_guide:basic_conce pts

Simple Scene Management typically one scene is used for the “playable” part of the game others scenes for: title, high scores, options runWithScene tells director to use that scene replaceScene replaces the running scene with another pauseScene puts the current scene on hold for another http://www.cocos2d- iphone.org/wiki/doku.php/prog_guide:lesson_3._m enus_and_scenes

Sound Effects The library Cocosdenshion subproject of cocos2d-iphone targeted at game audio needs Sound effects can be loaded at application startup, so there's no delay during play http://www.cocos2d- iphone.org/wiki/doku.php/cocosdenshion:faq

Sprites Actions/Particles Revisit the 'flying saucer' sprite: Implement Chipmunk Physics collision feedback with missiles and asteroids Use the particle system to give the impression that it has blown up, and play a 'boom' sound as well

Chipmunk Physics There are 4 basic objects: Space holds the other 3 objects. Body holds the properties (mass, position, rotation, velocity, angular momentum, etc) associated with a physical object. Shapes attached to a body; defines the surface boundaries of a body for collision purposes; also the friction and elasticity. Constraints define the type of interactions that bodies can have.

Collisions Collisions are defined as talking place between two shapes Handlers can be defined to be called when: Begin: two shapes just started touching Are: can get back collision force End: two shapes just stopped touching Callbacks are used in removing objects during a collision.

Physics Engine Class Tie-in By subclassing CCSprite so that: init method will create the collision body and collision shape setPosition method will also tell the physics engine the position of the sprite dealloc method will also remove the physics body and shape when the sprite is deallocated

Physics Engine Class Tie-in Registered a collision handler add code in the collision handlers and step: method to remove the flying saucer use the particle system to show a display when it was removed play some sound

UITableView API A table view is an instance of the UITableView class. Created given... an area on the screen, and A table style. Rows are created using cells that are UITableViewCell objects. Two Protocols are used: Data Sourse: to provide data used to populate the table Delegate: to managing the appearance and behavior of the table (e.g., headers, footers, reorder cells)

UITableView Protocols used Remember: A protocol specifies a behavior through the inclusion of methods in the implementing object. UITableViewDataSource Protocol has two required methods: Number of rows in selection Cell for row at index path UITableViewDelegate Protocol Has no required methods.

Table Cells A Data Source method returns a cell object for a visible row. Cells can contain: an image or text content. The Table Cell object has methods that: manage cell selection, editing, accessory views, and cell configuration.