small fiw
This commit is contained in:
parent
d38e35b092
commit
8b1607ba6a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue