Closed antivirak closed 1 month ago
This pull request implements changes to the parking bill minigame, focusing on refactoring the pointer position handling, adjusting the game's UI for different screen sizes and fullscreen mode, and making minor updates to several screen definitions.
classDiagram
class ParkingMachine {
- float mouse_pointer_position
- float bar_shift
- float bar_velocity
+ float pointer_position
+ update_input(float value)
+ update_logic(bool pointer_in_hotspot, float time_delta) bool
+ bar_width_scale() float
+ move_mouse()
}
ParkingMachine : + pointer_position
ParkingMachine : + pointer_position(float pos)
ParkingMachine : + move_mouse()
Change | Details | Files |
---|---|---|
Refactored pointer position handling in the parking machine minigame |
|
game/parking_machine_ren.py |
Improved UI scaling for different screen sizes and fullscreen mode |
|
game/parking_machine_ren.py |
Updated screen definitions to use proper function syntax |
|
game/dictionary/screen.rpy game/rightside-menu/screen.rpy game/stats-overview/screen.rpy |
Minor import statement updates |
|
game/minigame_room_selection.rpy |
Summary by Sourcery
Refactor the parking machine game to use a property for pointer position, adjust screen positioning logic for different display modes, and update import statements for compatibility.
Enhancements:
Chores: