Commit Graph

141 Commits

Author SHA1 Message Date
4f5eb0a3a1 Setup call for _apply_steering(). 2023-01-13 19:57:36 +01:00
e2da64212e Removed parametrized _init() methods. 2023-01-13 19:42:14 +01:00
3957f155da Removed yields from the agents. 2023-01-13 17:11:52 +01:00
2236e48f45 Add explicit Reference inheritance. 2023-01-13 16:59:15 +01:00
99f515f868 Style changes to make c++ conversion easier later. 2023-01-13 13:09:18 +01:00
7388234a6e Fix issues. 2023-01-13 11:02:01 +01:00
de93a946b5 Pandemonium project file. 2023-01-13 10:53:07 +01:00
57527eea5f Update the quick open script. 2023-01-13 10:47:35 +01:00
bb844f1311 Bring in my tooling. 2023-01-13 10:46:36 +01:00
Nathan Lovato
4da6f683ba
Update README.md 2023-01-01 22:16:18 +01:00
Nathan Lovato
ebb70ac84e
docs: update documentation links 2023-01-01 15:54:07 +01:00
Josh Anthony
f615a183ea
Stop agents from processing if the scene tree is paused (#57) 2021-12-14 12:34:27 -05:00
Josh Anthony
22dc7c751a
Stop agents from processing when they are outside of the scene tree (#55) 2021-09-02 10:44:08 -04:00
Francois Belair
53cad0f660 Fix angular velocity clamped to accel 2021-06-14 20:26:31 -04:00
volzhs
5b5ca11b03
Fix global_position for KinematicBody3DAgent (#52)
Use `global_transform.origin` instead of `global_position`
2021-06-07 23:24:36 -04:00
Francois Belair
49cc6ef696 Clean spawner code 2020-12-28 12:09:56 -05:00
CodeDoes
d1c87d96b3
Make group members show their radius on click
* GroupBehaviours Demo: Click on member to see radius

* fixed groupbehaviour demo
2020-12-28 12:08:14 -05:00
Francois Belair
84e52bfd79 Remove bak files 2020-08-23 12:30:38 -04:00
Francois Belair
16cc3efb43 Bring demos back in. Remove refs to demos repo.
Fixes #45
2020-08-23 12:25:09 -04:00
Nathan Lovato
f73a972ad1 Update README
Closes #47
2020-07-04 10:09:51 -06:00
Francois Belair
4d4c7213ba Fix spec. agents at position 0,0,0 on first frame 2020-05-24 13:00:40 -04:00
Francois Belair
ca1a7088c5 Split project, turn framework into submodule
Fixes #38
2020-05-14 13:45:46 -04:00
Nathan Lovato
38baf344a8 Update README 2020-05-12 13:42:09 -06:00
Francois Belair
083450e019 Fix agents trying to use body instead of weakref
Fixes #43
2020-05-08 12:42:45 -04:00
Nathan Lovato
a2d0258ff1 Update doc-comments to use JSDoc style 2020-04-02 18:31:59 -06:00
Francois Belair
89e4dc4c2b Fix velocity reversal bug in kinematic agents
Fixes #40
2020-03-19 23:34:51 -04:00
Francois Belair
beca7b9cc7
Clarify changelog entry 2020-03-04 08:13:26 -05:00
Francois Belair
192490b757 Make agents multiply acceleration by delta
This fixes the fact that acceleration wasn't treated as acceleration
  over time, but was instant acceleration.
2020-03-03 14:47:03 -05:00
Nathan Lovato
a7d83af547 Update CHANGELOG 2020-02-23 11:13:13 -06:00
Francois Belair
2d3e763a80 Add category tags to API 2020-02-22 12:51:11 -05:00
Francois Belair
fbb92e3593 Replace body with WeakRef of body to fix crashes
When a physics body was freed by queue_free or free, it was possible
for the physics update to still happen on the specialized agent. The
Null body then caused a crash.
2020-02-20 12:24:55 -05:00
Nathan Lovato
68b85bb234 Format the code using gdformat
gdformat follows the official style guide, and handles line length and wrapping
lines for us.
2020-02-14 10:35:18 -06:00
Nathan Lovato
2940442b95 Update the readme
Removed the documentation, replaced it with links to the corresponding pages on
GDQuest.com/docs
Edited the intro
Added links to become a contributor, support us, and follow us
2020-02-13 21:18:33 -06:00
Nathan Lovato
5f07e5364b Update the install section of the readme 2020-02-13 17:53:42 -06:00
Nathan Lovato
fa71f34efd Add project icon
Closes #19
2020-02-13 17:51:21 -06:00
Nathan Lovato
e9dd3b8a1e Improve the feel of the demos, update changelog 2020-02-13 13:34:22 -06:00
Nathan Lovato
1daade7ea3 Fix background not covering the entire viewport in some cases 2020-02-13 13:34:09 -06:00
Nathan Lovato
6edec919e8 Fixed error when double clicking an item in the DemoPicker 2020-02-13 12:01:48 -06:00
Francois Belair
ca1839c633 Add 3D demo and fix 3D agents
Closes #30, closes #31, closes #33
2020-02-13 03:51:48 -05:00
Nathan Lovato
534ade7282 Update code reference for the 2.0.0 release. 2020-02-11 13:41:34 -06:00
Nathan Lovato
36f2dcb522 Handle all warnings in GSAI* classes and demos 2020-02-11 13:36:06 -06:00
Nathan Lovato
04468a7d60 Fix errors when unloading demos with DemoPlayer 2020-02-11 13:31:15 -06:00
Nathan Lovato
f9b52fc24c Remove print statement 2020-02-11 13:30:49 -06:00
Nathan Lovato
46dad32bfa Increase the size of the demos' text box 2020-02-11 13:30:33 -06:00
Nathan Lovato
6d2016c9e9 Handle and remove warnings in GSAI* classes 2020-02-11 13:18:22 -06:00
Nathan Lovato
77f90b0c74 Remove warnings in the DemoPicker scene
Also turned off the setting for discarded return value warnings as it triggers
for many calls, including to built-in functions.
2020-02-11 13:15:29 -06:00
Nathan Lovato
692176be8e Update changelog for the 2.0.0 release 2020-02-11 12:56:24 -06:00
Nathan Lovato
edd6f6d6d4 Add resizing support, increase default font size
Closes #21
2020-02-11 12:56:24 -06:00
Nathan Lovato
9870e03e81 Add F11 to toggle fullscreen
Part of #21
2020-02-11 12:56:24 -06:00
Nathan Lovato
7e98b2e785 Rename 3D physics body classes to *3DAgent 2020-02-11 12:56:24 -06:00