SlideShare une entreprise Scribd logo
1  sur  7
Mini Project- Games Hardware Development
Author: University of Hertfordshire
Date created:
Date revised: 2009


Abstract
The following resources come from the 2009/10 BSc in Games and Graphics Hardware Technology (course
number 2ELE0074) from the University of Hertfordshire. All the mini projects are designed as level two
modules of the undergraduate programmes.

The objectives of this module are to demonstrate, using the PlayStation® 2 SDK:
   • Knowledge of PS2 registers, graphics, sound, IO architecture, EE, GS and VU’s
   • Graphics programming.

This project will investigate the PlayStation® 2 through use of the Linux SDK. The project will involve the
completion of a 2D game to explore the architecture of the PS2.



                                                                  Contents
Mini Project- Games Hardware Development.....................................................................................1
Section 1. Project Introduction.............................................................................................................2
Section 2. Project Day 1 Brief .............................................................................................................4
Section 3. Project Day 2 Brief..............................................................................................................5
Section 4. Basic PlayStation2 Game Editing Instructions....................................................................6
Credits...................................................................................................................................................7


In addition to the resources found below there are supporting documents which should be used in
combination with this resource. Please see:
Mini Projects - Introductory presentation.
Mini Projects - E-Log.
Mini Projects - Staff & Student Guide.
Mini Projects - Standard Grading Criteria.
Mini Projects - Reflection.




                       © University of Hertfordshire 2009 This work is licensed under a Creative Commons Attribution 2.0 License.
Mini Project- Games Hardware



Section 1. Project Introduction
1. Learning Outcomes assessed (as taken from the DMD)
All Learning Outcomes specified in the Definitive Module Documentation are assessed as part of this
miniproject, the specific Learning Outcomes are:
Knowledge and Understanding
    •       Be able to analyse and breakdown problem tasks into manageable steps.
    •       Integrate previous and concurrent learning and to use it to solve technology-based problems.
    •       Be able to describe the project life-cycle appropriately.
    •   Be able to select appropriate Games and Graphics Hardware Technology and techniques for a given
        situation.
Skills and Attributes

    •       Produce a solution to a defined Games and Graphics Hardware Technology problem.
    •       Carry out a simple critical evaluation of their solution.
    •       Demonstrate an ability to work effectively in a teams, small groups and individually.
    •       Demonstrate an ability to manage time and resources effectively.


2. Project Title: Games Hardware
3. Project Objectives: (technical, specific to this project)

Demonstrate, using the PlayStation® 2 SDK:
   • Knowledge of PS2 registers, graphics, sound, IO architecture, EE, GS and VU’s
   • Graphics programming

4. Project Summary: (50 words max)

This project will investigate the PlayStation® 2 through use of the Linux SDK. The project will involve the
completion of a 2D game to explore the architecture of the PS2.

5. Introductory Lecture (2hrs) Content:

   i.       PS2 architecture
  ii.       Linux and the PS2 SDK
 iii.       PS2 development (C and assembly overview)


6. Preparation Session (3hrs):

  i.        PS2 SDK familiarisation

7. Day 1

Expected Outcomes for the day:
The students will be given skeleton game code, providing the complete infrastructure for a basic PS2 game.
They will be required to modify the code to construct a working game which meets a given specification. As
the project progresses, students will be encouraged to edit function code to investigate whether
performance enhancements are possible by altering the code to make better use of the PS2 hardware
resources.

Assessment criteria: How methodically the work has been planned, implemented, and tested; the extent to
which the game functionality meets the given specification; any alterations made to the code to enhance
performance.

Key Tasks:
        •   Construct game to meet specification


                                                        Page 2 of 7
Mini Project- Games Hardware

   •   Demonstrate game and answer questions to demonstrate understanding


8. Day 2
Expected Outcomes for the day:

Students will be given extensions to the Day 1 game scenario following on from the basic game achieved on
day 1. Once correct functionality has been achieved, students will be encouraged to enhance the
performance of the game by structuring the code to maximise usage of the underlying hardware eg small
loop structures, correct texture sizes.

Assessment criteria: How methodically the work has been planned, implemented and tested; the extent to
which the functionality of the game meets the given specification; any alterations made to the code to
enhance performance.

Key Tasks:

Extend game to achieve functionality of complex scenario (basic game will be given to any who have not
managed to complete this yet so that they are not disadvantaged today)

   •   Investigate whether performance can be enhanced and if so, make alterations to code
   •   Demonstrate game and answer questions to demonstrate understanding

9. Facilitator guidance (key ideas to draw out from students):
Day 1: Value of a methodical approach, game i/o structure, relationship between software and hardware
resources
Day 2: texture cache thrashing, instruction cache limitations.

10. Required Resources: Laboratory Facilities and Teaching Support.

   Laboratory Resources:
   For each student: PlayStation® 2 with SDK networked to single PC, Monitor.




                                                Page 3 of 7
Mini Project- Games Hardware



