|
RapidGameFramework
Reusable Godot managers for data-driven small games
|
Variables | |
| DataCacheManager | |
| Dictionary | |
Load power-up definitions from JSON containing powerups: []. | |
| Array | |
| float | |
| data_cache_manager | |
| int | |
| parsed | |
| String | |
| Spawn one field power-up at a random point inside the playfield margins. | |
| value | |
| Color | |
| spawn_timer = next_spawn_delay(active_powerups.size() < int(spawn_config.get("max_active", 2))) | |
| active_powerups = remaining | |
| Vector2 | |
| Return the first collector intersecting a field power-up. | |
| saved_config | |
| str | handler_key = "custom_effect" |
| handler | |
| powerup_ids_cache = definitions.keys() | |
| int | cache_hits = 0 |
| int | cache_misses = 0 |
| arcade_powerup_manager.active_powerups = remaining |
Definition at line 185 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.Array |
Definition at line 23 of file arcade_powerup_manager.gd.
| int arcade_powerup_manager.cache_hits = 0 |
Definition at line 290 of file arcade_powerup_manager.gd.
| int arcade_powerup_manager.cache_misses = 0 |
Definition at line 291 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.Color |
Definition at line 98 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.data_cache_manager |
Definition at line 25 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.DataCacheManager |
Definition at line 8 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.Dictionary |
Load power-up definitions from JSON containing powerups: [].
Advance active power-ups and return collection/expiry/spawn events.
Convert one raw JSON effect row into a stable operation dictionary.
Execute a power-up's data-defined effects through supplied generic handlers.
Configure power-up ids/definitions and shared spawn timing.
Return cache diagnostics for file-based convenience loads.
Returns the normalized operations so game scenes can log or inspect results.
Definition at line 10 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.float |
Definition at line 24 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.handler |
Definition at line 264 of file arcade_powerup_manager.gd.
| str arcade_powerup_manager.handler_key = "custom_effect" |
Definition at line 263 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.int |
Definition at line 30 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.parsed |
Definition at line 36 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.powerup_ids_cache = definitions.keys() |
Definition at line 285 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.saved_config |
Definition at line 253 of file arcade_powerup_manager.gd.
| float arcade_powerup_manager.spawn_timer = next_spawn_delay(active_powerups.size() < int(spawn_config.get("max_active", 2))) |
Definition at line 168 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.String |
Spawn one field power-up at a random point inside the playfield margins.
Definition at line 63 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.value |
Definition at line 70 of file arcade_powerup_manager.gd.
| arcade_powerup_manager.Vector2 |
Return the first collector intersecting a field power-up.
Definition at line 212 of file arcade_powerup_manager.gd.