Anda di halaman 1dari 36

Pemrograman

Game
Anik Vega V, S.Kom.,MT

Goal :
Mahasiswa memahami maksud dan tujuan
dari matakuliah Pemrograman Game
Definisi

dan sejarah singkat perangkat


lunak game (Game Engine)
Perkenalan Game Maker

Genre Game

First-Person Shooters (FPS)


FPS

is a
video game gen
re
centered on
gun and
projectile
weapon-based
combat through
a
first-person per
spective

Platformers and
Other Third-Person
Games

A platform game (or


platformer) is a
video game characterized
by requiring the player to
jump to and from suspended
platforms or over obstacles (
jumping puzzles)

Fighting Games

Fighting game is a video game genre where


the player controls an on-screen character and
engages in close combat with an opponent.

Racing Games
A

racing video game is a genre of


video games, either in the first-person
or third-person perspective, in which the
player partakes in a racing competition
with any type of land, air, or sea
vehicles.

other
Sport
RPG(Role

Playing Game)
Environtment/Social Simulation
Puzze game
Real-Time Strategy (RTS)
Massively Multiplayer Online Games
(MMOG)

Game development team

Tim pengembangan game

Engineer

Programer

Artis

Concept Artis
2D/3D modeler
Texture artis
Animator artis
Lightning artis
Sound designer

Game Designer
Produser
Other staf

Marketing
Staf administrasi

Publisher & Studio

Game Development Documents

Concept

Document
Game Spec
Design Document
Story
Script
Art
Storyboards and Storytelling
Storytelling
Technical Design Document
Schedules and Business/Marketing
Documents
Test Plan

Concept Document or Pitch


Document or Proposal

To sell the game


To create a framework for design
Generally 10 pages or less.
Concept art
Can be written by committee, but needs
leadership
Acts as a springboard

Game Spec
Overview
Players
Look

and Feel
Interface
Start Up
Objectives

Entities
Features
Rules
Gameplay
Level

Design
Technical Requirements
Marketing

Design Document
Highly

Detailed
Can be quite large (100+ pages)
Should contain all elements not
addressed in other documents
Is a living document!!!!!!!!

A Design Document Construct

Table

of Contents
Introduction/Overview
Game Mechanics
Artificial Intelligence
Game Elements
Story Overview
Game Progression
System Menus

Story
Story

outline is in design document, the


story fleshes out the story.
Plot and Story Flow
Detailed Story Flow
Detailed Characterizations
Backstory
Generally Prose instead of bullets

Script
The

Dialog that occurs in the game.


Tree structure that controls dialog

Art
Concept

sketches
Resources for artist
Look and feel
Art styles
Technical guidelines
Generally created by lead artist, not
designer.

Storyboards and
Storytelling
May

be part of art or standalone.


Puts game flow in a visual context
Useful to entire team, not just artist

Technical Design Document


Sister specification to Art Bible and Game
Design Document
Discusses how functionality will be
implemented.
Generally constructed by the lead
programmer.
May include overall code structure, major
classes, rendering architecture, AI design, etc.
May contain pseudocode

Schedules and Business/Marketing


Documents
Documents

necessary for management

of project.
Generally responsibility of Producer.

Nature of Documentation
Must

be living documents.
Allows communication and direction
across the team
Can be a trap if misused.

Game Engine

Apa itu game engine


Software that is extensible and can be
used as foundation for many different
games without major modification.
(Jason Gregory)

alat/teknologi spesifik untuk pengembangan jenis


game.
Game engine bisa ditambahkan dengan model
baru(karakter), graphic, audio, dll

Elemen Game
Engine
Graphics

engine
Input engine
Audio Engine
Game logic dan AI Engine
Networking Engine
User interface dan menu system
(physics engine )

Structure of game
engine
Implements

Implements

Create object

Create object

Uses

Gives device

AI-Interface

Gives device

Render-Interface

Implements

Audio Lib

Renderer Lib

Audio-Interface

Uses

Gives device

Gives Device

Input Lib

Gives advice

Create object

Implements

Create object

Input-Interface

Create object
Gives advice

AI
AI Lib
Lib

Your Game

Create Object

Implements

Network Lib

Uses

Physics
Physics Lib
Lib

Uses

Uses

PhysicsInterface

Uses

NetworkInterface

Implements

Graphics Engine
Graphics

engine merupakan bagian


utama dari game
Rendering
Antara

kualitas dan kecepatan


menggunakan rendering libraries
seperti OpenGL and Direct3D
Pembuatan pencahayaan dan Texture
mapping
Teknik seperti membuat bayangan,
pemetaan linkngkungan, pemetaan
cahaya, mapping, lightmaps

Input and Audio


Input

Engine

Mengatur

input devices untuk melakukan


kontrol pada game.
Windows event loop, dan DirectInput

Sound

and Music

DirectX

Sound API
OpenAL (Open Audio Library
www.openal.org)

Networking
untuk

game multi-player
Beberapa masalah yang berkaitan
dengan game yang memanfaatkan
jaringan:
Latency:

How long does it take for state to


be transmitted
Reliability: How often is data lost or
corrupted
Bandwidth: How much data can be
transmitted in a given time
Security: How is the game-play protected
from tampering

Contohnya

: DirectPlay pada DirectX


communication library

AI and Game Rules


Merupakan

tingkah laku/respon karakter


pada game:
Knowledge:

rules, knowledge bases, search

abilities
Environment awareness: danger etc.
Decision making: rules, reasoning and
learning abilities
World
In

Navigation: path planning

FPS: How does the AI get from room to


room?
In RTS: User clicks on units, tells them to go
somewhere. How do they get there? How do
they avoid each other?
Dynamic path planning: What happens when
the environment changes after the plan has
been made?

Game loop
Game Loop
User Input
Network
Application Specific
Game Logic

Sound
Rendering
Time = 25 ms

Genre specific game engine


FPS

game engine
Platformers & third person game engine
Fighting game engine
Racing game engine
RTS game engine
MMO game engine

Contoh Game Engine


Unreal
Game

Development Kit
Maker

Unity

CryEngine3
RPG

Maker

PR
Genre

game?
Game engine?
Skenario game:

Misi dr tiap level


Karakter dr tiap level
Enviroment tiap level
Aturan tiap level
Minimal 3 level

Anda mungkin juga menyukai