25 lines
No EOL
361 B
Text
25 lines
No EOL
361 B
Text
x = camera_get_view_x(view_camera[0]) + 900;
|
|
y = camera_get_view_y(view_camera[0]) + 1650 ;
|
|
|
|
if mouse_check_button(mb_left) && position_meeting(mouse_x, mouse_y, id)
|
|
{
|
|
with obj_bloblehop_player
|
|
{
|
|
if hsp < maxhsp
|
|
{
|
|
hsp += movespeed
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
if keyboard_check(vk_right)
|
|
{
|
|
with obj_bloblehop_player
|
|
{
|
|
if hsp > -maxhsp
|
|
{
|
|
hsp += movespeed
|
|
}
|
|
}
|
|
} |