small fiw

This commit is contained in:
nemo 2025-02-05 15:48:40 +01:00
parent d38e35b092
commit 8b1607ba6a
1 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ int main()
Vector2 old = ropes[i];
if (!IsKeyDown(KEY_SPACE))
forces[i].y += 9.8*100*GetFrameTime();
forces[i].y += 9.8*69*GetFrameTime();
ropes[i] = Vector2Add(ropes[i], forces[i]);
@ -50,11 +50,11 @@ int main()
// DrawText(TextFormat("%.3f %.3f", forces[i].x, forces[i].y), 0, (i-1)*25, 25, ORANGE);
}
DrawText("Mode: ", 0, 1080-25, 25, ORANGE);
DrawText(" Mode: ", 0, 1080-25, 25, ORANGE);
if (IsKeyDown(KEY_SPACE)) {
DrawText("SPACE", MeasureText("Mode: ", 25), 1080-25, 25, DARKBLUE);
DrawText("SPACE", MeasureText(" Mode: ", 25), 1080-25, 25, DARKBLUE);
} else {
DrawText("GRAVITY", MeasureText("Mode: ", 25), 1080-25, 25, BROWN);
DrawText("GRAVITY", MeasureText(" Mode: ", 25), 1080-25, 25, BROWN);
}
}
EndDrawing();