Commit Graph

93 Commits (cb6fd87e72a2b4b72dacb741f2fea661bee0e3ee)

Author SHA1 Message Date
Sara 47a5965e31 feat: removed if statement that will always execute body 2024-05-28 17:06:32 +02:00
Sara 527415677f feat: added shorthand listen_to functions to PlayerInput 2024-05-28 16:58:22 +02:00
Sara 41f5c440c4 feat: inverted positive/negative args of Listener 2024-05-28 16:57:58 +02:00
Sara 3cad3af3fe feat: swapped from godot:: to utils:: namespace 2024-05-28 16:28:36 +02:00
Sara 54fcbcbb6b feat: added register_types 2024-05-28 14:14:09 +02:00
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 90d8d626a0 feat: Player now requires spawn_at_position(Transform3D) 2024-04-16 11:44:58 +02:00
Sara 78e6bb2cf1 feat: PlayerInput now uses callables
This enables the use of callable_mp and binding inputs without stringname lookups
2024-04-10 12:44:50 +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 a8153c3ec4 feat: added _begin and _end to GameMode 2024-03-21 22:49:11 +01:00
Sara 34a0493ee7 feat: added GDSIGNAL macro 2024-03-20 11:35:13 +01:00
Sara 1dd1d3b961 feat: cleanup to player input 2024-03-20 09:44:25 +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 7d7e1ac584 feat: implemented IPlayer::get_player_id 2024-03-16 20:56:36 +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
Sara 988d39bdb4 feat: godot_macros, GDGAMEONLY and GDEDITORONLY now eat their semicolons 2024-02-25 19:46:49 +01:00
Sara 76fa584333 feat: added new constructor for Listener 2024-02-23 21:50:29 +01:00
Sara 3253888829 feat: added .os files to gitignore 2024-02-19 01:25:15 +01:00
Sara 9304c383da feat: removed unused file 2024-02-19 01:24:25 +01:00
Sara 2a2214b487 fix: playerinput mouse events now report correctly 2024-02-19 01:04:14 +01:00
Sara 460dc9a1c6 feat: added .so files to gitignore 2024-02-13 21:40:28 +01:00
Sara d5ee438080 feat: PlayerInput now supports mouse motion through _mouse_* actions 2024-02-13 21:39:50 +01:00
Sara 2246409a79 feat: added player input class 2024-02-13 14:59:01 +01:00
Sara 160eeba054 feat: godot macros now includes dependencies 2024-02-02 08:47:30 +01:00
Sara 63bf083467 feat: added GDEDITORONLY and GDGAMEONLY 2024-02-02 08:47:05 +01:00
Sara 0230e4e109 feat: added godot_macros.h 2024-01-30 10:36:58 +01:00