Section 2. Project Day 1 Brief
You will create a version of the classic video game Space Invaders, based on the example code provided.
This game, released in the late 1970's was one of the first arcade games to come widely popular, and is still
used as a programming exercise for new programmers joining games companies.

If you are unfamiliar with the game, a Flash based version can be played here:
http://www.freespaceinvaders.org/

The idea of the game is that you control a small space ship or laser canon at the bottom of the screen, and
are required to shoot the invaders coming down from the sky, while trying to avoid their missiles/lasers
coming down at you.

The invaders move sideways across the screen together, and when one reaches the edge, the invaders all
move down a space and then move back across the screen in the opposite direction. Eventually the invaders
will get to ground level and you will lose. A single hit on an invader will destroy it. A single hit of an invader
missile/laser on you will cost you a life.

Small shelters which are gradually destroyed by alien (and your) missiles help you evade the invaders’
missiles.

You gain points for destroying the invaders, and the speed of movement of the invaders increases during the
game. You can gain additional lives by scoring points, but initially have 3 lives.

In the original game, an additional red ship occasionally traverses the top of the screen, and is worth further
points if destroyed.

Once all invaders are destroyed, the game starts again, but with the alien ranks starting lower each time.

Your task is to implement a copy of this game, using the available tools, and extending it to include further
variations (the original game has many later variants). You are not required to implement sound.


Day 1 Game Requirements Specification

The level should contain at least three rows of nine aliens each at the start of the game, one space ship at
the bottom and at four shelters/bunkers.

Aliens must move correctly in the way described above, gradually descending to the bottom of the screen

The game pad left and right buttons should move the space ship left and right across the bottom of the
screen, but not off the screen (i.e. its movement should be limited). The space ship should not be able to
move in any other direction.

One of the buttons on the right hand pad should be used to fire missiles vertically up at the aliens. Only one
bullet at a time can be fired at the aliens (i.e. the next missile cannot be fired until the last one has
disappeared/exploded).

If the missile hits an alien, both should be destroyed, i.e. disappear and add to the points score.

Hits on the shelters should gradually destroy them, and missiles should not pass through until the shelter is
destroyed.

Aliens should fire missiles vertically down at the space ship. This should use random numbers to decide
when.

If an alien missile or an alien hits the space ship it should be destroyed, and a life taken off.




                                                     Page 4 of 7
Mini Project- Games Hardware



Section 3. Project Day 2 Brief
Day 2 Game Requirements Specification

The level should contain at least three rows of nine aliens each at the start of the game, one space ship at
the bottom and at four shelters/bunkers.

Aliens must move correctly in the way described above, gradually descending to the bottom of the screen

The game pad left and right buttons should move the space ship left and right across the bottom of the
screen, but not off the screen (i.e. its movement should be limited). The space ship should not be able to
move in any other direction.

One of the buttons on the right hand pad should be used to fire missiles vertically up at the aliens. Only one
bullet at a time can be fired at the aliens (i.e. the next missile cannot be fired until the last one has
disappeared/exploded).

If the missile hits an alien, both should be destroyed, i.e. disappear and add to the points score.

The lives of the spaceship should be displayed as in the example.

Additional Hits on the shelters should gradually destroy them, and missiles should not pass through until the
shelter is destroyed.

Aliens should fire missiles vertically down at the space ship. This should use random numbers to decide
when.

If an alien missile or an alien hits the space ship it should be destroyed, and a life taken off.

PS2 Brief – Day 2 Specification

Further requirements:
Alien movement should accelerate during the game.

An additional occasional alien traversing the Screen worth a large number of points

Display the number of lives left as pictures of the space ship.

Add variations to the alien missile movements:
1) a zig-zag pattern as they descend.
2) a following mechanism where alien missiles move sideways towards the space ship as well as
downwards.




                                                     Page 5 of 7
Mini Project- Games Hardware



Section 4. Basic PlayStation2 Game Editing Instructions
Introduction:

The best way is to work almost exclusively from the PC, using two different Telnet sessions (or more if you
like, e.g. for two different files being edited).

The steps:
1)    Login on the PS2 (i.e. on the PS2 keyboard). From now on do everything on
      the PC (apart from playing the game on the game controller).

2)     On the PC: Run.. (from the start menu) then type cmd. In the command window, type telnet
       192.168.0.2 and then login as assigned user name and password

3)     In Telnet: navigate to the required folder using the cd command.

4)     In Telnet: change to SuperUser mode (type su)

5)     You may need to change the width of the command window on the PC - click on the top left menu,
       select properties and the layout tab. Change the Window Size width (e.g. to 150).

6)     In this Telnet session run vi to edit a particular file (e.g. vi main.cpp) - see vi help below.

7)     Launch a second command window from the PC (i.e. Run.. from the start menu), and also Telnet into
       the PS2, cd to the same folder and type su to change to SuperUser mode.

