at UVU
description
Transcript of at UVU
![Page 1: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/1.jpg)
Dr. Brian DurneyComputing and Networking Sciences
at UVU
C S 3 5 4 0
![Page 2: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/2.jpg)
Why Game Programming?
![Page 3: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/3.jpg)
It’s fun! (Most of the time)
It’s also a whole lot of work:• game design• software design and implementation• art, music, sound, writing• testing
![Page 4: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/4.jpg)
Nine Billion DollarsComputer games are a big industry.
"More money is spent on games than on movies."
...but...
![Page 5: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/5.jpg)
ResearchYes, real research:
No, they’re not talking about chess.
Human-level AI’s Killer Application:Interactive Computer Games
John E. Laird and Michael van LentUniversity of Michigan
![Page 6: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/6.jpg)
My favorite things:• Graphics Programming• Artificial Intelligence• Network Programming• Interesting Math Problems• Game Design• Writing and Art
![Page 7: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/7.jpg)
What we will do this term:• Graphics
• Game Design
• Game AI
![Page 8: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/8.jpg)
Graphics
![Page 9: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/9.jpg)
Unity unity3d.com
![Page 10: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/10.jpg)
Why Unity?• Cross-platform Windows and Mac OS X• Easy to use (for a game engine) but
powerful• It’s free…or at least there is a free version• Web browser plug-in
![Page 11: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/11.jpg)
Assignment 1: Unity Box World Game
• User input• Image texture• 3D model• Moving objects• Collision detection• Timer• A way to win
![Page 12: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/12.jpg)
GameDesign
![Page 13: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/13.jpg)
What makes a good game?
![Page 14: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/14.jpg)
Game Review and Presentation
Look at a commercial game in terms of the game design principles we discuss in class.
![Page 15: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/15.jpg)
Interactive Fiction• Text games• Venerable ancestors of ...• Game balance, story line, nonlinear plots,
characters, combat, etc.• Story generation
![Page 16: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/16.jpg)
Game AI
![Page 17: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/17.jpg)
Write a program to control a bot.
We will also look at this game in terms of graphics and game design.
http://universe.tc.uvu.edu/uvbots/index.html
![Page 18: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/18.jpg)
UV Bots
Server DisplayClient
BotClient
BotClient
BotClient
http://universe.tc.uvu.edu/uvbots/index.html
![Page 19: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/19.jpg)
Programming Problem
How can the server efficiently tell when one bot hits another?
![Page 20: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/20.jpg)
Programming Problem
How can the display keep the beam from going through obstacles?
![Page 21: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/21.jpg)
3D Display using Unity
![Page 22: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/22.jpg)
AIIDEArtificial Intelligence in Interactive Digital Entertainment
![Page 23: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/23.jpg)
Story generator and director• Automated dungeon master
– Creates map– Creates plot/storyline– Runs adventure
Easy, right?
![Page 24: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/24.jpg)
www.spacecamputah.org
![Page 25: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/25.jpg)
CMSEC SimulatorsCMSEC Simulators• Human flight director• Single ship• Cocoa (Mac OS X)
![Page 26: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/26.jpg)
iWorlds simulator project• Multiple ships• Cross-platform with HTTP communication
– Clients can be written using JavaScript, Flex, Unity, Java, etc.
– Web-based games are possible• Educational games
![Page 27: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/27.jpg)
Unity 3D display
![Page 28: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/28.jpg)
OMEGA Organization for Making and Exploring Game Applications
http://universe.tc.uvu.edu/csclub/
Help build a computer game experience like no other: a game that puts you and your friends on a starship bridge with a 50-inch main view screen, 6 computer stations, and props, fighting an enemy crew that's just waiting to blow you away in real-time space combat.
![Page 29: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/29.jpg)
OMEGA simulator project• Optional AI flight director• Real-time• 3D graphics• Online—MMO (or at least MO) RPG or
RTS some day
• Working with iWorlds
![Page 30: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/30.jpg)
Project• I encourage groups of 2 to 3 students for
the project.• Specialize in graphics, game AI, game
design.• Complete
– Not necessarily a complete game, but should be a complete game, tool, or library.
• Programming required– Not just a level design– I must be able to read your source code and play your
game.
![Page 31: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/31.jpg)
Project Ideas• UV Bots
– map editor– 3D display, Flash/Flex display, ...– game design and mechanics
• iWorlds/OMEGA– spaceship combat– trade and exploration– mini games
OMEGA
![Page 32: at UVU](https://reader036.fdocuments.us/reader036/viewer/2022081604/56816265550346895dd2cbad/html5/thumbnails/32.jpg)
Project Ideas• Story generator and director
– Use AI planner to generate and analyze plots– Choose manageable subproblem and
implement for NWN, UT, Half-life, text game, ...
• Your idea here...