update folders

This commit is contained in:
2023-08-05 22:45:06 +03:00
parent c0aaec4c08
commit c2ef252c14
136 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
// import gg
fn (mut game Game) update() {
if game.bg_texture.pos_x >= game.bg_texture.image.width {
game.bg_texture.pos_x = 0
} else {
game.bg_texture.pos_x += .5
}
if game.bg_texture.pos_y >= game.bg_texture.image.height {
game.bg_texture.pos_y = 0
} else {
game.bg_texture.pos_y += .5
}
}