8)     In this second telnet session, enter make to compile. If you have errors, a list of error messages will
       appear on the screen. If you have lots of errors, type make 2>&1 | less which allows you to scroll up
       and down to see errors with (e =down, y = up, q to exit).

9)     If you get errors after typing make, you must not run the program before correcting them. Use Vi to
       correct only the first error on the list, don’t worry about the other errors as this first one may be
       causing the errors lower down.

10) Remake immediately (by typing make in the second telnet session) otherwise you could waste hours
     looking at an error that doesn’t exist anymore.

11) Once you have got rid of all of the errors, type ./main in the second telnet window to run.




                                                      Page 6 of 7
Mini Project- Games Hardware



Credits
This resource was created by the University of Hertfordshire and released as an open
educational resource through the Open Engineering Resources project of the HE
Academy Engineering Subject Centre. The Open Engineering Resources project was
funded by HEFCE and part of the JISC/HE Academy UKOER programme.




© University of Hertfordshire 2009




This work is licensed under a Creative Commons Attribution 2.0 License.

The name of the University of Hertfordshire, UH and the UH logo are the name and registered marks of the University of Hertfordshire.
To the fullest extent permitted by law the University of Hertfordshire reserves all its rights in its name and marks which may not be used
except with its written permission.

“   ”, “PLAYSTATION”, “PS2”, “PlayStation” and "     " are trademarks or registered trademarks of Sony Computer Entertainment Inc.

The JISC logo is licensed under the terms of the Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England
& Wales Licence. All reproductions must comply with the terms of that licence.

The HEA logo is owned by the Higher Education Academy Limited may be freely distributed and copied for educational purposes only,
provided that appropriate acknowledgement is given to the Higher Education Academy as the copyright holder and original publisher.




                                                               Page 7 of 7

Contenu connexe

Tendances

Educational Game Design Thesis
Educational Game Design ThesisEducational Game Design Thesis
Educational Game Design ThesisCory Buckley
 
Chapt 1 (part 1) mobile apps framework and platforms
Chapt 1 (part 1)   mobile apps framework and platformsChapt 1 (part 1)   mobile apps framework and platforms
Chapt 1 (part 1) mobile apps framework and platformsMuhd Basheer
 
06. Game Architecture
06. Game Architecture06. Game Architecture
06. Game ArchitectureAmin Babadi
 
Intro to Indie Game Development
Intro to Indie Game DevelopmentIntro to Indie Game Development
Intro to Indie Game DevelopmentShahed Chowdhuri
 
PRESENTATION ON Game Engine
PRESENTATION ON Game EnginePRESENTATION ON Game Engine
PRESENTATION ON Game EngineDiksha Bhargava
 
Game development life cycle
Game development life cycleGame development life cycle
Game development life cycleSarah Alazab
 
Final Year Game Project Presentation
Final Year Game Project Presentation Final Year Game Project Presentation
Final Year Game Project Presentation Nusrat Jahan Shanta
 
Project Management Liverpool John Moores University
Project Management Liverpool John Moores UniversityProject Management Liverpool John Moores University
Project Management Liverpool John Moores Universitysnoozed
 
Unity 3D
Unity 3DUnity 3D
Unity 3Dgema123
 
Car racing game for android
Car racing game for androidCar racing game for android
Car racing game for androidravijot singh
 
LAFS SVI Level 6 - Game Development
LAFS SVI Level 6 - Game DevelopmentLAFS SVI Level 6 - Game Development
LAFS SVI Level 6 - Game DevelopmentDavid Mullich
 
Android Fish Game Development
Android Fish Game Development Android Fish Game Development
Android Fish Game Development Rasel Khan
 

Tendances (19)

Educational Game Design Thesis
Educational Game Design ThesisEducational Game Design Thesis
Educational Game Design Thesis
 
Indie Game Development Intro
Indie Game Development IntroIndie Game Development Intro
Indie Game Development Intro
 
Chapt 1 (part 1) mobile apps framework and platforms
Chapt 1 (part 1)   mobile apps framework and platformsChapt 1 (part 1)   mobile apps framework and platforms
Chapt 1 (part 1) mobile apps framework and platforms
 
06. Game Architecture
06. Game Architecture06. Game Architecture
06. Game Architecture
 
Unity 3D VS your team
Unity 3D VS your teamUnity 3D VS your team
Unity 3D VS your team
 
First-person Shooters
First-person ShootersFirst-person Shooters
First-person Shooters
 
Intro to Indie Game Development
Intro to Indie Game DevelopmentIntro to Indie Game Development
Intro to Indie Game Development
 
Video game design
Video game designVideo game design
Video game design
 
PRESENTATION ON Game Engine
PRESENTATION ON Game EnginePRESENTATION ON Game Engine
PRESENTATION ON Game Engine
 
What is game development
What is game developmentWhat is game development
What is game development
 
Unity 3d Basics
Unity 3d BasicsUnity 3d Basics
Unity 3d Basics
 
Game development life cycle
Game development life cycleGame development life cycle
Game development life cycle
 
