flag game engine

58
zac zidik game developer www.zaczidik.com

Upload: zac-zidik

Post on 02-Jul-2015

400 views

Category:

Technology


0 download

DESCRIPTION

At Education Technology Services, we realize that creating educational games can seem like a daunting task when development resources are in limited supply. But we also know how effective educational games can be with student engagement. We have had over 3,500 University Park students play our games including over 1.1 million turns taken in our Econ U game! How did we create such successful educational games with a very small staff? We did it with our homemade, open source, HTML5 Game Engine that we call FLAG. We would like to tell our story about how and why FLAG came about, including the accessibility and plug-in free benefits of our engine. We would also like to let others know how they can use our engine to develop their own educational gaming project.

TRANSCRIPT

Page 1: FLAG Game Engine

zac zidikgame developer

www.zaczidik.com

Page 2: FLAG Game Engine

www.zaczidik.com

Page 3: FLAG Game Engine

www.zaczidik.com

Page 4: FLAG Game Engine

www.zaczidik.com

Page 5: FLAG Game Engine

www.zaczidik.com

Page 6: FLAG Game Engine

www.zaczidik.com

Page 7: FLAG Game Engine

www.flagamengine.com

FLAG

HTML5 Game Creation Tools

WINDPOLE

Page 8: FLAG Game Engine

www.flagamengine.com

Page 9: FLAG Game Engine

www.flagamengine.com

learning objectiveinformation or skill that a player is more

familiar with after playing the game

DESIGN, GRAPHICS, CONTROLS

Page 10: FLAG Game Engine

achieve the learning objective without

the player noticing

www.flagamengine.com

game objective

Page 11: FLAG Game Engine

provide an environment for experimentation,

abstract thought and failure

www.flagamengine.com

game objective

Page 12: FLAG Game Engine

continually assess the player without

them realizing

www.flagamengine.com

game objective

Page 13: FLAG Game Engine

www.flagamengine.com

metricstangible and quantifiable methods of

monitoring a player’s progress

Page 14: FLAG Game Engine

www.flagamengine.com

motivator metricsmetrics that a player sees as the

ultimate goal

Page 15: FLAG Game Engine

www.flagamengine.com

method metricsmetrics that a player must directly influence

or be influenced by in order to succeed

Page 16: FLAG Game Engine

www.flagamengine.com

get the player to switch focus

from the motivator metrics to

the method metrics

learning objective catalyst:

DESIGN

Page 17: FLAG Game Engine

www.flagamengine.com

eventswhatever a player does and whatever

happens to them

Page 18: FLAG Game Engine

www.flagamengine.com

effectschanges in metrics as a result of

an event

Page 19: FLAG Game Engine

www.flagamengine.com

happenstancesomething that happens to a player

triggering metric effects without option

event type:

Page 20: FLAG Game Engine

www.flagamengine.com

multiple-choicea player must choose one option that will

trigger metric effects

event type:

Page 21: FLAG Game Engine

www.flagamengine.com

multiple selectiona player can choose more than one option

to trigger metric effects in combination

event type:

Page 22: FLAG Game Engine

www.flagamengine.com

slidera player selects a value within a range to

determine the extent of the metric effects

event type:

Page 23: FLAG Game Engine

www.flagamengine.com

continual assessmentevents exist to alter metrics and

to track player progress

=

Page 24: FLAG Game Engine

www.flagamengine.com

historythe road traveled might be as important as

the final destination

Page 25: FLAG Game Engine

www.flagamengine.com

balancinginsure that no single event

provides a disproportionate

amount of advantage or

disadvantage

Page 26: FLAG Game Engine

3. create events with effects

• happenstance

• multiple-choice

• multiple selection

• slider

www.flagamengine.com

1. define the learning objective(s)

2. create metrics

• motivator

• method

4. history

5. balance

WIND

Page 27: FLAG Game Engine

www.flagamengine.com

graphicsestablish a level of

attainable quality

Page 28: FLAG Game Engine

www.flagamengine.com

simple workscontent should be memorable and graphics

should be purposeful

Page 29: FLAG Game Engine

www.flagamengine.com

player focus should be on

