Deleted ESCHotspot (use ESCItem instead)

Moved duplicated movement code from ESCPlayer and ESCItem/ESCHotspot to its own script.
Added talking animations management.
Fixed bug: character was turning to last_direction after talking, if coming from another direction than speaking direction.
Continued removing unfree stuff.
This commit is contained in:
Julian Murgia
2021-01-12 23:05:23 +01:00
parent 933122f085
commit ff56816205
73 changed files with 1211 additions and 1652 deletions

View File

@@ -29,11 +29,6 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://addons/escoria-core/game/scenes/dialogs/dialog_player.gd"
}, {
"base": "Area2D",
"class": "ESCHotspot",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/eschotspot.gd"
}, {
"base": "Control",
"class": "ESCInventory",
"language": "GDScript",
@@ -44,7 +39,7 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/inventory_item.gd"
}, {
"base": "Sprite",
"base": "Area2D",
"class": "ESCItem",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/escitem.gd"
@@ -68,20 +63,25 @@ _global_script_classes=[ {
"class": "ESCTriggerZone",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esctriggerzone.gd"
}, {
"base": "Node",
"class": "Movable",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/behaviors/movable.gd"
} ]
_global_script_class_icons={
"ESCBackground": "",
"ESCCamera": "",
"ESCCharacter": "",
"ESCDialogsPlayer": "",
"ESCHotspot": "",
"ESCInventory": "",
"ESCInventoryItem": "",
"ESCItem": "",
"ESCPlayer": "",
"ESCRoom": "",
"ESCTerrain": "",
"ESCTriggerZone": ""
"ESCTriggerZone": "",
"Movable": ""
}
[application]