Unity - Game Engine
Unity - Game EngineUnity - Game Engine
Unity - Game Engine
 
Final Year Game Project Presentation
Final Year Game Project Presentation Final Year Game Project Presentation
Final Year Game Project Presentation
 
Project Management Liverpool John Moores University
Project Management Liverpool John Moores UniversityProject Management Liverpool John Moores University
Project Management Liverpool John Moores University
 
Unity 3D
Unity 3DUnity 3D
Unity 3D
 
Car racing game for android
Car racing game for androidCar racing game for android
Car racing game for android
 
LAFS SVI Level 6 - Game Development
LAFS SVI Level 6 - Game DevelopmentLAFS SVI Level 6 - Game Development
LAFS SVI Level 6 - Game Development
 
Android Fish Game Development
Android Fish Game Development Android Fish Game Development
Android Fish Game Development
 

En vedette

My Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & SnapshotsMy Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & SnapshotsUsman Sait
 
Employing Internet of Things Technologies for Building Automation
Employing Internet of Things Technologies for Building Automation Employing Internet of Things Technologies for Building Automation
Employing Internet of Things Technologies for Building Automation Dimitrios Amaxilatis
 
Stereotype Threats’ Influence on Elementary Pre-service Teachers\' Attitude T...
Stereotype Threats’ Influence on Elementary Pre-service Teachers\' Attitude T...Stereotype Threats’ Influence on Elementary Pre-service Teachers\' Attitude T...
Stereotype Threats’ Influence on Elementary Pre-service Teachers\' Attitude T...lilsnickr
 
English Project Teenagers
English Project Teenagers English Project Teenagers
English Project Teenagers Anja Cami
 
Hardware Technology Trends
Hardware Technology TrendsHardware Technology Trends
Hardware Technology TrendsMarlon Jamera
 
Game Development Step by Step
Game Development Step by StepGame Development Step by Step
Game Development Step by StepBayu Sembada
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentationlpaviglianiti
 
Hardware Trends 2016
Hardware Trends 2016Hardware Trends 2016
Hardware Trends 2016HAX
 

En vedette (20)

Mini Project- Games Development For The Desktop Pc And Dedicated Gaming Machine
Mini Project- Games Development For The Desktop Pc And Dedicated Gaming MachineMini Project- Games Development For The Desktop Pc And Dedicated Gaming Machine
Mini Project- Games Development For The Desktop Pc And Dedicated Gaming Machine
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
My Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & SnapshotsMy Project Report Documentation with Abstract & Snapshots
My Project Report Documentation with Abstract & Snapshots
 
Mini Project Internet Security Mechanisms
Mini Project  Internet Security MechanismsMini Project  Internet Security Mechanisms
Mini Project Internet Security Mechanisms
 
Employing Internet of Things Technologies for Building Automation
Employing Internet of Things Technologies for Building Automation Employing Internet of Things Technologies for Building Automation
Employing Internet of Things Technologies for Building Automation
 
Mini Project- Automated Selection Machine
Mini Project- Automated Selection MachineMini Project- Automated Selection Machine
Mini Project- Automated Selection Machine
 
Mini Project- Digital Video Editing
Mini Project- Digital Video EditingMini Project- Digital Video Editing
Mini Project- Digital Video Editing
 
Mini Project- Multimedia Montage
Mini Project- Multimedia MontageMini Project- Multimedia Montage
Mini Project- Multimedia Montage
 
Stereotype Threats’ Influence on Elementary Pre-service Teachers\' Attitude T...
Stereotype Threats’ Influence on Elementary Pre-service Teachers\' Attitude T...Stereotype Threats’ Influence on Elementary Pre-service Teachers\' Attitude T...
Stereotype Threats’ Influence on Elementary Pre-service Teachers\' Attitude T...
 
English Project Teenagers
English Project Teenagers English Project Teenagers
English Project Teenagers
 
Dbms ppt
Dbms pptDbms ppt
Dbms ppt
 
Mini Project- Home Automation
Mini Project- Home AutomationMini Project- Home Automation
Mini Project- Home Automation
 
Hardware Technology Trends
Hardware Technology TrendsHardware Technology Trends
Hardware Technology Trends
 
Dbms project.ppt
Dbms project.pptDbms project.ppt
Dbms project.ppt
 
Dbms Project
Dbms ProjectDbms Project
Dbms Project
 
Game Development Step by Step
Game Development Step by StepGame Development Step by Step
Game Development Step by Step
 
Vistas leo con soluciones
Vistas leo con solucionesVistas leo con soluciones
Vistas leo con soluciones
 
Artificial Intelligence Presentation
Artificial Intelligence PresentationArtificial Intelligence Presentation
Artificial Intelligence Presentation
 
Dbms project list
Dbms project listDbms project list
Dbms project list
 
Hardware Trends 2016
Hardware Trends 2016Hardware Trends 2016
Hardware Trends 2016
 

Similaire à PS2 Game Development Project

