Commit Graph

14 Commits

Author SHA1 Message Date
blujai831 30dcb94548
Changed project organization somewhat: instead of having an autoload directory, autoloads will be sorted into directories based on what they do. Wait is basically a utility class, so it goes in util. 2024-02-13 10:25:13 -08:00
blujai831 14e4ea41fb
Fixed hang when TweenChannel.sync is called too late. 2024-01-24 12:13:09 -08:00
blujai831 eb720b6188
Clarified documentation of Task.group. 2024-01-07 09:28:08 -08:00
blujai831 4d2d82b199
Added factory functions for TweenChannel because 'TweenChannel.new(TweenChannel.ArbitrationMode.REPLACE)' is kind of tedious to write. 2024-01-06 19:16:28 -08:00
blujai831 0cfdf81b48
Immediately changed my mind about previous commit and changed default tween channel arbitration mode back to YIELD. Instead implemented a constructor which takes arbitration mode as an optional parameter. This way I can initialize arbitration mode to REPLACE as needed in variable declarations of type TweenChannel, rather than having to do it in _ready, and still have the default be YIELD. 2024-01-06 18:47:57 -08:00
blujai831 ebae0648c8
Changed default tween channel arbitration mode to REPLACE. 2024-01-06 18:41:58 -08:00
blujai831 d73fffb22f
Clarified documentation of TweenChannel.arbitration_mode. 2024-01-06 13:16:05 -08:00
blujai831 1437194677
Implemented TweenChannel. 2024-01-06 13:09:18 -08:00
blujai831 ac3a57dc05
Made CallableNode wait until its designated parent is in the tree and it itself is not. (Before, it only checked if it itself was in the tree, and handled it by removing itself from the tree instead of by waiting.) Fixed variable shadowing warnings. 2024-01-03 14:04:04 -08:00
blujai831 47b4c1f17a
Fixed an oversight in how correct process_mode to use for invoked CallableNode is resolved. 2024-01-02 22:03:46 -08:00
blujai831 48a84ac85b
Drafted CallableNode class. Will use later down the line for a much cleaner implementation (or possibly outright elision) of what was previously the UI autoload, which should hopefully fix all those errors about awaiters having disappeared by the time a signal emits or a coroutine returns (if I was interpreting them correctly; I can't remember what they actually said, but it was something to that effect). 2024-01-02 21:47:30 -08:00
blujai831 60fee556cd
Added license. Reimplemented Task (formerly Promise), TimeExt (formerly TimeIntervalFormatting), and Wait. 2024-01-02 19:34:41 -08:00
blujai831 04ab91a50f
Deleted everything. I am going to try to comprehensively overhaul all my work so far to be more consistent, more idiomatic, better-documented, and less prone to gotchas. 2024-01-02 12:07:01 -08:00
blujai831 a4065f7831
Imported project state from previous repo. (Previous repo was deleted to avoid continuing to distribute copies licensed under my previous choice of license; updating the license in the repo would not have sufficed because I would still be distributing undesirably licensed copies via the repo's history.) 2023-12-27 12:18:33 -08:00