strategy not on quality of

the visuals

learning objective catalyst:

GRAPHICS

Page 30: FLAG Game Engine

www.flagamengine.com

2D canvashtml5 tag that provides an area for

rendering graphics

Page 31: FLAG Game Engine

www.flagamengine.com

blittingcopy pixels from an image

to the canvas

Page 32: FLAG Game Engine

www.flagamengine.com

tile-basedorthogonal, isometric or hexagonal

Page 33: FLAG Game Engine

www.flagamengine.com

big with smallcreate big maps with small amounts of

bitmap data

tile-based advantage:

Page 34: FLAG Game Engine

www.flagamengine.com

location awarenessgrids provide a world to mouse relationship,

efficient collision detection and simplify a.i.

tile-based advantage:

Page 35: FLAG Game Engine

www.flagamengine.com

tile spritestiles with multiple states and or

frames of animation

Page 36: FLAG Game Engine

www.flagamengine.com

tiled objectsgroup of tiles held in a frame

Page 37: FLAG Game Engine

www.flagamengine.com

spritesdisplay objects that may contain animation,

decals and behaviors

Page 38: FLAG Game Engine

www.flagamengine.com

actorscollection of bodies, joints and sprites

available to physics simulations

Page 39: FLAG Game Engine

www.flagamengine.com

Box 2Dopen source 2 dimensional physics engine

Page 40: FLAG Game Engine

www.flagamengine.com

sounds.ogg and .mp3, desktop good,

mobile getting better?

Page 41: FLAG Game Engine

www.flagamengine.com

scenes

• tile map

• tile sprites

• tiled objects

• sprites

• actors

• layers

• box2d

• sounds

POLE

display

• resolution

• scale

• interpolation

• buffering

fps

• request animation frame

• set overall fps interval

• set sprite fps

Page 42: FLAG Game Engine

www.flagamengine.com

html setupgame, canvas, gui, glass

Page 43: FLAG Game Engine

www.flagamengine.com

guioverlay for canvas, used for interactive html

elements and content

Page 44: FLAG Game Engine

www.flagamengine.com

glassoverlay for canvas, used for non-interactive

html elements and content

Page 45: FLAG Game Engine

cursor

• tile outline

• custom image

www.flagamengine.com

FLAG

grid

• display

• color

• width

• alpha

dynamically add and remove

• tiled objects

• sprites

• actors

• decals

built in and custom

behaviors

Page 46: FLAG Game Engine

www.flagamengine.com

pathfindinga method of traversing maps with efficiency

along walkable tiles

Page 47: FLAG Game Engine

www.flagamengine.com

pointer

• screen location

• map location

• tile location

FLAG

mouse handlers

touch handlers

resize listener

orientation change listener

load progress

camera follow

zoom

scene layers

• tile reduction

• prerender

• tile gutter

• offset and offset scroll

Page 48: FLAG Game Engine

www.flagamengine.com

tweeningshort for in-betweening, generates

intermediate steps of change

Page 49: FLAG Game Engine

www.flagamengine.com

physical ability should not

limit a player’s strategy or

outcomes

learning objective catalyst:

CONTROLS

Page 50: FLAG Game Engine

www.flagamengine.com

webgljavascript api for rendering gpu accelerated

3d and 2d graphics

Page 51: FLAG Game Engine

www.flagamengine.com

videoembed plug-in free videos and movies

Page 52: FLAG Game Engine

www.flagamengine.com

web audio apistandardized method to manipulate and

play audio assets

Page 53: FLAG Game Engine

www.flagamengine.com

web socketstandardized and simplified method of

bi-directional web communication

Page 54: FLAG Game Engine

www.flagamengine.com

web workersa simplified means to run scripts in

background threads

Page 55: FLAG Game Engine

www.flagamengine.com

open sourcehttps://github.com/flagamengine/FLAG

Page 56: FLAG Game Engine

www.flagamengine.com

FLAG

[email protected]

WINDPOLE

[email protected]

Page 57: FLAG Game Engine

play.gaming.psu.edu

www.flagamengine.com

Page 58: FLAG Game Engine

questions?

www.flagamengine.com