Commit Graph
34 Commits
Author SHA1 Message Date
Duncan Brown 8d1b00bb90 fix: moves game scene removal/addition to room until after transition; still needs testing, especially w instant transitions 2022-04-19 16:25:26 +02:00
Duncan Brown eac4385b81 wip: moving camera setup closer to actual :setup event post-transition out to allow for more setup to be done 'under the hood' 2022-04-19 16:25:26 +02:00
Duncan Brown b985c42e08 fix: change hotspots Node to Node2D to allow for proper room visibility swapping 2022-04-19 16:25:26 +02:00
Duncan Brown 4b3b96b688 fix: missing this parameter 2022-04-19 16:25:26 +02:00
Duncan Brown 92e23beb00 fix: should now block for yielding events but only on the same channel 2022-04-19 16:25:26 +02:00
Duncan Brown 3ff3849232 fix: prevents async (i.e. events that are yielded to) from overlapping 2022-04-19 16:25:26 +02:00
Duncan Brown c92c4edacf fix: remove duplicate transition out (needs testing) 2022-04-19 16:25:26 +02:00
Duncan Brown 768f65d929 fix: allows for bare decimals (no leading 0) to be properly interpreted; also adds in additional validation for 'wait' command 2022-04-19 07:55:09 +02:00
Duncan Brown 7050a8a2fb feat: adds in max args checking; also removes duplicate command validation and now properly validates min_args; re-orders validation to allow argument descriptor validation to always be done first; misc. cleanup of error strings 2022-04-19 07:55:09 +02:00
Duncan Brown b1b301d917 WIP: added max args checking; working on fixing min args checking and validation in general as commands are validating on prepared args and therefore cannot validate on original user args currently 2022-04-19 07:55:09 +02:00
Duncan Brown 157c2f564c fix: properly validate min_args and remove superfluous validation call to argument descriptor 2022-04-19 07:55:09 +02:00
Duncan Brown baee79f5a0 feat: reports source of ESC errors when possible (#568) 2022-04-09 16:13:09 +02:00
Duncan Brown 6d98e7bdce fix: should now also prevent areas from spawning events; also removes a superfluous variable 2022-04-08 21:18:57 +02:00
Duncan Brown 85b86f38be fix: handles the case where no coroutines are run as part of room creation; also fixes a small bug in ESCCamera 2022-04-08 21:18:57 +02:00
Duncan Brown 503d6134dd fix: eliminates the need to run two batches of ESC commands for loading games by introducing an extra ESC command; also corrects situations where transitions that are mixed and matched don't work together; and additional cleanup 2022-04-08 21:18:57 +02:00
Duncan Brown 114ef2fc55 wip: rough attempt at properly incorporating existing coroutines to correctly place room swapping. 2022-04-08 21:18:57 +02:00
Duncan Brown c87e853ba6 fix: add code to handle scenes run directly from the Godot editor and allow for the current room to be set in the object manager, allowing proper setup 2022-04-08 21:18:57 +02:00
Duncan Brown 2508786cde fix: break loading up into two batches so objects can be loaded and accessed by other code in the loading method here 2022-04-08 21:18:57 +02:00
Duncan Brown 7ff0176d62 fix: allows for proper reloading of all globals (reserved or otherwise); also now properly saves reserved objects; plus a couple small guards to correct issues while quitting after loading games in certain conditions 2022-04-08 21:18:57 +02:00
Duncan Brown 84c84d3a0f fix: makes the loading process more consistent by using all ESC commands; also fixes issue caused by loaded save games not executing :setup or :ready, thereby preventing proper room switching in this case 2022-04-08 21:18:57 +02:00
Duncan Brown ecb7bfb528 fix: accommodate empty parameter 2022-04-08 21:18:57 +02:00
Duncan Brown 0556ccbf32 fix: we now need to transition in from :ready in the case of manual transitions 2022-04-08 21:18:57 +02:00
Duncan Brown 99568c1764 Fixes issues with inventory items not properly persisting between rooms as well as a bug with unregistering items more than once. Also a couple small cleanup items and some additional docstrings. 2022-04-08 21:18:57 +02:00
Duncan Brown 01d7d041cd chore: refactor of object manager to use array of objects instead of untyped dictionary. 2022-04-08 21:18:57 +02:00
Duncan Brown 82acf8374d feat: adds instant transitions with an object manager rework, along with
something missed from PR #487
2022-04-08 21:18:57 +02:00
Duncan Brown c676ce5a55 Merge pull request #496 from godot-escoria/issue-98
fix: guard for cases where no animations are set.
2022-02-16 11:51:33 -05:00
Duncan Brown d41f647a11 Merge branch 'develop' into issue-98 2022-02-16 10:59:03 -05:00
Duncan Brown ea3543b5ee fix: guard for cases where no animations are set. 2022-02-16 10:57:21 -05:00
Duncan BrownandDuncan Brown 326618df18 fix: set a proper guard in case of no speaking animations (#488)
+ correct the upper limit check for the speaking index
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2022-02-06 11:24:55 +01:00
Duncan BrownandDuncan Brown 99dc1e0110 feat: refactor numerous areas and tokenize string literals where possible; also fixes some small bugs (#487)
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2022-02-04 17:10:40 +01:00
Duncan BrownandDuncan Brown e9d63e94b0 feat: move room initialization code into manager (#479)
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2021-12-13 07:35:38 +01:00
Duncan BrownandDuncan Brown fd47499fed feat: add options menu to pause menu (#477)
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2021-12-06 07:56:31 +01:00
Duncan Brown 9fbf0c254c fix: correct data type and update missed constant references (#476)
fix: correct data type and update missed constant references
2021-12-03 23:30:19 +01:00
Duncan BrownandDuncan Brown 391bf08f21 feat: add esc_current_scene reserved global (#474)
Co-authored-by: Duncan Brown <duncan@bhs-consultants.com>
2021-12-03 08:45:02 +01:00