Information about object: objPlayer
Sprite: sprStand
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children
objParalaxPlayer
Mask: objParalaxPlayer
No Physics Object
Keyboard Event for <no key> Key:
set the sprite to sprStand with scale factor 1
set the horizontal speed to 0
Keyboard Event for <Left> Key:
set the horizontal speed to -4
execute code: sprite_index = sprWalkLeft
Keyboard Event for <Right> Key:
set the sprite to sprWalkRight with scale factor 1
set the horizontal speed to 4
Information about object: objParalaxPlayerSprite: sprStand
Solid: false
Visible: false
Depth: 0
Persistent: false
Parent: objPlayer
Children:
Mask: No Physics ObjectStep Event:set the horizontal speed to objPlayer.hspeed*2
No comments:
Post a Comment