Course Summary Xcode & iPhone Simulator

Slides:



Advertisements
Similar presentations
Integrating Facebook into iOS Apps 08/25/2011 North Atlanta iOS Developers Meetup Group Presentation.
Advertisements

Introduction to Macromedia Director 8.5 – Lingo
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.
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.
Macromedia Director 8 Foundation Level Course. What is Director? Director is a challenging program for creating animation and multimedia productions for.
TableView and TableViewController
Macromedia Director 8 Intermediate Level Course. Ink Masks Using the Ink Mask feature will allow you to create parts of a bitmap cast member to become.
The Web Warrior Guide to Web Design Technologies
Introduction to Objective-C and Xcode (Part 1) FA 175 Intro to Mobile App Development.
GameSalad Fundamentals. Introduction to Game-Authoring System  Objectives  Define game-authoring system.  Understand the components of logic and assets.
Agenda –interfaces and realization –type hierarchy –introduction to graphics and event handling.
The Problem: iPhone UI Navigation I want to have a TableView that works INSIDE a TabView.
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 ▪
Introduction to Apps Development for the iPhone and the Android OS Art Gittleman Professor, Computer Science Calif State Univ Long Beach Feb 28, 2011.
CHAPTER 1 XNA Game Studio 4.0. Your First Project A computer game is not just a program—it is also lots of other bits and pieces that make playing the.
McGraw-Hill© 2007 The McGraw-Hill Companies, Inc. All rights reserved. 1-1.
Sprite Animation CSE 391 Fall 2012 Tony Scarlatos.
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
FINAL PRESENTATION SYDNEY TOUR. Divya Nalla Raja Kandasamy RajaShekar Donti Ren Zhu Sadah Omar Sulaiman
Java Programming, 3e Concepts and Techniques Chapter 3 Section 65 – Manipulating Data Using Methods – Java Applet.
Introduction to Matlab & Data Analysis
1 Designing with a UIToolBar iPhone/iPad, iOS Development Tutorial.
QML Qt Quick with QML and you can use JavaScript for engine along C++ Started to be released since late 2009 (Qt 4.7) Nokia focused on that for the Symbian/Meego.
Active-HDL Interfaces Building VHPI Applications C Compilation Course 9.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
Adobe Flash CS3 Revealed Chapter 3 - WORKING WITH SYMBOLS AND INTERACTIVITY.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall
+ An Intro To Xcode By Sarah Montroy. + What is Xcode?
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.
Introduction to Objective-C and Xcode (Part 5) FA 175 Intro to Mobile App Development.
Sounds, Images, and Text FA 172 Intro to Mobile App Development.
Sprites Actions/Particles/Sound Revisit the 'flying saucer' sprite: Again add it to the game Implement Chipmunk Physics collision feedback with missiles.
Guide to Programming with Python Chapter Twelve Sound, Animation, and Program Development: The Astrocrash Game.
Nav Controllers UINavigationController. Overview Nav Controller basics Like a tabview controller, a navViewController manages views A navigationViewController.
Guide to Programming with Python Week 15 Chapter Twelve Sound, Animation, and Program Development: The Astrocrash Game.
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.
Table Views UITableView.
Sound Effects The library Cocosdenshion subproject of cocos2d-iphone targeted at game audio needs Sound effects can be loaded at application startup, so.
CHAPTER 14 Classes, Objects, and Games XNA Game Studio 4.0.
(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.
Introduction to Objective-C and Xcode (Part 4) FA 175 Intro to Mobile App Development.
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
Objective-C: Intro Michelle Alexander COMS E6998 2/4/2013.
Game Maker Tutorials Introduction Clickball IntroductionClickball Where is it? Shooting Where is it?Shooting.
Review Scene Management (Scene, Layer, Director) Sounds Menus Sprites & Actions.
Course Summary Xcode & iPhone Simulator
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Topics Graphical User Interfaces Using the tkinter Module
Activities and Intents
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.
EEC-492/693/793 iPhone Application Development
EEC-492/693/793 iPhone Application Development
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_concepts

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._menus_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.