Information about object: ObjPlane
Sprite: sprPlane
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Create Event:
set variable ShotTimer to 0
Alarm Event for alarm 0:
create instance of object objBullet at relative position (0,20)
Step Event:
set variable ShotTimer relative to -1
Keyboard Event for <Space> Key:
if expression ShotTimer<0 is true
create instance of object objBullet at relative position (35,20)
set variable ShotTimer to 25
set Alarm 0 to room_speed/2
Information about object: objBulletSprite: sprBullet
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask: No Physics ObjectCreate Event:start moving in directions 000000010 with speed set to 8Other Event: Outside Room:destroy the instance
No comments:
Post a Comment