Commit Graph

21 Commits (54fcbcbb6bea3f086b751d80faca1700dba28a51)

Author SHA1 Message Date
Sara 7bdb5e70eb feat: added get_players and redefined how spawnpoints are stored 2024-05-23 15:55:47 +02:00
Sara a9e33a3781 fix: error in game root reloading 2024-05-21 15:57:55 +02:00
Sara dff7631816 feat: added get_levels to game root 2024-05-21 11:57:31 +02:00
Sara 51f18f45b8 fix: game root now only spawns player if scene is assigned in game mode 2024-05-21 11:57:21 +02:00
Sara 044164fa4b feat: game root now better handles despawned players 2024-05-21 11:56:54 +02:00
Sara 2344f3f2b6 feat: merged GameRoot and GameRoot3D into GameRoot3D 2024-05-06 11:03:00 +02:00
Sara d81ad91a88 feat: gameroot will now spawn players using spawn_at_position 2024-04-16 11:45:46 +02:00
Sara f0bddcf074 feat: changed ordering of signals in game root 2024-03-22 00:14:29 +01:00
Sara d095d9f2de feat: added player_spawned signal to GameRoot 2024-03-21 22:50:49 +01:00
Sara b75c0006d6 feat: switched signal binding in GameRoot to GDSIGNAL 2024-03-21 22:50:35 +01:00
Sara af4208f3b7 feat: GameRoot now calls GameMode::_begin and _end 2024-03-21 22:50:12 +01:00
Sara e6c3d0988d fix: inverted order of arguments when calling is_parent_class 2024-03-20 09:44:14 +01:00
Sara 51c9090d10 feat: added GameRoot::get_game_mode and a get_game_state shorthand 2024-03-20 09:43:48 +01:00
Sara c85947f187 feat: refactored how players are removed 2024-03-17 14:49:35 +01:00
Sara 1cb000aa98 feat: current gamemode is no longer reset when the first level is unloaded 2024-03-16 22:14:14 +01:00
Sara ea338c43aa fix(error checking): initialize_player will only continue if the given player id is valid 2024-03-16 22:12:52 +01:00
Sara 5b73bb53ca chore(documentation): improved inline documentation and function naming clarity 2024-03-16 22:12:11 +01:00
Sara 92a1cb6bc5 fix: set_game_mode will no longer attempt to spawn a player with id 0 every call 2024-03-16 22:11:20 +01:00
Sara f8f92c1513 feat: implemented GameRoot::player_disconnected 2024-03-16 20:56:26 +01:00
Sara 78c94e52f2 feat: refactored how gameroot handles spawning players 2024-03-16 13:02:36 +01:00
Sara 49562071c0 feat: added core game and level concepts 2024-03-13 16:08:37 +01:00