SlideShare a Scribd company logo
TIME-BASED ANIMATION
                         It 7220 - March 30, 2009




Monday, March 30, 2009                              1
AGENDA

                Syllabus Timeline

                Comments about Mid-Term

                Time-based Animation

                Air Raid - Shooting Games

                Paddle Ball - Bouncing Games

                Lab


Monday, March 30, 2009                         2
SYLLABUS TIMELINE

                I should have a design document from each team tonight
                Two more lecture periods
                         April 6 - Word Games
                         April 13 - Trivia Games
                4 more labs, including tonight
                Projects/Presentations on April 27
                No class meeting on May 4; Reflection Paper due via Digital
                Dropbox or email


Monday, March 30, 2009                                                       3
MIDTERM COMMENTS

                Worth 20% of your grade for the course
                Approx half opted for take-home version of Part 2
                Scores:                        100 - 4       93 - 1
                                                99 - 1       91 - 1
                         High: 100
                                                98 - 4       90 - 1
                         Low: 80                97 - 1       89 - 1
                                                96 - 1       80 - 2
                         Mean: 94.6             95 - 3
                         Median: 96.5
                         No one is trending below an A- for the course


Monday, March 30, 2009                                                   4
MIDTERM PART-2
                I saw at least 3 different ways to do this in ActionScript

                If you followed the rubric, you earned at least 75% credit,
                even if the Flash movie didn’t run correctly

                Examples of button navigation posted on Blackboard

                         Week 4: stopAndPlayMC_Final.fla

                         Week 5: inputTextReturn.fla

                Let’s take a look...

Monday, March 30, 2009                                                        5
TIME-BASED ANIMATION
                Rosenzweig Chapter 5 (example given in AnimationTest.fla)

                Basic premise is to move objects at a consistent rate
                regardless of Flash player performance

                Means keeping track of the difference in time between
                frames

                This is accomplished using the flash.utils.getTimer class

                The getTimer function provides time in milliseconds
                (i.e., 1000 mS = 1 Second)

Monday, March 30, 2009                                                     6
AIR RAID GAME

                The project game file AirRaid.fla contains 3 movie clips:
                         Airplane - 6 frames; 5 aircraft plus an explosion
                         AAGun - 1 frame; image is moved horizontally using left
                         and right arrow keys
                         Bullet - 1 frame; bullets move horizontally, triggered by
                         space bar
                Game movie contains same three frame layout (into, play,
                gameover), scripts and buttons used in Deduction Game


Monday, March 30, 2009                                                               7
AIR RAID GAME CLASSES
                Game uses 4 classes:
                         AirRaid.as - document class contains all game logic to
                         create initial objects, check for collisions, and handle
                         scoring
                         Airplane.as - constructor class takes 3 parameters: side (left
                         or right), speed, and altitude
                         AAGun.as - left or right movement of the gun movie clip
                         using keyboard event listeners for detection of right and
                         left arrow keys
                         Bullet.as - similar to airplane class accept speed is applied
                         vertically instead of horizontally

Monday, March 30, 2009                                                                    8
PADDLE BALL GAME

                The same basic design arrangement as Air Raid and
                Deduction games including intro, play, and gameover frames
                in PaddleBall.fla

                There is a single document class file, PaddleBall.as; there is
                no constructor function as the game waits for the second
                frame, to start

                Difference in variables is the need to track velocity which is
                a combination of speed and direction


Monday, March 30, 2009                                                          9
PADDLE BALL GAME


                Arrays are used to keep track of the bricks

                Collision detection is more complicated as the ball must
                detect collisions with the bricks, paddle and the three walls,
                and respond appropriately

                Possible mods to this game include sound effects and
                different colors of bricks



Monday, March 30, 2009                                                           10
ROSENZWEIG OBSERVATIONS

                Games are becoming more complex

                Games are constructed in modules; requires up front design
                in determining where to place code

                Games build on knowledge of earlier examples

                Rosenzweig breaks it down whenever a new concept is
                introduced and provides decent comments in code

                Be sure to pay attention to hints for testing and debugging,
                for example the AirRaid test class on page 164

Monday, March 30, 2009                                                         11
ROSENZWEIG NEXT 2 WEEKS

                Chap 9 - Word Games

                Chap 10 - Trivia/Quiz Games

                Are groups looking at other games from Rosenzweig like
                puzzles (chap 6), direction and movement (chap 7)?

                Does each team have a game strategy or mod mapped out
                which will produce a final product in 4 weeks? (if not, we
                definitely need to talk)


Monday, March 30, 2009                                                      12
LAB




                Group work




Monday, March 30, 2009             13

More Related Content

Viewers also liked

