Commit Graph

20 Commits

Author SHA1 Message Date
0d38a8646a Updated escoria-demo-game 2023-06-06 19:28:49 +02:00
Balloonpopper
1709a25452 fix: Debug message for when an item has no ESCLocation 2023-01-19 15:09:55 +01:00
balloonpopper
53c900b36e Simplemouse fixes (#669)
* fix: Simplemouse bounding box size fix
* fix: Bug when exiting game with simplemouse with disconnecting non-connected gamepad
* fix: issue-339. Simplemouse gives an error in the debug when you move on/off ESCItems
* fix: tracks mouse position to allow for mouse tracking as well as on-demand tooltip updates on immediate target change, i.e. rendering doesn't lag a frame behind.
* chore: decouple further by using a signal
* fix: Correct action getting randomly lost with simplemouse
* fix: deleted objects aren't always equated to null.
* fix: clear the tooltip when an action is finished.
* fix: clears tooltip only on successful event completion; debug code cleanup.
* Broken room 5
* fix: Item collisions correctly determined when game resolution = screen resolution
* Update addons/escoria-core/game/core-scripts/esc_item.gd
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
* Update addons/escoria-ui-simplemouse/game.gd
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
* fix: Reverted default UI to 9 verbs
Co-authored-by: Balloonpopper <balloonpopper@git.com>
Co-authored-by: Duncan Brown <duncan@prometheussoftware.ca>
2023-01-12 22:38:06 +11:00
Duncan Brown
689062989b fix: puts these items back at the origin which is necessary so their positions in the scene can be used 2022-08-23 18:48:16 -04:00
balloonpopper
c9e785142f chore: renames items_autoregister_path to inventory_items_path (#620)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-08-09 08:11:36 +02:00
Balloonpopper
1db0bc4a39 fix: correct change nodes of node type to node2d type to fix transition bug 2022-04-19 16:26:03 +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
Balloonpopper
587b3b316b fix: room text is readable again 2022-03-09 08:51:18 +01:00
balloonpopper
b70c52edda feat: Made room 5's background more interesting (#530)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-03-07 08:53:49 +01:00
balloonpopper
bcb366c6af feat: Graphics update for room 5 (#525)
Co-authored-by: Balloonpopper <balloonpopper@git.com>
2022-03-04 14:49:15 +01:00
Julian Murgia
c86b802cbb Add show_menu and hide_menu ESC commands
Fixes godot-escoria/escoria-issues#48
Fix: tween was stopped_all before starting


Fix: reload locale from settings in ESCGame

Since main menu and pause menu are now loaded from ESCGame and not from escoria.gd, this must be done here.
Fix: small crash in load game

But save and load are broken at the moment...
Fix: check save and load after main menu changes


Required fixes


Fix: manage the game scene better in show and hide_menu


Enh: transition back in to the previous room if there was one


Fix a bug occurring where change_scene awaits forever for setup to end


Reworked change_scene and esc_room implementation to avoid yielding


Added a controller variable to allow new event run in events_manager


Don't empty the events queue if the running_event was interrupted


Fixed transitions and automatic transitions in change_scene

Added trace log level (for esc_compiler in particular)
Fixed various bugs in ESC scripts
Fix a bug where exit_scene happened multiple times where fast walking

Needed to clear the event queue
Fixes ready event was run because BYPASS_LAST_SCENE wrongly set


Inverted parameter "disable_automatic_transitions"

for change_scene, hide_menu, show_menu commands
Fix broken sched_event


Fixes as requested in PR
2021-11-11 22:20:58 +01:00
Julian Murgia
9dbcf2b58b Make ESCLocation is_start_location work (#421)
Introducing BYPASS_LAST_ROOM global to allow changing scene without considering the previous room
Fixes godot-escoria/escoria-issues#40
2021-10-26 16:36:02 +02:00
Dennis Ploeger
94d86d24d5 fix: Huge cleanup (#420)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-10-25 08:59:07 +02:00
Dennis Ploeger
af26521d3d feat: Rewrote inventory handling basing on ESCItems (#417)
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-10-21 21:56:25 +02:00
Dennis Ploeger
60ea4d851b Issue 320 (#396) - Mobile fixes
Co-authored-by: Dennis Ploeger <develop@dieploegers.de>
Co-authored-by: dploeger <dploeger@users.noreply.github.com>
2021-09-23 08:32:08 +02:00
Julian Murgia
61726bca81 :setup action is not managed only once anymore (#358)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-08 23:23:11 +02:00
Julian Murgia
cbb64df969 Removed hardcoded global_id "player" (#359)
* Removed hardcoded global_id "player"
Removed hardcoded node name "start_position"

* docs: Automatic update of API docs

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
2021-08-08 12:10:46 +02:00
Julian Murgia
43dc217359 Add ESCLocation node (#323)
Fixes #306
2021-07-15 09:42:22 +02:00
Julian Murgia
f84d1be741 Fix bug when leaving a room after a item was picked up 2021-07-06 12:59:46 +02:00
Julian Murgia
7de969d75e Renamed all room folders to use 2 digits. 2021-07-06 10:25:09 +02:00