2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

Initial example update

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

View File

@@ -57,8 +57,8 @@ public partial class textures_rectangle
frameRec.x = (float)currentFrame*(float)scarfy.width/6;
}
if (IsKeyPressed(KEY_RIGHT)) framesSpeed++;
else if (IsKeyPressed(KEY_LEFT)) framesSpeed--;
if (IsKeyPressed(KeyboardKey.KEY_RIGHT)) framesSpeed++;
else if (IsKeyPressed(KeyboardKey.KEY_LEFT)) framesSpeed--;
if (framesSpeed > MAX_FRAME_SPEED) framesSpeed = MAX_FRAME_SPEED;
else if (framesSpeed < MIN_FRAME_SPEED) framesSpeed = MIN_FRAME_SPEED;