Backgrounds, Inheritance in GameMaker (BrickMania 1 of 2). Foundations of Interactive Game Design Professor Jim Whitehead January 28, 2008. Creative Commons Attribution 3.0 creativecommons.org/licenses/by/3.0. Upcoming Assignments. Wednesday: Game Concept Document
Foundations of Interactive Game Design
Professor Jim Whitehead
January 28, 2008
Creative Commons Attribution 3.0creativecommons.org/licenses/by/3.0
Select grid size to match size of sprites – for us, 10x10 works well
Note grid alignment with background image boundaries – need to plan ahead for this!
Wall objects placed at edge of black playfield. Show with dotted lines to represent being invisible during gameplay
Make solid for bounce behavior
Drag-n-drop bounce to actions
Pick collision event, then select ball from pull-down menu that appears
Make ball bounce off walls
No sprite, since we’re using this just for behavior. Leave it to children to specify exact visual shape.
Don’t set visible, do set solid, since that’s what children should be. Visible doesn’t matter for wall-mother, since it has no sprite
Note no events or actions. It gets these all from its parent, wall-mother!
Set parent to wall-mother using pull-down menu here
Add offset so ring emerges from center of the brick
Click relative so ring emerges from brick, not upper left corner of screen!