programming games without programming sort of l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
“Programming” Games Without Programming (sort of) PowerPoint Presentation
Download Presentation
“Programming” Games Without Programming (sort of)

Loading in 2 Seconds...

play fullscreen
1 / 19

“Programming” Games Without Programming (sort of) - PowerPoint PPT Presentation


  • 342 Views
  • Uploaded on

“Programming” Games Without Programming (sort of) H. Mu ñ oz-Avila Jarret Raim Jonathan Martin Most Popular Games Genres Adventure games : Solving puzzles Finding clues E.g., through conversations with NPCs Role Playing Games (RPG) Player assumes fictional roles through Avatars

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about '“Programming” Games Without Programming (sort of)' - LionelDale


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
programming games without programming sort of

“Programming” Games Without Programming(sort of)

H. Muñoz-Avila

Jarret Raim

Jonathan Martin

most popular games genres
Most Popular Games Genres
  • Adventure games:
    • Solving puzzles
    • Finding clues
      • E.g., through conversations with NPCs
  • Role Playing Games (RPG)
    • Player assumes fictional roles through Avatars
    • Avatar acquires skills by performing tasks/actions
    • “Levels” indicate the progress of the avatar
    • Massive Multiplayer Online RPG (MMORPG)
      • RPGs with multiple other players in pervasive worlds
most popular games genres ii
Most Popular Games Genres (II)
  • Strategy games:
    • resource gathering, managing economy, technology development
    • Real-Time Strategy (RTS)
      • Simultaneous actions
    • Turn-based Games (TBS)
      • Take turns
        • Wargames
          • Accurate depiction of actual units and maps
  • Sport Games
    • Simulation of actual sport games
  • Games of chance
    • Outcome highly influenced by a stochastic environment
motivation scripting programming languages
Motivation: Scripting Programming Languages
  • The “Community Expansion Package” is a game created by players, many non-programmers
  • It is build using a software tool called Aurora which is included in the game Neverwinter Nights
  • In fact using Aurora, gamers creating thousands their own games
    • Most variants of the original game
    • Others significant departures
finite state machines and games
Finite State Machines and Games
  • State: an activity performed by an avatar
  • Event: something that happens in the game world that makes state change

Enemy on sight

Attack

Patrol

another finite state machine

E

S

Chase

~S

D

S

Another Finite State Machine
  • States
    • Attack
    • Chase
    • Spawn
    • Wander
  • Events
    • E: see an enemy
    • S: hear a sound
    • D: die

Attack

~E

D

E

Wander

E

~E

Spawn

D

but it gets even easier event on map

If player walks here then

Spawn Mephisto

Put 3 orcs here

Starting place of player

But it gets even easier (event-on-map)
ok let us construct one finite state machine
Ok Let Us Construct One Finite State Machine
  • Lets program High Priestess Jeklik
    • Here is she in action
    • Text Description
  • Step 1: list states and events
  • Step 2: Construct the Finite State Machine
homework next class
Homework (next class)
  • Pick an existing game
    • Select one or more NPCs in the game
    • Create a Finite State Machine modeling the behavior of the NPCs
      • List states (at least 5)
      • List events (at least 5)
      • Draw Finite State Machine
  • Pick and existing game (can be same as before)
    • Provide at least 3 different examples of events-on-map
computer programs
Computer Programs

-Program: sequence of instructions that the computer can understand

read(x)

read(y)

z  x + y

print(z)

scripts
Scripts

- Script: specialized program that uses instructions that are based on game world

pick-weapon()

if monster then

attack(monster)

if hurt then

heal()

A Finite State

Machine

three engines
Three Engines
  • Adventure Game Studio

http://www.adventuregamestudio.co.uk/

  • RPG Maker

http://www.enterbrain.co.jp/tkool/RPG_XP/eng/

  • Aurora (Neverwinter Nigths; http://nwn.bioware.com/
  • Almost for every game genre there is such an engine
    • Available with the commercial release of the game
slide15

Aurora Neverwinter Toolset

By: Nicholas Haines

final remarks
Final Remarks
  • Give some serious thought to doing the optional assignment of creating a game
    • Try one of the engines
  • Last time some 50% of the class created one
  • Its fun and
  • Some 80% of them got exempt from the Final Exam