eternal-space/objects/obj_player_1/Step_0.gml
array-in-a-matrix 01304902bc code stuff
2021-08-02 13:17:58 -04:00

30 lines
504 B
Plaintext

/// @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
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;
};