software engineering for computer games computer games and game engines – crash course

22
Software Engineering for Computer Games Computer games and game engines – crash course

Upload: morris-golden

Post on 05-Jan-2016

243 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Software Engineering for Computer Games Computer games and game engines – crash course

Software Engineering for Computer Games

Computer games and game engines – crash course

Page 2: Software Engineering for Computer Games Computer games and game engines – crash course

Game engine

Computer game = infrastructure + content

Game engine = infrastructure layer of game development process

Page 3: Software Engineering for Computer Games Computer games and game engines – crash course

Game engine

Same infrastructure, several games Example: Unreal engine (

http://www.unrealtechnology.com)

Dozens of games developed using Unreal Big business: Unreal license can cost

US$750,000

Page 4: Software Engineering for Computer Games Computer games and game engines – crash course

Game engine – Unreal

Unreal games (a few examples):

Page 5: Software Engineering for Computer Games Computer games and game engines – crash course

Game engine

“Technical” issues encapsulated in infrastructure

“Artistic” issues (i.e. content) released from technicalities

Page 6: Software Engineering for Computer Games Computer games and game engines – crash course

Game engine

generic

usef

ul

Usefulness versus Genericity

Page 7: Software Engineering for Computer Games Computer games and game engines – crash course

Game engine – 2D engines

2D games are (just) slightly simpler to develop and implement, including technical issues

2D game engines have (just) slightly less problems with which to deal

Page 8: Software Engineering for Computer Games Computer games and game engines – crash course

2D game engine – example

Gamemaker by Mark Overmars http://www.gamemaker.nl Written in Delphi v.7 About 40 thousand lines of code Project started in 1999 First public release took about 4

months Present version: 6.1

Page 9: Software Engineering for Computer Games Computer games and game engines – crash course

2D game engine - example

Hints: Follow the simple game construction

example in the next slides From that, infer some basic features your

game engine must present Check the material at

http://www.gamemaker.nl Build your requirements

Page 10: Software Engineering for Computer Games Computer games and game engines – crash course

2D game engine – example

WARNING: Your project cannot be too complex –

otherwise you will not complete the required steps in time

Your project cannot be too simple – it MUST keep the whole team busy, and it MUST be such that a smaller team could not complete it

Page 11: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

A maze game

Page 12: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Graphic elements (“sprites”) – wall

Page 13: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Graphic elements (“sprites”) – goal

Page 14: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Graphic elements (“sprites”) – agent

Page 15: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Objects – wall (no associated event)

Page 16: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Objects – goal

Page 17: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Objects – agent(I): move according to arrows

Page 18: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Objects – agent(II): grid alignment

Page 19: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Objects – agent(III): stop when hitting wall

Page 20: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Rooms:

Page 21: Software Engineering for Computer Games Computer games and game engines – crash course

Gamemaker

Rooms:

Page 22: Software Engineering for Computer Games Computer games and game engines – crash course

Game engines

Additional information:

Game Engine Anatomy 101 – http://www.extremetech.com/article2/0,3973,594,00.asp

Your lecturer Your teaching assistants http://www.ime.usp.br/~lidet