sunflowers-in-the-rain/objects/obj_enemy_parent/Step_0.gml

5 lines
91 B
Plaintext

image_index = (direction + 22.5) / 45;
if (direction + 22.5 >= 360 ) {
image_index = 0;
}