【GAMEMAKER】Ship Mini Game

 Information about object: obj_bubble

Sprite: spr_bubble
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Step Event:
execute code:

image_xscale*=0.99;
image_yscale*=0.99;
if image_xscale<0.05 instance_destroy();
Information about object: obj_beam_1
Sprite: spr_beam_1
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: obj_collision_parent
Children:
Mask:
No Physics Object
Information about object: obj_beam_2
Sprite: spr_beam_2
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: obj_collision_parent
Children:
Mask:
No Physics Object

Information about object: obj_beam_3
Sprite: spr_beam_3
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: obj_collision_parent
Children:
Mask:
No Physics Object
Information about object: obj_beam_4
Sprite: spr_beam_4
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: obj_collision_parent
Children:
Mask:
No Physics Object

Information about object: obj_game_end
Sprite: spr_flag
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object

Information about object: obj_collision_parent
Sprite:
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children
obj_beam_1
obj_beam_2
obj_beam_3
obj_beam_4
obj_crate_floating
obj_crate_path
Mask:
No Physics Object

Information about object: obj_crate_floating
Sprite: spr_crate
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: obj_collision_parent
Children:
Mask:
No Physics Object
Create Event:
execute code:

angle=0;//initial angle
sw=5;//for sine wave
Step Event:
execute code:

sw += 0.3;//for sin wave
angle= sin(sw) * 5;//for sin wave
image_angle=angle;

Information about object: obj_crate_path
Sprite: spr_crate
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: obj_collision_parent
Children:
Mask:
No Physics Object
Create Event:
execute code:

angle=0;//initial angle
sw=5;//for sine wave
path_start(path_crate_1,3,path_action_continue,true);
Step Event:
execute code:

sw += 0.3;//for sin wave
angle= sin(sw) * 5;//for sin wave
image_angle=direction+angle;

No comments:

Renowned Water Expert Reynold Aquino Offers Exclusive Water Softener Discounts

Los Angeles, California - November 21, 2024 - World-renowned water expert Reynold Aquino is excited to announce exclusive discounts on prem...

Contact Form

Name

Email *

Message *