Answers for "how to use K2 games Games parallax background"

C#
0

how to use K2 games Games parallax background

//Layer 1
draw_background_tiled_horizontal(
    bg_ex_3_0,
    view_xview[view_current] / 1.5,
    (view_yview[view_current] / 2.5) + 175
);
 
//Layer 2
draw_background_tiled_horizontal(
    bg_ex_3_1,
    view_xview[view_current] / 2,
    (view_yview[view_current] / 5) +250
);
Posted by: Guest on June-11-2020
0

how to use K2 games Games parallax background

//Layer 3
draw_background_tiled_horizontal(
    bg_ex_3_2,
    view_xview[view_current] / 2.5,
    (view_yview[view_current] / 10) + 300
);
Posted by: Guest on June-11-2020
0

how to use K2 games Games parallax background

//Focal point layer (ground)
draw_background_tiled_horizontal(
    bg_ex_3_3,
    -view_xview[view_current] * 1.5,
    -view_yview[view_current] + 700
);
Posted by: Guest on June-11-2020

C# Answers by Framework

Browse Popular Code Answers by Language