Commit graph

215 commits

Author SHA1 Message Date
Nathan Lovato
7f95e15f1f Add a controllable charge mechanic after hooking onto a hooking point. 2019-07-27 20:01:39 +02:00
Nathan Lovato
1da812db3d Code cleanup
Rename Move.speed to Move.max_speed
Improve formatting of some functions
Add length property to the hook's raycast to avoid a bug
2019-07-27 19:59:47 +02:00
Nathan Lovato
5ea00e68e7 Clean up src/ directory structure, move files (#121) 2019-07-26 16:11:00 +02:00
Nathan Lovato
1f92eb2b61 Remove prototypes now the gameplay is in place 2019-07-26 16:03:09 +02:00
Nathan Lovato
9751a7d9fe Add AI job scheduler 2019-07-26 16:02:37 +02:00
Nathan Lovato
08cf19c04c Make the camera motion less jerky with the gamepad
Added deadzone support
Increased smoothing on the camera
2019-07-26 15:50:21 +02:00
Nathan Lovato
312b2eb0c4 Rewrite joystick input handling to work with actions and InputMap
Note there seems to be a bug in Godot 3.1 where joysticks don't work well with input actions
2019-07-26 15:50:14 +02:00
Nathan Lovato
fedf5ae8a2 Fix #111: Use a separate TileMap node for pass-through platforms 2019-07-25 18:46:48 +02:00
Nathan Lovato
2ec6008803 Fix #112: Prevent input scheme switch if the mouse is outside the game window 2019-07-25 18:09:42 +02:00
Nathan Lovato
86ea82fa13 Fix #118: Add transition from the Air to the Run state 2019-07-25 17:41:14 +02:00
Nathan Lovato
e6a8eee4bb Close #116: Add W to jump 2019-07-25 17:35:30 +02:00
Nathan Lovato
1ea5b14f39
Merge pull request #110 from henriiquecampos/level-design-dock-fix
Fix plugin preventing panning
2019-07-25 11:01:54 +02:00
Nathan Lovato
8710e11e76 Move Game scene to the top-level src/Game.tscn file 2019-07-25 11:01:05 +02:00
Nathan Lovato
1b3cd08ebf Remove unused scenes 2019-07-25 09:58:02 +02:00
Henrique Campos
c9bb98022a Fix plugin preventing panning 2019-07-24 18:53:33 -03:00
Nathan Lovato
6a85e8fb30 Add missing tileset, add Hook targets to the Level scene 2019-07-23 20:56:41 +02:00
Nathan Lovato
4096ba2dbd Add a dedicated Level scene, set it as the default project scene. 2019-07-23 20:53:31 +02:00
Nathan Lovato
56c5eb1b97 Update the test level 2019-07-23 19:54:42 +02:00
Nathan Lovato
3168617f20 Add player graphics 2019-07-23 19:54:26 +02:00
Nathan Lovato
28c24e4202 Add warning to LevelLoader 2019-07-23 19:52:09 +02:00
Nathan Lovato
a58e4a2fd9 Update checkpoint 2019-07-23 19:51:58 +02:00
Nathan Lovato
c0e431ea62
Merge pull request #102 from henriiquecampos/level-design-dock
Add Level Design Docker Plugin
2019-07-23 17:04:02 +02:00
Henrique Campos
71f1a6ac5e Add Level Design Dock plugin v0.1.0 2019-07-23 10:21:29 -03:00
Nathan Lovato
f3ba05eff2
Merge pull request #94 from guilhermehto/issue-90
Added configuration warnings
2019-07-17 20:35:52 +02:00
Guilherme Oliveira
9cb3f9ccb6 Added configuration warnings
Added missing configuration warnings and removed unnecessary ones

Fixed actor_path naming convention
2019-07-17 14:56:33 -03:00
Nathan Lovato
aec8226a8b Start adding game architecture, Game scene and LevelLoader node 2019-07-16 17:50:31 +02:00
Nathan Lovato
b393e3b7f3 Add Die and Spawn states for the player 2019-07-16 17:50:31 +02:00
Nathan Lovato
d663060fd4
Merge pull request #93 from guilhermehto/issue-92
Fixed player getting stuck on ceilings while hooking
2019-07-11 08:39:42 +09:00
Guilherme Oliveira
06e5375ed0 Fixed player getting stuck on ceilings while hooking
Closes #92
2019-07-10 14:42:55 -03:00
Nathan Lovato
b302e385fe
Merge pull request #89 from henriiquecampos/pass-through
Add PassThrough mechanic
2019-07-05 21:47:24 +09:00
Henrique Campos
a71dab05e7 Add pass through mechanic 2019-07-05 09:16:35 -03:00
Nathan Lovato
cedcb34b0c Refactor steering behaviors: use velocity and steering instead of motion 2019-07-03 09:51:16 +09:00
Nathan Lovato
9d60fa729d Add AI Steering behaviors
Co-authored-by: Razoric480 <razoric480@gmail.com>
2019-07-03 09:33:01 +09:00
Nathan Lovato
00cc7f8949
Merge pull request #88 from guilhermehto/issue74
Checkpoint and checkpoints node added
2019-07-03 07:35:20 +09:00
Guilherme Oliveira
104eee37f6 Checkpoint and checkpoints node added 2019-07-02 17:04:48 -03:00
Nathan Lovato
9d954335b6 Refactor AI behaviors, standardize the code
- Simplify variable names
- Remove export hints
- Infer types when possible
- Assign Vector2 values when possible instead of accessing individual members
- Edit docstrings, remove superfluous ones
- Remove methods with only one instruction
- Add prefix to booleans
- Remove support for Vector2 values as optional targets: all targets are Node2D
2019-07-02 13:26:41 +09:00
Nathan Lovato
2e6bb1d3fe Move and rename behaviour -> behavior 2019-07-02 09:53:55 +09:00
Nathan Lovato
4614f1e598 Fixing missing debug state script in Player 2019-07-02 09:07:48 +09:00
Nathan Lovato
2b5c064c8d Add a CameraAnchor physics layer, move anchor range to anchors
The anchor range shouldn't be on the camera as it's inflexible: it doesn't give
us a lot of control as to where the camera anchoring starts from
2019-07-02 09:07:48 +09:00
Nathan Lovato
ae56328e50 Set the camera to use physics process 2019-07-02 09:07:48 +09:00
Nathan Lovato
28dd95aac5 Fix nonexistent method error in the editor on SnapDetector 2019-07-02 09:07:48 +09:00
Nathan Lovato
4c1bab55da
Add AI steering prototype
Add a set of nodes to compose AI agents with multiple steering behaviors. Supports a tree of behaviors and blending steering behaviors together
2019-07-02 09:07:18 +09:00
Francois Belair
02c74882ab Blended weights associating with children. 2019-07-01 14:31:26 -04:00
Francois Belair
6afea6bba4 Merge branch 'master' of github.com:GDquest/godot-metroidvania-2d into Ai-Steer 2019-07-01 14:08:42 -04:00
Francois Belair
92ebb8ca04 Filled all scripts with comments. 2019-07-01 14:07:27 -04:00
Francois Belair
7f12ca3f0a Changed example to display arrival, alignment, and priority. 2019-07-01 13:09:09 -04:00
Francois Belair
0f83e10e9f Fixed code to use radians but display degrees 2019-07-01 13:00:41 -04:00
Francois Belair
ea56750183 Moving some stuff around and cleaning code. Added align and intercept/evade. 2019-07-01 12:57:30 -04:00
Francois Belair
3ba5a56ece Refactoring behaviours. 2019-07-01 11:20:49 -04:00
Nathan Lovato
e3dd2dd488
Merge pull request #83 from henriiquecampos/wall-from-jump-fix
Fix Wall State issues
2019-06-28 08:51:13 +09:00