The complete srs documentation of our developed game.
The complete srs documentation of our developed game. The complete srs documentation of our developed game.
The complete srs documentation of our developed game. Isfand yar Khan
 
Chapt 2 storyboarding techniques
Chapt 2   storyboarding techniquesChapt 2   storyboarding techniques
Chapt 2 storyboarding techniquesMuhd Basheer
 
A realtime classic chess game [proposal]
A realtime classic chess game [proposal]A realtime classic chess game [proposal]
A realtime classic chess game [proposal]Nischal Lal Shrestha
 
Cerny method
Cerny methodCerny method
Cerny methodTim Holt
 
Kingston University AR Drone game-final report.pdf
Kingston University AR Drone game-final report.pdfKingston University AR Drone game-final report.pdf
Kingston University AR Drone game-final report.pdfAnne David
 
Lecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingLecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingKobkrit Viriyayudhakorn
 
MIND GAME ZONE - Abhijeet
MIND GAME ZONE - AbhijeetMIND GAME ZONE - Abhijeet
MIND GAME ZONE - AbhijeetAbhijeet Kalsi
 
Initial design (Game Architecture)
Initial design (Game Architecture)Initial design (Game Architecture)
Initial design (Game Architecture)Rajkumar Pawar
 
Discussions In your own words (75-150 words)Due Sunday, May .docx
Discussions     In your own words (75-150 words)Due Sunday, May .docxDiscussions     In your own words (75-150 words)Due Sunday, May .docx
Discussions In your own words (75-150 words)Due Sunday, May .docxedgar6wallace88877
 
Game Modding Lecture 2
Game Modding Lecture 2Game Modding Lecture 2
Game Modding Lecture 2Charles Palmer
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA GameSohil Gupta
 
Sip project and innovation pt2
Sip project and innovation pt2Sip project and innovation pt2
Sip project and innovation pt2Sin FromBirth
 
Understanding and improving games through machine learning - Natasha Latysheva
Understanding and improving games through machine learning - Natasha LatyshevaUnderstanding and improving games through machine learning - Natasha Latysheva
Understanding and improving games through machine learning - Natasha LatyshevaLauren Cormack
 
Task 1- Engine terminology
Task 1- Engine terminologyTask 1- Engine terminology
Task 1- Engine terminologycrimzon36
 
My Presentation.ppt
My Presentation.pptMy Presentation.ppt
My Presentation.pptFake474384
 

Similaire à PS2 Game Development Project (20)

The complete srs documentation of our developed game.
The complete srs documentation of our developed game. The complete srs documentation of our developed game.
The complete srs documentation of our developed game.
 
Chapt 2 storyboarding techniques
Chapt 2   storyboarding techniquesChapt 2   storyboarding techniques
Chapt 2 storyboarding techniques
 
A realtime classic chess game [proposal]
A realtime classic chess game [proposal]A realtime classic chess game [proposal]
A realtime classic chess game [proposal]
 
Pong
PongPong
Pong
 
intern.pdf
intern.pdfintern.pdf
intern.pdf
 
Shootemup report
Shootemup reportShootemup report
Shootemup report
 
Cerny method
Cerny methodCerny method
Cerny method
 
Cocos2d programming
Cocos2d programmingCocos2d programming
Cocos2d programming
 
Kingston University AR Drone game-final report.pdf
Kingston University AR Drone game-final report.pdfKingston University AR Drone game-final report.pdf
Kingston University AR Drone game-final report.pdf
 
Lecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR ProgrammingLecture 1 Introduction to VR Programming
Lecture 1 Introduction to VR Programming
 
MIND GAME ZONE - Abhijeet
MIND GAME ZONE - AbhijeetMIND GAME ZONE - Abhijeet
MIND GAME ZONE - Abhijeet
 
Initial design (Game Architecture)
Initial design (Game Architecture)Initial design (Game Architecture)
Initial design (Game Architecture)
 
Discussions In your own words (75-150 words)Due Sunday, May .docx
Discussions     In your own words (75-150 words)Due Sunday, May .docxDiscussions     In your own words (75-150 words)Due Sunday, May .docx
Discussions In your own words (75-150 words)Due Sunday, May .docx
 
Game Modding Lecture 2
Game Modding Lecture 2Game Modding Lecture 2
Game Modding Lecture 2
 
Galactic Wars XNA Game
Galactic Wars XNA GameGalactic Wars XNA Game
Galactic Wars XNA Game
 
Sip project and innovation pt2
Sip project and innovation pt2Sip project and innovation pt2
Sip project and innovation pt2
 
Valiant Description
Valiant DescriptionValiant Description
Valiant Description
 
Understanding and improving games through machine learning - Natasha Latysheva
Understanding and improving games through machine learning - Natasha LatyshevaUnderstanding and improving games through machine learning - Natasha Latysheva
Understanding and improving games through machine learning - Natasha Latysheva
 
Task 1- Engine terminology
Task 1- Engine terminologyTask 1- Engine terminology
Task 1- Engine terminology
 
