Wednesday, January 13, 2010

-Diections to Platform Game

STEP 1: select a theme for your game

STEP 2: collect a sprite sheet and tile set

STEP 3: upload your sprites

STEP 4: select a main character

STEP 5: give your sprite a left and right direction movement sprite

STEP 6: make a sprite for a platform

STEP 7: make your sprites as an object

STEP 8: give your sprites as objects properties

STEP 9: select your main character object and give it properties STEP 10: first add its actions CHECK EMPTY(it applies to self, x=0, y=1 and objects=solid only, also its relative) second SET THE GRAVITY(it applies to self, direction=270, gravity=.5) third add ELSE finally add SET THE GRAVITY again (it applies to self, direction=270, gravity=0)

STEP 11: add a collision with object PLATFORM in the events first give it actions SET THE VERTICAL SPEED(applies to self, vert. speed=0, not relative) then add MOVE TO CONTACT(applies to self, direction=270, maximum=1, against=solid objects)

STEP 12: first add event NO KEY then action CHANGE SPRITE(applies to self, spite=sprite main character, subimage=0, speed=1)second add event RIGHT KEY then action CHECK EMPTY(applies to self, x=-2, y=0, objects=only solid, relative) third add event UP KEY and events CHECK COLLISION(applies to self, x=0, y=1, objects=only solid, relative)then SET VERTICAL SPEED(applies to self, vert. speed=-15)then add event RIGHT KEY action CHECK ACTION(applies to self, x=2, y=0, objects=only solid, relative) finally add events PRESS KEY LEFT then PRESS KEY RIGHT they both have the same actions CHANGE SPRITE(applies to self, sprite=main character left, subimage=0, speed=3) for right just change the sprite to main character right

STEP 13: make your sprite platform an object only make it visible and solid

STEP 14: make your tile set an backround

STEP 15: give it a width and height of 42

STEP 16: create a room

STEP 17: first make platforms for main character to move on(you may use the tile set

STEP 18: put your main character in the room

STEP 19: save it

STEP 20: play it