eternal-space/objects/obj_player_1/Step_0.gml

30 lines
508 B
Plaintext
Raw Normal View History

2021-08-02 13:17:58 -04:00
/// @description Insert description here
// You can write your code in this editor
if(keyboard_check_pressed(ord("E"))){
instance_create_layer(x,y, "Instances", obj_laser);
};
if(keyboard_check(ord("W"))){
y -= 15;
};
y += GRAVITY;
move_wrap(true, true, sprite_height/2);
// DEBUG
2021-08-10 00:07:54 -04:00
/*
2021-08-02 13:17:58 -04:00
if(keyboard_check(ord("Q"))){
instance_create_layer(x,y, "Instances", obj_laser);
};
if(keyboard_check(ord("D"))){
lives += 1;
};
if(keyboard_check(ord("A"))){
score += 100000;
};
2021-08-10 00:07:54 -04:00
*/