Commit Graph
12 Commits
Author SHA1 Message Date
John Doe 146dc04c30 feat: add keybindings configuration for game controls and menus 2025-10-17 23:11:57 +02:00
John Doe 576c633be5 Implement GameWindow class with SDL2 integration for rendering, audio, and input handling
- Added GameWindow class to manage game window creation and rendering.
- Integrated SDL2 for window management, rendering, and audio playback.
- Implemented methods for loading images, creating textures, and drawing graphics.
- Added font management for dynamic text rendering.
- Included input handling for keyboard, mouse, and joystick events.
- Implemented a main game loop to handle updates and rendering.
- Added support for special effects like white flash and blood splatter.
- Created utility methods for managing game state and performance.
2025-10-17 22:54:55 +02:00
Matteo Benedetto 17e5abc7df Final 2.0 2025-08-20 16:43:16 +02:00
Matteo Benedetto 0141063baa Add keybindings configuration in JSON and YAML formats; remove obsolete YAML file 2025-08-20 00:48:27 +02:00
Matteo Benedetto 8451ac7913 Refactor keybindings configuration and remove obsolete JSON files 2025-08-19 23:21:37 +02:00
Matteo Benedetto 1269913275 Refactor key handling and add keybindings configuration for game actions 2025-08-19 18:59:06 +02:00
Matteo Benedetto 8a32aad877 OK 2025-08-17 18:49:07 +02:00
Matteo Benedetto a910c8f74a Fix spawn_mine keybinding: change second key from "Control_R" to 2 for consistency 2025-08-14 17:41:23 +02:00
Matteo Benedetto c35fc9f1f7 mine implementation 2025-08-14 16:53:15 +02:00
Matteo Benedetto 89812d3ed8 Added full-screen toggle option in start menu.
- Added 'toggle_full_screen' key binding to json file.
- Implemented full-screen functionality in rats.py.
2025-01-04 16:11:50 +01:00
Matteo Benedetto 6dc871db54 Aggiorna la gestione dei tasti e aggiungi nuovi file di configurazione per le schermate di pausa e menu di avvio 2024-12-28 00:34:48 +01:00
Matteo Benedetto 98a9e5fb8b Aggiungi file di configurazione per i binding dei tasti e implementa la gestione degli input nel gioco 2024-12-27 19:03:04 +01:00