소스 검색

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. BIN
      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)

BIN
examples/core/core_automation_events.png 파일 보기

Before After
Width: 800  |  Height: 450  |  Size: 17 KiB Width: 800  |  Height: 450  |  Size: 20 KiB

불러오는 중...
취소
저장