stuck with Ecsoria tutorial

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By swedenborg
:warning: Old Version Published before Godot 3 was released.

Hi, I am trying to make dialog from this tutorial – https://fr.flossmanuals.net/creating-point-and-click-games-with-escoria/creat-actions/

I carefully did all steps, but my scene shows me only first sentence

:talk
say cat "Hello young panda"
say cat "Don’t worry, you’ll succeed"
set_global introduced true
stop

Script output is

vm on telon is 	[Node:601]
connected
**** screen ofs is 	(0, 0)
setting camera limits from scene 	(0, 0, 40, 40)
**** screen ofs is 	(0, -45)
setting camera limits from scene 	(0, 0, 40, 40)
**** screen ofs is 	(0, 0)
setting camera limits from scene 	(0, 0, 40, 40)
hud got tooltip text 	cat.tooltip
hud got tooltip text 	
item set speaking! 	cat	True	default
hud got tooltip text 	
item set speaking! 	cat	False	default
hud got tooltip text 	cat.tooltip
hud got tooltip text 	
item set speaking! 	cat	True	default
hud got tooltip text 	
item set speaking! 	cat	False	default
hud got tooltip text 	cat.tooltip
hud got tooltip text 	
item set speaking! 	cat	True	default

I never reach second sentence. Why?

You are using Godot 2,right? Do you see any output in the debugger tab?

flesk | 2017-11-18 08:53

Hi,
yes my GODOT installation is last stable 2.1.4.

Debugger output shows me nothing interesting - .

May be somebody can explain me how to debug this situation?
Where I must put break-point and which values I need to check?

swedenborg | 2017-11-18 13:02

You must have an item with global_id “cat”, since you see the first line of dialogue, so it’s puzzling. I’d put breakpoints in https://github.com/godotengine/escoria/blob/master/device/globals/vm_level.gd#L64, https://github.com/godotengine/escoria/blob/master/device/globals/global_vm.gd#L222, https://github.com/godotengine/escoria/blob/master/device/globals/dialog_player.gd#L5 and https://github.com/godotengine/escoria/blob/master/device/globals/dialog_dialog.gd#L33, plus maybe a few other places I don’t remember exactly. (I’m on mobile, so it’s a bit difficult to look up.)

flesk | 2017-11-18 13:51

Just a hunch, but could you try removing the two apostrophes from the second dialogue and see if it makes any difference?

flesk | 2017-11-18 14:23

Thank you for help, but it was my fault(no so mine, I think)

Now I have solution for my case.

*.esc file MUST have same name as global_id. I had old_man.esc which was wrong.

But it is not obvious for me — why I need those naming conventions while we have file selection menu. Can anybody explain why?

swedenborg | 2017-11-18 20:49

If that’s the case, I doubt it’s intentional. It would be great if you could submit an issue at Pull requests · godot-escoria/escoria-demo-game · GitHub with as much relevant information as possible, since this seems worth investigating.

flesk | 2017-11-18 21:12