Watch
2
0
Fork
You've already forked raylib-cs
0

Initial example update

- Updating examples with new changes.
This commit is contained in:
ChrisDill 2019-02-11 11:30:02 +00:00
commit b841a28177
45 changed files with 419 additions and 389 deletions

View file

@ -28,7 +28,7 @@ public partial class physics_friction
int screenWidth = 800;
int screenHeight = 450;
SetConfigFlags(FLAG_MSAA_4X_HINT);
SetConfigFlags(ConfigFlag.FLAG_MSAA_4X_HINT);
InitWindow(screenWidth, screenHeight, "Physac [raylib] - Physics friction");
// Physac logo drawing position
@ -73,7 +73,7 @@ public partial class physics_friction
{
// Update
//----------------------------------------------------------------------------------
if (IsKeyPressed('R')) // Reset physics input
if (IsKeyPressed(KeyboardKey.KEY_R)) // Reset physics input
{
// Reset dynamic physics bodies position, velocity and rotation
bodyA.position = new Vector2( 35, screenHeight*0.6f );