"Корреляция между эффективными коммуникациями и прибыльностью бизнеса", Натал...
"Корреляция между эффективными коммуникациями и прибыльностью бизнеса", Натал..."Корреляция между эффективными коммуникациями и прибыльностью бизнеса", Натал...
"Корреляция между эффективными коммуникациями и прибыльностью бизнеса", Натал...
rabota.ua
 
How Linkedin uses Gamification to improve its Business!
How Linkedin uses Gamification to improve its Business!How Linkedin uses Gamification to improve its Business!
How Linkedin uses Gamification to improve its Business!
Alok Rodinhood Kejriwal
 
Animation software by Er. Suvisha Gupta
Animation software by Er. Suvisha GuptaAnimation software by Er. Suvisha Gupta
Animation software by Er. Suvisha Gupta
Suvisha Gupta
 
GhostTribeVFX-NonNDAdOriginalforShow
GhostTribeVFX-NonNDAdOriginalforShowGhostTribeVFX-NonNDAdOriginalforShow
GhostTribeVFX-NonNDAdOriginalforShow
John curtin
 
Introduction to dry needling
Introduction to dry needlingIntroduction to dry needling
Introduction to dry needling
Subhanjan Das
 
Introduction to animation
Introduction to animationIntroduction to animation
Introduction to animation
Pises Tantimala
 
Animation: The Basic Skills
Animation:  The Basic SkillsAnimation:  The Basic Skills
Animation: The Basic Skills
walkers
 
Continuous Integration, Build Pipelines and Continuous Deployment
Continuous Integration, Build Pipelines and Continuous DeploymentContinuous Integration, Build Pipelines and Continuous Deployment
Continuous Integration, Build Pipelines and Continuous Deployment
Christopher Read
 
Animation Basics
Animation BasicsAnimation Basics
Chapter 9 animation
Chapter 9 animationChapter 9 animation
Chapter 9 animation
shelly3160
 
Principles of animation
Principles of animationPrinciples of animation
Principles of animation
Gena Montgomery
 
Basic Concepts of Animation
Basic Concepts of AnimationBasic Concepts of Animation
Basic Concepts of Animation
jamalharun
 
Living Brands
Living BrandsLiving Brands
Living Brands
Young & Rubicam
 

Viewers also liked (13)

"Корреляция между эффективными коммуникациями и прибыльностью бизнеса", Натал...
"Корреляция между эффективными коммуникациями и прибыльностью бизнеса", Натал..."Корреляция между эффективными коммуникациями и прибыльностью бизнеса", Натал...
"Корреляция между эффективными коммуникациями и прибыльностью бизнеса", Натал...
 
How Linkedin uses Gamification to improve its Business!
How Linkedin uses Gamification to improve its Business!How Linkedin uses Gamification to improve its Business!
How Linkedin uses Gamification to improve its Business!
 
Animation software by Er. Suvisha Gupta
Animation software by Er. Suvisha GuptaAnimation software by Er. Suvisha Gupta
Animation software by Er. Suvisha Gupta
 
GhostTribeVFX-NonNDAdOriginalforShow
GhostTribeVFX-NonNDAdOriginalforShowGhostTribeVFX-NonNDAdOriginalforShow
GhostTribeVFX-NonNDAdOriginalforShow
 
Introduction to dry needling
Introduction to dry needlingIntroduction to dry needling
Introduction to dry needling
 
Introduction to animation
Introduction to animationIntroduction to animation
Introduction to animation
 
Animation: The Basic Skills
Animation:  The Basic SkillsAnimation:  The Basic Skills
Animation: The Basic Skills
 
Continuous Integration, Build Pipelines and Continuous Deployment
Continuous Integration, Build Pipelines and Continuous DeploymentContinuous Integration, Build Pipelines and Continuous Deployment
Continuous Integration, Build Pipelines and Continuous Deployment
 
Animation Basics
Animation BasicsAnimation Basics
Animation Basics
 
Chapter 9 animation
Chapter 9 animationChapter 9 animation
Chapter 9 animation
 
Principles of animation
Principles of animationPrinciples of animation
Principles of animation
 
Basic Concepts of Animation
Basic Concepts of AnimationBasic Concepts of Animation
Basic Concepts of Animation
 
Living Brands
Living BrandsLiving Brands
Living Brands
 

More from University of West Florida

PLN4PD
PLN4PDPLN4PD
Universities Without Borders
Universities Without BordersUniversities Without Borders
Universities Without Borders
University of West Florida
 
Media literacy workshop
Media literacy workshopMedia literacy workshop
Media literacy workshop
University of West Florida
 
#svjun26 South Vermillion Community Schools
#svjun26 South Vermillion Community Schools#svjun26 South Vermillion Community Schools
#svjun26 South Vermillion Community Schools
University of West Florida
 
