gamemaker - intro and core objects

23
Introduction to GameMaker GameMaker Series [email protected] @devfish

Upload: joe-healy

Post on 06-Jul-2015

115 views

Category:

Technology


2 download

DESCRIPTION

Introduction to Gamemaker and several core objects

TRANSCRIPT

Page 1: Gamemaker - Intro and Core Objects

Introduction to GameMakerGameMaker Series

[email protected]@devfish

Page 2: Gamemaker - Intro and Core Objects

Game Maker

First version in 1998

Goal was • Let everybody have fun creating games

• Age range 8-88

• For non-programmers and programmers

• Let people be creative

• No limitation to particular game types

• User feels she created the game

• PRO: Have fun

• EDU: Teach (unconsciously) basic concepts in computer science

• Create interest in computer science

Page 3: Gamemaker - Intro and Core Objects

Game Maker: Global Idea

Rapid Application Development Environment• Create and include sprites, sounds, music

• Define game objects and their behavior

• Level design

• Creates single executable

Focus on ease of use• More features not

neccesarily make the

product easier

Page 4: Gamemaker - Intro and Core Objects

Game Maker: Global Idea

Primarily 2-dimensional but support for 3D graphics• Alpha blended graphics• Particle systems• Surfaces

No programming required but built-in language• Functions for advanced graphics, path planning, data

structures, files, network play, ...

Extendible• Actions, functions, DLLs• Many extension packages available

Page 5: Gamemaker - Intro and Core Objects

Game Maker – License Model

• Free edition for Win Desk – commercial ok – locked splash screen

• Pro - $99 - Windows 8

• Other modules available on various prices for other OS

• Mac, Ubuntu, HTML5, Android, iOS, WP8, Tizen, Xbox, PS4, PS3.... More coming...

http://www.yoyogames.com/studio

Page 6: Gamemaker - Intro and Core Objects

Game Maker: Games

All genres of games• Maze, Platform, Puzzle, ...

• 3D games

• Multiplayer games

Page 7: Gamemaker - Intro and Core Objects

Welcome Screen

• Demos and tutorials

• News

• Release notes

• Other stuff…

Page 8: Gamemaker - Intro and Core Objects

Game Studio

Page 9: Gamemaker - Intro and Core Objects

Game Maker: Structure

DATA:

•Sprites

•Sounds

•Backgrounds

•Fonts

CONTROL:

•Objects

•Timelines

•Scripts

•Paths

LEVELS:

•Rooms

•Views

•Tiles

Can all also be created from code

Page 10: Gamemaker - Intro and Core Objects

Catch the clownDEMO

Page 11: Gamemaker - Intro and Core Objects

SPRITESCORE OBJECT

Page 12: Gamemaker - Intro and Core Objects

SPRITE

• Image container

• Image editor built-in

• Can contain sprite sheets

• Supports• BMP, PNG, SWF, JPG

• SPINE

• GameMaker files

• Name appropriately – “spr_clown”

Page 13: Gamemaker - Intro and Core Objects

SPRITE SHEET

• Set of images

• All same size

• Nameofsprite_stripNN

• NN is number of sprites in sheet – firefly_strip15.png

Page 14: Gamemaker - Intro and Core Objects

Sprite – SWF

• SWF – adobe format

• Search “glitch” swfs for some freebies

Page 15: Gamemaker - Intro and Core Objects

Sprite - spine

• Spine is hot new animator -http://esotericsoftware.com/

• $69-$289 depending

Page 16: Gamemaker - Intro and Core Objects

SOUNDCORE OBJECT

Page 17: Gamemaker - Intro and Core Objects

SOUND

• WAV or MP3

• Caution: Not all work

• AUDACITY is your friend

• HTML5 / Win8 may no like your sound system

• Switch to legacy under global game settings

Page 18: Gamemaker - Intro and Core Objects

OBJECTS• Object Oriented, Event Driven

• Everything is an object

• Object can have a graphical representation (sprite)

• Objects react to events• Collisions, user input, timers, etc.• Actions are then executed

• Objects can have parent objects and inherent their behavior

Page 19: Gamemaker - Intro and Core Objects

INVISIBLE OBJECTS

• Useful as controllers

• Play background music

• Can be used to ‘overlay’ draw things on forms

• Watch out, don’t place multiples on form if only one is desired

Page 20: Gamemaker - Intro and Core Objects

ROOMS

• Think “screen”

• Can actually be bigger than the screen

• Used for play surface

• Also used for menus, title screens, et cetera

• Order of rooms is important – can navigate from one room the next and back

Page 21: Gamemaker - Intro and Core Objects

BACKGROUNDS

One big picture

Tiled picture

Can move and scroll when placed in room

Page 22: Gamemaker - Intro and Core Objects

TIP OF THE DAY - CLOUDS

• Open paint.net new blank image

• Edit Select All, hit Delete. Everything left is transparent.

• Save as “cloud.png”

• Draw with big brush some white and grey clouds

• “Hardness set to low”

• Pull into room as layer

• Set motion on layer to 4 or such

Page 23: Gamemaker - Intro and Core Objects

Thank You

Joe Healy / [email protected] / @devfish

http://www.yoyogames.comhttp://dfwiki.devfish.net – search GameMaker