We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79b1766 commit b17326cCopy full SHA for b17326c
src/main.rs
@@ -1435,7 +1435,7 @@ async fn main() {
1435
}
1436
1437
GameState::Playing => {
1438
- for i in 0..2 {
+ for i in -1..2 {
1439
draw_texture_ex(
1440
&default_bg,
1441
(i * 1920) as f32 - (bg_offset % 1920.0),
@@ -1504,7 +1504,7 @@ async fn main() {
1504
1505
1506
// Draws the ground
1507
- for i in 0..screen_width() as i32 / 160 + 2 {
+ for i in -1..screen_width() as i32 / 160 + 2 {
1508
1509
&grnd_texture,
1510
i as f32 * 155.0 - (world_offset % 155.0),
0 commit comments