Dialogues

Started by Daniele82, Tue 28/09/2021 15:55:35

Previous topic - Next topic

Daniele82

Do you know why the dialogues move downwards after saving or loading?  (roll)

If I play without saving the dialogues are perfect.  (nod)
Video Game Developer / Retro Games
The Pixel art is creativity and does not belong to the past but exists and will exist forever.

SITE : https://danielespadoni82.blogspot.com/

Crimson Wizard

#1
Please elaborate, are you refering to working in the Editor, or running the game? By "dialogues" do you mean dialog topics, GUI, speech lines, something else? Please describe what exactly is happening (maybe post some screenshots).

Daniele82

The dialogues of the characters. (I also use the characters for some scripts for the cut scenes.)
When the character is at x = 0 and y = 0 the sentence that is displayed drops slightly downwards. (only after saving or loading)
Video Game Developer / Retro Games
The Pixel art is creativity and does not belong to the past but exists and will exist forever.

SITE : https://danielespadoni82.blogspot.com/

Crimson Wizard

#3
Quote from: Danele82 on Tue 28/09/2021 17:17:36
When the character is at x = 0 and y = 0 the sentence that is displayed drops slightly downwards. (only after saving or loading)

Do you mean that right after you click "save" button the speech begins to display lower than usual?

Which speech style do you use in your game (Lucase Arts, Sierra, other)?

Can you perhaps post a screenshot from your game to make it easier to understand the problem?

Daniele82

#4
Quote from: Crimson Wizard on Tue 28/09/2021 19:06:12
Quote from: Danele82 on Tue 28/09/2021 17:17:36
When the character is at x = 0 and y = 0 the sentence that is displayed drops slightly downwards. (only after saving or loading)

Do you mean that right after you click "save" button the speech begins to display lower than usual?

Which speech style do you use in your game (Lucase Arts, Sierra, other)?

Can you perhaps post a screenshot from your game to make it easier to understand the problem?

Yes, right.
At the moment I don't have time to create previews.
can you understand the problem?
Video Game Developer / Retro Games
The Pixel art is creativity and does not belong to the past but exists and will exist forever.

SITE : https://danielespadoni82.blogspot.com/

Crimson Wizard

Quote from: Danele82 on Tue 28/09/2021 19:17:27
can you understand the problem?

No, not really. Saving itself should not have any impact on how speech is displayed. This may probably have something to do with the game GUI.

Also, speech may behave differently depending on how it's done (is it one of the default styles, or custom style coded in script).

Daniele82

Quote from: Crimson Wizard on Tue 28/09/2021 20:17:16
Quote from: Danele82 on Tue 28/09/2021 19:17:27
can you understand the problem?

No, not really. Saving itself should not have any impact on how speech is displayed. This may probably have something to do with the game GUI.

Also, speech may behave differently depending on how it's done (is it one of the default styles, or custom style coded in script).

The base of the game is default but the Gui have been customized.... but the characters have nothing to do with Gui at least I think.
Video Game Developer / Retro Games
The Pixel art is creativity and does not belong to the past but exists and will exist forever.

SITE : https://danielespadoni82.blogspot.com/

Crimson Wizard

Could you at least tell what speech style are you using?

Khris

Afaik, visible GUIs near the top of the screen move speech down.

There was a similar issue with the black bar that the Maniac Mansion Mania games have at the top of the screen; it wasn't part of the backgrounds but an actual black GUI, and the engine would move LucasArts style speech text near the top of the screen down so it wouldn't appear on top of the GUI. IIRC only speech near the top of the screen is affected; this might be some hard-coded behavior put in due to the Sierra icon bar.

The GUI is called gBorder in the MMM templates, so if you're using those, check your code for that GUI being turned on / not being turned off.

Daniele82

Quote from: Khris on Tue 28/09/2021 21:28:41
Afaik, visible GUIs near the top of the screen move speech down.

There was a similar issue with the black bar that the Maniac Mansion Mania games have at the top of the screen; it wasn't part of the backgrounds but an actual black GUI, and the engine would move LucasArts style speech text near the top of the screen down so it wouldn't appear on top of the GUI. IIRC only speech near the top of the screen is affected; this might be some hard-coded behavior put in due to the Sierra icon bar.

The GUI is called gBorder in the MMM templates, so if you're using those, check your code for that GUI being turned on / not being turned off.

I checked I don't have any GUI with that name.  (roll)
Video Game Developer / Retro Games
The Pixel art is creativity and does not belong to the past but exists and will exist forever.

SITE : https://danielespadoni82.blogspot.com/

Daniele82

#10


Before you have saved or loaded the game...



After saving or loading the game...

( only when the character is at x = 0 and y = 0 )


Problem solved.
Actually they were GUIs not created by me that were activated by clicking F5 F7 and F9



Video Game Developer / Retro Games
The Pixel art is creativity and does not belong to the past but exists and will exist forever.

SITE : https://danielespadoni82.blogspot.com/

Crimson Wizard

Well, this is kind of weird.

How do you save the game exactly, do you have to open some menu, or this also happens if you use a key shortcut?

Quote from: Danele82 on Wed 29/09/2021 06:41:09
( only when the character is at x = 0 and y = 0 )

Maybe a dumb question, but does this mean your character is placed offscreen for some reason? 0,0 is top-left corner, and characters are drawn above their coordinates.

Daniele82

#12
Quote from: Crimson Wizard on Wed 29/09/2021 06:54:38
Well, this is kind of weird.

How do you save the game exactly, do you have to open some menu, or this also happens if you use a key shortcut?

Quote from: Danele82 on Wed 29/09/2021 06:41:09
( only when the character is at x = 0 and y = 0 )

Maybe a dumb question, but does this mean your character is placed offscreen for some reason? 0,0 is top-left corner, and characters are drawn above their coordinates.

Because I use invisible characters for the cutscenes.
Video Game Developer / Retro Games
The Pixel art is creativity and does not belong to the past but exists and will exist forever.

SITE : https://danielespadoni82.blogspot.com/

Khris

Yeah, maybe next time check before rolling your eyes at me.

Also, if CW (who is investigating stuff like this on a daily basis and has put tons and tons of work into AGS) is asking for clarification, why would you post the exact same comment again?

Daniele82

#14
Quote from: Khris on Wed 29/09/2021 07:22:14
Yeah, maybe next time check before rolling your eyes at me.

Also, if CW (who is investigating stuff like this on a daily basis and has put tons and tons of work into AGS) is asking for clarification, why would you post the exact same comment again?

Keep calm, Because I was wrong to paste the message.  (laugh)

I use google translate to write.
I'm italian.
Video Game Developer / Retro Games
The Pixel art is creativity and does not belong to the past but exists and will exist forever.

SITE : https://danielespadoni82.blogspot.com/

SMF spam blocked by CleanTalk