My Presentation.ppt
My Presentation.pptMy Presentation.ppt
My Presentation.ppt
 

Plus de University of Hertfordshire, School of Electronic Communications and Electrical Engineering

Plus de University of Hertfordshire, School of Electronic Communications and Electrical Engineering (20)

Mini Project- Soundscape for Games Consoles
Mini Project-  Soundscape for Games ConsolesMini Project-  Soundscape for Games Consoles
Mini Project- Soundscape for Games Consoles
 
Mini Project- Face Recognition
Mini Project- Face RecognitionMini Project- Face Recognition
Mini Project- Face Recognition
 
Mini Project- Audio Enhancement
Mini Project- Audio EnhancementMini Project- Audio Enhancement
Mini Project- Audio Enhancement
 
Mini Project- Audio Enhancement
Mini Project-  Audio EnhancementMini Project-  Audio Enhancement
Mini Project- Audio Enhancement
 
Mini Project- Multimedia Montage
Mini Project-  Multimedia MontageMini Project-  Multimedia Montage
Mini Project- Multimedia Montage
 
Mini Project- Internet Security Mechanisms
Mini Project- Internet Security MechanismsMini Project- Internet Security Mechanisms
Mini Project- Internet Security Mechanisms
 
Mini Project- Personal Multimedia Portfolio
Mini Project- Personal Multimedia PortfolioMini Project- Personal Multimedia Portfolio
Mini Project- Personal Multimedia Portfolio
 
Mini Projects- Personal Multimedia Portfolio
Mini Projects- Personal Multimedia PortfolioMini Projects- Personal Multimedia Portfolio
Mini Projects- Personal Multimedia Portfolio
 
Mini Project- Credit The Edit
Mini Project- Credit The EditMini Project- Credit The Edit
Mini Project- Credit The Edit
 
Mini Project- Credit The Edit
Mini Project- Credit The EditMini Project- Credit The Edit
Mini Project- Credit The Edit
 
Mini Project- Digital Video Editing
Mini Project- Digital Video EditingMini Project- Digital Video Editing
Mini Project- Digital Video Editing
 
Mini Project- Digital Audio Editing
Mini Project- Digital Audio EditingMini Project- Digital Audio Editing
Mini Project- Digital Audio Editing
 
Mini Project- Shopping Cart Development
Mini Project- Shopping Cart DevelopmentMini Project- Shopping Cart Development
Mini Project- Shopping Cart Development
 
Mini Project- Shopping Cart Development
Mini Project- Shopping Cart DevelopmentMini Project- Shopping Cart Development
Mini Project- Shopping Cart Development
 
Mini Project- 3D Graphics And Visualisation
Mini Project- 3D Graphics And VisualisationMini Project- 3D Graphics And Visualisation
Mini Project- 3D Graphics And Visualisation
 
Mini Project- Virtual Network Project
Mini Project- Virtual Network ProjectMini Project- Virtual Network Project
Mini Project- Virtual Network Project
 
Mini Project- Virtual Network Project
Mini Project-  Virtual Network ProjectMini Project-  Virtual Network Project
Mini Project- Virtual Network Project
 
Mini Project- Implementation & Evaluation Of Wireless La Ns
Mini Project- Implementation & Evaluation Of Wireless La NsMini Project- Implementation & Evaluation Of Wireless La Ns
Mini Project- Implementation & Evaluation Of Wireless La Ns
 
Mini Project- Implementation & Evaluation of Wireless LANs
Mini Project- Implementation & Evaluation of Wireless LANsMini Project- Implementation & Evaluation of Wireless LANs
Mini Project- Implementation & Evaluation of Wireless LANs
 
Mini Project- Stepper Motor Control
Mini Project- Stepper Motor ControlMini Project- Stepper Motor Control
Mini Project- Stepper Motor Control
 

Dernier

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 

Dernier (20)

OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 

