Преглед на файлове

Changed keybinds for the automation example to avoid conflict with browser shortcuts (#3519)

pull/3523/head
Miloslav Milenkov преди 1 година
committed by GitHub
родител
ревизия
a92c34d83c
No known key found for this signature in database GPG ключ ID: 4AEE18F83AFDEB23
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. +4
    -4
      examples/core/core_automation_events.c
  2. Двоични данни
      examples/core/core_automation_events.png

+ 4
- 4
examples/core/core_automation_events.c Целия файл

@ -201,7 +201,7 @@ int main(void)
//----------------------------------------------------------------------------------
// Toggle events recording
if (IsKeyPressed(KEY_F2))
if (IsKeyPressed(KEY_S))
{
if (!eventPlaying)
{
@ -220,7 +220,7 @@ int main(void)
}
}
}
else if (IsKeyPressed(KEY_F3))
else if (IsKeyPressed(KEY_A))
{
if (!eventRecording && (aelist.count > 0))
{
@ -291,8 +291,8 @@ int main(void)
DrawText("- SPACE: Player jump", 30, 60, 10, DARKGRAY);
DrawText("- R: Reset game state", 30, 80, 10, DARKGRAY);
DrawText("- F2: START/STOP RECORDING INPUT EVENTS", 30, 110, 10, BLACK);
DrawText("- F3: REPLAY LAST RECORDED INPUT EVENTS", 30, 130, 10, BLACK);
DrawText("- S: START/STOP RECORDING INPUT EVENTS", 30, 110, 10, BLACK);
DrawText("- A: REPLAY LAST RECORDED INPUT EVENTS", 30, 130, 10, BLACK);
// Draw automation events recording indicator
if (eventRecording)

Двоични данни
examples/core/core_automation_events.png Целия файл

Преди След
Ширина: 800  |  Височина: 450  |  Големина: 17 KiB Ширина: 800  |  Височина: 450  |  Големина: 20 KiB

Зареждане…
Отказ
Запис