Files
basic1/emulator
Adolfo Reyna 38ffdac749 Add pagination to game launcher - 4 games per page
- GameLauncher now displays only 4 games per page to keep menu in bounds
- Added page navigation with page indicator (Page X/Y)
- KEY0 navigates between pages and within page
- KEY1 selects the highlighted game
- Touch selection works on current page only
- Helper methods: get_total_pages(), get_page_start_index(), get_page_end_index()
- Updated both lib/ and emulator/ versions for consistency
2026-02-12 20:39:38 -05:00
..

Emulator for basic1 Game Logic

This folder contains a desktop emulator for the basic1 game, using the same game logic and rendering libraries as the embedded version. The emulator uses SFML for graphics and input, allowing you to test and develop the game on your computer.

Features

  • Uses the same game logic and rendering code as the embedded firmware
  • Emulates touch with mouse clicks
  • Emulates hardware buttons with keyboard keys
  • Runs as a native desktop application (no Pico SDK required)

Build Instructions

  1. Install SFML (https://www.sfml-dev.org/)
  2. Run cmake . && make in this directory
  3. Run ./basic1_emulator

Input Mapping

  • Mouse click: Emulates touch
  • Arrow keys, space, enter: Emulate hardware buttons

Extending

  • Add new features or overlays for debugging
  • Update input mapping as needed

This emulator is independent from the embedded build system.