desguar += and -=

This commit is contained in:
2026-06-06 18:53:11 +02:00
parent 535364931e
commit 22874181cd
32 changed files with 185 additions and 146 deletions

View File

@@ -26,13 +26,13 @@ func main[] : i64
while !WindowShouldClose()
if IsKeyDown(KEY_W) & 255
y = y - 10
y -= 10
if IsKeyDown(KEY_S) & 255
y = y + 10
y += 10
if IsKeyDown(KEY_A) & 255
x = x - 10
x -= 10
if IsKeyDown(KEY_D) & 255
x = x + 10
x += 10
BeginDrawing()
ClearBackground(WHITE)