Digital Curation and Methods for Teaching Digital Literacy Skills
Digital Curation and Methods for Teaching Digital Literacy SkillsDigital Curation and Methods for Teaching Digital Literacy Skills
Digital Curation and Methods for Teaching Digital Literacy Skills
University of West Florida
 
Applying Game Concepts To Learning
Applying Game Concepts To LearningApplying Game Concepts To Learning
Applying Game Concepts To Learning
University of West Florida
 
MOOCs: Fact vs. Myth
MOOCs: Fact vs. MythMOOCs: Fact vs. Myth
MOOCs: Fact vs. Myth
University of West Florida
 
Introduction to Games and Simulations
Introduction to Games and SimulationsIntroduction to Games and Simulations
Introduction to Games and Simulations
University of West Florida
 
Social Learning
Social LearningSocial Learning
Learning Verses Experience
Learning Verses ExperienceLearning Verses Experience
Learning Verses Experience
University of West Florida
 
Technology Applications in Education and Training
Technology Applications in Education and TrainingTechnology Applications in Education and Training
Technology Applications in Education and Training
University of West Florida
 
Social Learning Part B
Social Learning Part BSocial Learning Part B
Social Learning Part B
University of West Florida
 
Social Learning Part A
Social Learning Part ASocial Learning Part A
Social Learning Part A
University of West Florida
 
Social Communities
Social CommunitiesSocial Communities
Social Communities
University of West Florida
 
The Social Web
The Social WebThe Social Web
Trivia/Quiz Games
Trivia/Quiz GamesTrivia/Quiz Games
Trivia/Quiz Games
University of West Florida
 
Flash Word Games
Flash Word GamesFlash Word Games
Flash Word Games
University of West Florida
 
Memory Deduction Games
Memory Deduction GamesMemory Deduction Games
Memory Deduction Games
University of West Florida
 
Learning Game Implementation
Learning Game ImplementationLearning Game Implementation
Learning Game Implementation
University of West Florida
 
Game Design Process
Game Design ProcessGame Design Process
Game Design Process
University of West Florida
 

More from University of West Florida (20)

PLN4PD
PLN4PDPLN4PD
PLN4PD
 
Universities Without Borders
Universities Without BordersUniversities Without Borders
Universities Without Borders
 
Media literacy workshop
Media literacy workshopMedia literacy workshop
Media literacy workshop
 
#svjun26 South Vermillion Community Schools
#svjun26 South Vermillion Community Schools#svjun26 South Vermillion Community Schools
#svjun26 South Vermillion Community Schools
 
Digital Curation and Methods for Teaching Digital Literacy Skills
Digital Curation and Methods for Teaching Digital Literacy SkillsDigital Curation and Methods for Teaching Digital Literacy Skills
Digital Curation and Methods for Teaching Digital Literacy Skills
 
Applying Game Concepts To Learning
Applying Game Concepts To LearningApplying Game Concepts To Learning
Applying Game Concepts To Learning
 
MOOCs: Fact vs. Myth
MOOCs: Fact vs. MythMOOCs: Fact vs. Myth
MOOCs: Fact vs. Myth
 
Introduction to Games and Simulations
Introduction to Games and SimulationsIntroduction to Games and Simulations
Introduction to Games and Simulations
 
Social Learning
Social LearningSocial Learning
Social Learning
 
Learning Verses Experience
Learning Verses ExperienceLearning Verses Experience
Learning Verses Experience
 
Technology Applications in Education and Training
Technology Applications in Education and TrainingTechnology Applications in Education and Training
Technology Applications in Education and Training
 
Social Learning Part B
Social Learning Part BSocial Learning Part B
Social Learning Part B
 
Social Learning Part A
Social Learning Part ASocial Learning Part A
Social Learning Part A
 
Social Communities
Social CommunitiesSocial Communities
Social Communities
 
The Social Web
The Social WebThe Social Web
The Social Web
 
Trivia/Quiz Games
Trivia/Quiz GamesTrivia/Quiz Games
Trivia/Quiz Games
 
Flash Word Games
Flash Word GamesFlash Word Games
Flash Word Games
 
Memory Deduction Games
Memory Deduction GamesMemory Deduction Games
Memory Deduction Games
 
Learning Game Implementation
Learning Game ImplementationLearning Game Implementation
Learning Game Implementation
 
Game Design Process
Game Design ProcessGame Design Process
Game Design Process
 

Recently uploaded

RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
indexPub
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
TechSoup
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
nitinpv4ai
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
blueshagoo1
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
National Information Standards Organization (NISO)
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
nitinpv4ai
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 

Recently uploaded (20)

RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
 
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
THE SACRIFICE HOW PRO-PALESTINE PROTESTS STUDENTS ARE SACRIFICING TO CHANGE T...
 
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
Elevate Your Nonprofit's Online Presence_ A Guide to Effective SEO Strategies...
 
