Page 1 of 1

[solved] textbox not showing up?

Posted: Sat Oct 06, 2018 11:15 pm
by chungy
Heyo, I've asked this a few times in the descord server but most people don't know how to fix this! The normal textbox is showing up, however my narrator textbox isnt. Heres my code for the textbox;

Code: Select all

define n = Character("",  window_background="gui/textboxnb.png",  ctc="ctc_anchored", ctc_position="fixed",)
tried removing the ctc code to see if that's the issure (it's not), tried moving the textbox to images or just the game folder (didn't work), also tried adding a name to see i if that did anything and it didnt :/

theres no error btw! the image just isn't showing up so i'm not even sure where to look!

maybe the code is a little out of date? Hope someone can help, thank you!

Re: textbox not showing up?

Posted: Sun Oct 07, 2018 3:01 am
by Per K Grok
chungy wrote: Sat Oct 06, 2018 11:15 pm Heyo, I've asked this a few times in the descord server but most people don't know how to fix this! The normal textbox is showing up, however my narrator textbox isnt. Heres my code for the textbox;

Code: Select all

define n = Character("",  window_background="gui/textboxnb.png",  ctc="ctc_anchored", ctc_position="fixed",)
tried removing the ctc code to see if that's the issure (it's not), tried moving the textbox to images or just the game folder (didn't work), also tried adding a name to see i if that did anything and it didnt :/

theres no error btw! the image just isn't showing up so i'm not even sure where to look!

maybe the code is a little out of date? Hope someone can help, thank you!

I have tried to run your code and it worked without any problem for me.

You do have an extra unnecessary ',' after ctc_position="fixed", but the code runs with or without it.

I don't think your problem is due to this line of code.

Does the dialogue text show up? Is it only that the background image don't show up? In that case I would suspect that the problem is with the image file as such.

Re: textbox not showing up?

Posted: Sun Oct 07, 2018 10:23 am
by chungy
Per K Grok wrote: Sun Oct 07, 2018 3:01 am
chungy wrote: Sat Oct 06, 2018 11:15 pm Heyo, I've asked this a few times in the descord server but most people don't know how to fix this! The normal textbox is showing up, however my narrator textbox isnt. Heres my code for the textbox;

Code: Select all

define n = Character("",  window_background="gui/textboxnb.png",  ctc="ctc_anchored", ctc_position="fixed",)
tried removing the ctc code to see if that's the issure (it's not), tried moving the textbox to images or just the game folder (didn't work), also tried adding a name to see i if that did anything and it didnt :/

theres no error btw! the image just isn't showing up so i'm not even sure where to look!

maybe the code is a little out of date? Hope someone can help, thank you!

I have tried to run your code and it worked without any problem for me.

You do have an extra unnecessary ',' after ctc_position="fixed", but the code runs with or without it.

I don't think your problem is due to this line of code.

Does the dialogue text show up? Is it only that the background image don't show up? In that case I would suspect that the problem is with the image file as such.
It's just the textbox,the dialogue comes up fine (and if i added a name that also comes up fine.) I'll check my image again to see if it works, but it seems pretty fine on the surface tbh?

edit; yeah, image looks fine and moving it to different folders/changing the folder name does nothing :(

edit again: the cropping was super whacky, so i found out the issue! ty!