├── LICENSE ├── README.md └── gd-ecs-project ├── .gitignore ├── assets ├── Players │ ├── CharacterC.png │ ├── CharacterC.png.import │ ├── CharacterC.sprites │ │ ├── Air │ │ │ └── Air_00.tres │ │ ├── Back │ │ │ └── Back_00.tres │ │ ├── Climb │ │ │ ├── Climb_00.tres │ │ │ ├── Climb_01.tres │ │ │ ├── Climb_02.tres │ │ │ └── Climb_03.tres │ │ ├── Hit │ │ │ ├── Hit_00.tres │ │ │ ├── Hit_01.tres │ │ │ └── Hit_02.tres │ │ ├── Idle │ │ │ └── Idle_00.tres │ │ ├── Jump │ │ │ ├── Jump_00.tres │ │ │ └── Jump_01.tres │ │ ├── Land │ │ │ └── Land_00.tres │ │ ├── Punch │ │ │ ├── Punch_00.tres │ │ │ ├── Punch_01.tres │ │ │ └── Punch_02.tres │ │ ├── Run │ │ │ ├── Run_00.tres │ │ │ ├── Run_01.tres │ │ │ ├── Run_02.tres │ │ │ └── Run_03.tres │ │ ├── Slash │ │ │ ├── Slash_00.tres │ │ │ ├── Slash_01.tres │ │ │ ├── Slash_02.tres │ │ │ └── Slash_03.tres │ │ └── Walk │ │ │ ├── Walk_00.tres │ │ │ ├── Walk_01.tres │ │ │ ├── Walk_02.tres │ │ │ └── Walk_03.tres │ ├── CharacterC.tpsheet │ └── CharacterC.tpsheet.import ├── slash.png ├── slash.png.import ├── tiles.png └── tiles.png.import ├── icon.png ├── icon.png.import ├── project.godot └── src ├── Autoloads ├── Debug.gd └── Globals.gd ├── Components ├── C_AnimatedSprite.gd ├── C_AnimationPlayer.gd ├── C_Camera2D.gd ├── C_CollisionShape2D.gd ├── C_DoubleJump.gd ├── C_Input.gd ├── C_Jump.gd ├── C_Locomotion.gd ├── C_LocomotionAnimation.gd ├── C_Player.gd ├── C_Slash.gd └── C_Sprite.gd ├── Entities └── Player.tscn ├── Scenes └── Game.tscn ├── Systems ├── S_ActionEventEmitter.gd ├── S_AnimationListener.gd ├── S_DoubleJump.gd ├── S_Jump.gd ├── S_Locomotion.gd ├── S_LocomotionAnimation.gd └── S_PlayerInput.gd └── Utils ├── Utils.gd └── gd-ecs ├── ECS.gd ├── Entity.gd ├── QueryManager.gd ├── System.gd └── SystemManager.gd /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/README.md -------------------------------------------------------------------------------- /gd-ecs-project/.gitignore: -------------------------------------------------------------------------------- 1 | .import 2 | .test 3 | addons 4 | script_templates -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.png -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.png.import: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.png.import -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Air/Air_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Air/Air_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Back/Back_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Back/Back_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Climb/Climb_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Climb/Climb_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Climb/Climb_01.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Climb/Climb_01.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Climb/Climb_02.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Climb/Climb_02.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Climb/Climb_03.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Climb/Climb_03.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Hit/Hit_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Hit/Hit_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Hit/Hit_01.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Hit/Hit_01.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Hit/Hit_02.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Hit/Hit_02.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Idle/Idle_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Idle/Idle_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Jump/Jump_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Jump/Jump_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Jump/Jump_01.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Jump/Jump_01.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Land/Land_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Land/Land_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Punch/Punch_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Punch/Punch_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Punch/Punch_01.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Punch/Punch_01.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Punch/Punch_02.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Punch/Punch_02.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Run/Run_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Run/Run_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Run/Run_01.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Run/Run_01.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Run/Run_02.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Run/Run_02.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Run/Run_03.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Run/Run_03.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Slash/Slash_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Slash/Slash_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Slash/Slash_01.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Slash/Slash_01.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Slash/Slash_02.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Slash/Slash_02.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Slash/Slash_03.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Slash/Slash_03.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Walk/Walk_00.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Walk/Walk_00.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Walk/Walk_01.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Walk/Walk_01.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Walk/Walk_02.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Walk/Walk_02.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.sprites/Walk/Walk_03.tres: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.sprites/Walk/Walk_03.tres -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.tpsheet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.tpsheet -------------------------------------------------------------------------------- /gd-ecs-project/assets/Players/CharacterC.tpsheet.import: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/Players/CharacterC.tpsheet.import -------------------------------------------------------------------------------- /gd-ecs-project/assets/slash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/slash.png -------------------------------------------------------------------------------- /gd-ecs-project/assets/slash.png.import: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/slash.png.import -------------------------------------------------------------------------------- /gd-ecs-project/assets/tiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/tiles.png -------------------------------------------------------------------------------- /gd-ecs-project/assets/tiles.png.import: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/assets/tiles.png.import -------------------------------------------------------------------------------- /gd-ecs-project/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/icon.png -------------------------------------------------------------------------------- /gd-ecs-project/icon.png.import: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/icon.png.import -------------------------------------------------------------------------------- /gd-ecs-project/project.godot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/project.godot -------------------------------------------------------------------------------- /gd-ecs-project/src/Autoloads/Debug.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Autoloads/Debug.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Autoloads/Globals.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Autoloads/Globals.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_AnimatedSprite.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_AnimatedSprite.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_AnimationPlayer.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_AnimationPlayer.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_Camera2D.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_Camera2D.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_CollisionShape2D.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_CollisionShape2D.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_DoubleJump.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_DoubleJump.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_Input.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_Input.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_Jump.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_Jump.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_Locomotion.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_Locomotion.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_LocomotionAnimation.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_LocomotionAnimation.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_Player.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_Player.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_Slash.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_Slash.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Components/C_Sprite.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Components/C_Sprite.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Entities/Player.tscn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Entities/Player.tscn -------------------------------------------------------------------------------- /gd-ecs-project/src/Scenes/Game.tscn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Scenes/Game.tscn -------------------------------------------------------------------------------- /gd-ecs-project/src/Systems/S_ActionEventEmitter.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Systems/S_ActionEventEmitter.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Systems/S_AnimationListener.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Systems/S_AnimationListener.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Systems/S_DoubleJump.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Systems/S_DoubleJump.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Systems/S_Jump.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Systems/S_Jump.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Systems/S_Locomotion.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Systems/S_Locomotion.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Systems/S_LocomotionAnimation.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Systems/S_LocomotionAnimation.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Systems/S_PlayerInput.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Systems/S_PlayerInput.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Utils/Utils.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Utils/Utils.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Utils/gd-ecs/ECS.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Utils/gd-ecs/ECS.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Utils/gd-ecs/Entity.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Utils/gd-ecs/Entity.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Utils/gd-ecs/QueryManager.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Utils/gd-ecs/QueryManager.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Utils/gd-ecs/System.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Utils/gd-ecs/System.gd -------------------------------------------------------------------------------- /gd-ecs-project/src/Utils/gd-ecs/SystemManager.gd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jonchun/gd-ecs/HEAD/gd-ecs-project/src/Utils/gd-ecs/SystemManager.gd --------------------------------------------------------------------------------