1 |
if live_call() |
2 |
return global.live_result; |
3 |
var cam_x = camera_get_view_x(view_camera[0]) |
4 |
var cam_max = room_width - 240 |
5 |
var cam_percentage = cam_x / cam_max |
6 |
for (var i = 0; i < room_width; i += 320) |
7 |
draw_sprite(spr_newhome_bg_building_7, 0, (i + cam_percentage * 1692), 0) |
8 |
for (i = 0; i < (room_width * 2); i += 320) |
9 |
draw_sprite(spr_newhome_bg_building_6, 0, (i + cam_percentage * 1200), 50) |
10 |
for (i = 0; i < (room_width * 2); i += 320) |
11 |
draw_sprite(spr_newhome_bg_building_5, 0, (33 + i + cam_percentage * 1000), 25) |
12 |
for (i = 0; i < (room_width * 2); i += 320) |
13 |
draw_sprite(spr_newhome_bg_building_4, 0, (i + cam_percentage * 800), 87) |
14 |
for (i = 0; i < (room_width * 2); i += 320) |
15 |
draw_sprite(spr_newhome_bg_building_3, 0, (i + cam_percentage * 610), 80) |
16 |
for (i = 0; i < (room_width * 2); i += 320) |
17 |
draw_sprite(spr_newhome_bg_building_2, 0, (-100 + i + cam_percentage * 280), 100) |
18 |
for (i = 0; i < (room_width * 2); i += 320) |
19 |
draw_sprite(spr_newhome_bg_building_1, 0, (i + cam_percentage * 195), 36) |