1 | if live_call() |
2 | return global.live_result; |
3 | for (var i = 0; i < array_length(parallax_layer); i++) |
4 | { |
5 | var layer_width = sprite_get_width(parallax_layer[i]) |
6 | for (var j = -3 * layer_width; j < (6 * layer_width); j += layer_width) |
7 | draw_sprite(parallax_layer[i], 0, (parallax_x[i] + j), parallax_y[i]) |
8 | } |