Bonku-Babus-Friend by Sathyajith Ray (9)
Bonku-Babus-Friend by Sathyajith Ray  (9)Bonku-Babus-Friend by Sathyajith Ray  (9)
Bonku-Babus-Friend by Sathyajith Ray (9)
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 
CIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdfCIS 4200-02 Group 1 Final Project Report (1).pdf
CIS 4200-02 Group 1 Final Project Report (1).pdf
 
Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"Benner "Expanding Pathways to Publishing Careers"
Benner "Expanding Pathways to Publishing Careers"
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10Haunted Houses by H W Longfellow for class 10
Haunted Houses by H W Longfellow for class 10
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 

Time-based Animation Games

  • 1. TIME-BASED ANIMATION It 7220 - March 30, 2009 Monday, March 30, 2009 1
  • 2. AGENDA Syllabus Timeline Comments about Mid-Term Time-based Animation Air Raid - Shooting Games Paddle Ball - Bouncing Games Lab Monday, March 30, 2009 2
  • 3. SYLLABUS TIMELINE I should have a design document from each team tonight Two more lecture periods April 6 - Word Games April 13 - Trivia Games 4 more labs, including tonight Projects/Presentations on April 27 No class meeting on May 4; Reflection Paper due via Digital Dropbox or email Monday, March 30, 2009 3
  • 4. MIDTERM COMMENTS Worth 20% of your grade for the course Approx half opted for take-home version of Part 2 Scores: 100 - 4 93 - 1 99 - 1 91 - 1 High: 100 98 - 4 90 - 1 Low: 80 97 - 1 89 - 1 96 - 1 80 - 2 Mean: 94.6 95 - 3 Median: 96.5 No one is trending below an A- for the course Monday, March 30, 2009 4
  • 5. MIDTERM PART-2 I saw at least 3 different ways to do this in ActionScript If you followed the rubric, you earned at least 75% credit, even if the Flash movie didn’t run correctly Examples of button navigation posted on Blackboard Week 4: stopAndPlayMC_Final.fla Week 5: inputTextReturn.fla Let’s take a look... Monday, March 30, 2009 5
  • 6. TIME-BASED ANIMATION Rosenzweig Chapter 5 (example given in AnimationTest.fla) Basic premise is to move objects at a consistent rate regardless of Flash player performance Means keeping track of the difference in time between frames This is accomplished using the flash.utils.getTimer class The getTimer function provides time in milliseconds (i.e., 1000 mS = 1 Second) Monday, March 30, 2009 6
  • 7. AIR RAID GAME The project game file AirRaid.fla contains 3 movie clips: Airplane - 6 frames; 5 aircraft plus an explosion AAGun - 1 frame; image is moved horizontally using left and right arrow keys Bullet - 1 frame; bullets move horizontally, triggered by space bar Game movie contains same three frame layout (into, play, gameover), scripts and buttons used in Deduction Game Monday, March 30, 2009 7
  • 8. AIR RAID GAME CLASSES Game uses 4 classes: AirRaid.as - document class contains all game logic to create initial objects, check for collisions, and handle scoring Airplane.as - constructor class takes 3 parameters: side (left or right), speed, and altitude AAGun.as - left or right movement of the gun movie clip using keyboard event listeners for detection of right and left arrow keys Bullet.as - similar to airplane class accept speed is applied vertically instead of horizontally Monday, March 30, 2009 8
  • 9. PADDLE BALL GAME The same basic design arrangement as Air Raid and Deduction games including intro, play, and gameover frames in PaddleBall.fla There is a single document class file, PaddleBall.as; there is no constructor function as the game waits for the second frame, to start Difference in variables is the need to track velocity which is a combination of speed and direction Monday, March 30, 2009 9
  • 10. PADDLE BALL GAME Arrays are used to keep track of the bricks Collision detection is more complicated as the ball must detect collisions with the bricks, paddle and the three walls, and respond appropriately Possible mods to this game include sound effects and different colors of bricks Monday, March 30, 2009 10
  • 11. ROSENZWEIG OBSERVATIONS Games are becoming more complex Games are constructed in modules; requires up front design in determining where to place code Games build on knowledge of earlier examples Rosenzweig breaks it down whenever a new concept is introduced and provides decent comments in code Be sure to pay attention to hints for testing and debugging, for example the AirRaid test class on page 164 Monday, March 30, 2009 11
  • 12. ROSENZWEIG NEXT 2 WEEKS Chap 9 - Word Games Chap 10 - Trivia/Quiz Games Are groups looking at other games from Rosenzweig like puzzles (chap 6), direction and movement (chap 7)? Does each team have a game strategy or mod mapped out which will produce a final product in 4 weeks? (if not, we definitely need to talk) Monday, March 30, 2009 12
  • 13. LAB Group work Monday, March 30, 2009 13