PS2 Game Development Project

  • 1. Mini Project- Games Hardware Development Author: University of Hertfordshire Date created: Date revised: 2009 Abstract The following resources come from the 2009/10 BSc in Games and Graphics Hardware Technology (course number 2ELE0074) from the University of Hertfordshire. All the mini projects are designed as level two modules of the undergraduate programmes. The objectives of this module are to demonstrate, using the PlayStation® 2 SDK: • Knowledge of PS2 registers, graphics, sound, IO architecture, EE, GS and VU’s • Graphics programming. This project will investigate the PlayStation® 2 through use of the Linux SDK. The project will involve the completion of a 2D game to explore the architecture of the PS2. Contents Mini Project- Games Hardware Development.....................................................................................1 Section 1. Project Introduction.............................................................................................................2 Section 2. Project Day 1 Brief .............................................................................................................4 Section 3. Project Day 2 Brief..............................................................................................................5 Section 4. Basic PlayStation2 Game Editing Instructions....................................................................6 Credits...................................................................................................................................................7 In addition to the resources found below there are supporting documents which should be used in combination with this resource. Please see: Mini Projects - Introductory presentation. Mini Projects - E-Log. Mini Projects - Staff & Student Guide. Mini Projects - Standard Grading Criteria. Mini Projects - Reflection. © University of Hertfordshire 2009 This work is licensed under a Creative Commons Attribution 2.0 License.
  • 2. Mini Project- Games Hardware Section 1. Project Introduction 1. Learning Outcomes assessed (as taken from the DMD) All Learning Outcomes specified in the Definitive Module Documentation are assessed as part of this miniproject, the specific Learning Outcomes are: Knowledge and Understanding • Be able to analyse and breakdown problem tasks into manageable steps. • Integrate previous and concurrent learning and to use it to solve technology-based problems. • Be able to describe the project life-cycle appropriately. • Be able to select appropriate Games and Graphics Hardware Technology and techniques for a given situation. Skills and Attributes • Produce a solution to a defined Games and Graphics Hardware Technology problem. • Carry out a simple critical evaluation of their solution. • Demonstrate an ability to work effectively in a teams, small groups and individually. • Demonstrate an ability to manage time and resources effectively. 2. Project Title: Games Hardware 3. Project Objectives: (technical, specific to this project) Demonstrate, using the PlayStation® 2 SDK: • Knowledge of PS2 registers, graphics, sound, IO architecture, EE, GS and VU’s • Graphics programming 4. Project Summary: (50 words max) This project will investigate the PlayStation® 2 through use of the Linux SDK. The project will involve the completion of a 2D game to explore the architecture of the PS2. 5. Introductory Lecture (2hrs) Content: i. PS2 architecture ii. Linux and the PS2 SDK iii. PS2 development (C and assembly overview) 6. Preparation Session (3hrs): i. PS2 SDK familiarisation 7. Day 1 Expected Outcomes for the day: The students will be given skeleton game code, providing the complete infrastructure for a basic PS2 game. They will be required to modify the code to construct a working game which meets a given specification. As the project progresses, students will be encouraged to edit function code to investigate whether performance enhancements are possible by altering the code to make better use of the PS2 hardware resources. Assessment criteria: How methodically the work has been planned, implemented, and tested; the extent to which the game functionality meets the given specification; any alterations made to the code to enhance performance. Key Tasks: • Construct game to meet specification Page 2 of 7
  • 3. Mini Project- Games Hardware • Demonstrate game and answer questions to demonstrate understanding 8. Day 2 Expected Outcomes for the day: Students will be given extensions to the Day 1 game scenario following on from the basic game achieved on day 1. Once correct functionality has been achieved, students will be encouraged to enhance the performance of the game by structuring the code to maximise usage of the underlying hardware eg small loop structures, correct texture sizes. Assessment criteria: How methodically the work has been planned, implemented and tested; the extent to which the functionality of the game meets the given specification; any alterations made to the code to enhance performance. Key Tasks: Extend game to achieve functionality of complex scenario (basic game will be given to any who have not managed to complete this yet so that they are not disadvantaged today) • Investigate whether performance can be enhanced and if so, make alterations to code • Demonstrate game and answer questions to demonstrate understanding 9. Facilitator guidance (key ideas to draw out from students): Day 1: Value of a methodical approach, game i/o structure, relationship between software and hardware resources Day 2: texture cache thrashing, instruction cache limitations. 10. Required Resources: Laboratory Facilities and Teaching Support. Laboratory Resources: For each student: PlayStation® 2 with SDK networked to single PC, Monitor. Page 3 of 7
  • 4. Mini Project- Games Hardware Section 2. Project Day 1 Brief You will create a version of the classic video game Space Invaders, based on the example code provided. This game, released in the late 1970's was one of the first arcade games to come widely popular, and is still used as a programming exercise for new programmers joining games companies. If you are unfamiliar with the game, a Flash based version can be played here: http://www.freespaceinvaders.org/ The idea of the game is that you control a small space ship or laser canon at the bottom of the screen, and are required to shoot the invaders coming down from the sky, while trying to avoid their missiles/lasers coming down at you. The invaders move sideways across the screen together, and when one reaches the edge, the invaders all move down a space and then move back across the screen in the opposite direction. Eventually the invaders will get to ground level and you will lose. A single hit on an invader will destroy it. A single hit of an invader missile/laser on you will cost you a life. Small shelters which are gradually destroyed by alien (and your) missiles help you evade the invaders’ missiles. You gain points for destroying the invaders, and the speed of movement of the invaders increases during the game. You can gain additional lives by scoring points, but initially have 3 lives. In the original game, an additional red ship occasionally traverses the top of the screen, and is worth further points if destroyed. Once all invaders are destroyed, the game starts again, but with the alien ranks starting lower each time. Your task is to implement a copy of this game, using the available tools, and extending it to include further variations (the original game has many later variants). You are not required to implement sound. Day 1 Game Requirements Specification The level should contain at least three rows of nine aliens each at the start of the game, one space ship at the bottom and at four shelters/bunkers. Aliens must move correctly in the way described above, gradually descending to the bottom of the screen The game pad left and right buttons should move the space ship left and right across the bottom of the screen, but not off the screen (i.e. its movement should be limited). The space ship should not be able to move in any other direction. One of the buttons on the right hand pad should be used to fire missiles vertically up at the aliens. Only one bullet at a time can be fired at the aliens (i.e. the next missile cannot be fired until the last one has disappeared/exploded). If the missile hits an alien, both should be destroyed, i.e. disappear and add to the points score. Hits on the shelters should gradually destroy them, and missiles should not pass through until the shelter is destroyed. Aliens should fire missiles vertically down at the space ship. This should use random numbers to decide when. If an alien missile or an alien hits the space ship it should be destroyed, and a life taken off. Page 4 of 7
  • 5. Mini Project- Games Hardware Section 3. Project Day 2 Brief Day 2 Game Requirements Specification The level should contain at least three rows of nine aliens each at the start of the game, one space ship at the bottom and at four shelters/bunkers. Aliens must move correctly in the way described above, gradually descending to the bottom of the screen The game pad left and right buttons should move the space ship left and right across the bottom of the screen, but not off the screen (i.e. its movement should be limited). The space ship should not be able to move in any other direction. One of the buttons on the right hand pad should be used to fire missiles vertically up at the aliens. Only one bullet at a time can be fired at the aliens (i.e. the next missile cannot be fired until the last one has disappeared/exploded). If the missile hits an alien, both should be destroyed, i.e. disappear and add to the points score. The lives of the spaceship should be displayed as in the example. Additional Hits on the shelters should gradually destroy them, and missiles should not pass through until the shelter is destroyed. Aliens should fire missiles vertically down at the space ship. This should use random numbers to decide when. If an alien missile or an alien hits the space ship it should be destroyed, and a life taken off. PS2 Brief – Day 2 Specification Further requirements: Alien movement should accelerate during the game. An additional occasional alien traversing the Screen worth a large number of points Display the number of lives left as pictures of the space ship. Add variations to the alien missile movements: 1) a zig-zag pattern as they descend. 2) a following mechanism where alien missiles move sideways towards the space ship as well as downwards. Page 5 of 7
  • 6. Mini Project- Games Hardware Section 4. Basic PlayStation2 Game Editing Instructions Introduction: The best way is to work almost exclusively from the PC, using two different Telnet sessions (or more if you like, e.g. for two different files being edited). The steps: 1) Login on the PS2 (i.e. on the PS2 keyboard). From now on do everything on the PC (apart from playing the game on the game controller). 2) On the PC: Run.. (from the start menu) then type cmd. In the command window, type telnet 192.168.0.2 and then login as assigned user name and password 3) In Telnet: navigate to the required folder using the cd command. 4) In Telnet: change to SuperUser mode (type su) 5) You may need to change the width of the command window on the PC - click on the top left menu, select properties and the layout tab. Change the Window Size width (e.g. to 150). 6) In this Telnet session run vi to edit a particular file (e.g. vi main.cpp) - see vi help below. 7) Launch a second command window from the PC (i.e. Run.. from the start menu), and also Telnet into the PS2, cd to the same folder and type su to change to SuperUser mode. 8) In this second telnet session, enter make to compile. If you have errors, a list of error messages will appear on the screen. If you have lots of errors, type make 2>&1 | less which allows you to scroll up and down to see errors with (e =down, y = up, q to exit). 9) If you get errors after typing make, you must not run the program before correcting them. Use Vi to correct only the first error on the list, don’t worry about the other errors as this first one may be causing the errors lower down. 10) Remake immediately (by typing make in the second telnet session) otherwise you could waste hours looking at an error that doesn’t exist anymore. 11) Once you have got rid of all of the errors, type ./main in the second telnet window to run. Page 6 of 7
  • 7. Mini Project- Games Hardware Credits This resource was created by the University of Hertfordshire and released as an open educational resource through the Open Engineering Resources project of the HE Academy Engineering Subject Centre. The Open Engineering Resources project was funded by HEFCE and part of the JISC/HE Academy UKOER programme. © University of Hertfordshire 2009 This work is licensed under a Creative Commons Attribution 2.0 License. The name of the University of Hertfordshire, UH and the UH logo are the name and registered marks of the University of Hertfordshire. To the fullest extent permitted by law the University of Hertfordshire reserves all its rights in its name and marks which may not be used except with its written permission. “ ”, “PLAYSTATION”, “PS2”, “PlayStation” and " " are trademarks or registered trademarks of Sony Computer Entertainment Inc. The JISC logo is licensed under the terms of the Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England & Wales Licence. All reproductions must comply with the terms of that licence. The HEA logo is owned by the Higher Education Academy Limited may be freely distributed and copied for educational purposes only, provided that appropriate acknowledgement is given to the Higher Education Academy as the copyright holder and original publisher. Page 7 of 7