Gui node text will be invisible error

#1

Hi, I am Geeth… Can anyone tell me the reasons to gui node text will be invisible when i click a button of any collection(not main collection) …

I can not think about that but it is…

0 Likes

#2

Are you saying the text node becomes invisible when you press the button? Are you referring to a keypress or a gui button?

0 Likes

#3

What does your GUI look like? A combination of text and box nodes? How are they structured?

Are you manipulating the boxes using any of the gui functions?

Any errors in the console?

0 Likes

Gui node text will be invisible when running
#5

Happy to hear that you managed to solve it. What was the problem?

0 Likes

#6

Hi, I am Geeth.

zip: Norm_game (2).zip (318.2 KB)

  1. Download the zip given above and unzip it.
  2. Open the game via Defold.
  3. See the symbols of game.gui . ( +, -, /, * )
  4. Now, Build the game or debug.
  5. Click the “/” button. ( bedi_symbol )
  6. Then, swip 25 to left. ( then, it will be divided by 3 ).
  7. Now, tell me why the symbols of gui component will be invisible ?

thanks.

1 Like

#7

the error came again. :cry:

0 Likes

#8

please solve this problem…

0 Likes

#9

We’re investigating

1 Like

#10

Ok… :blush:

0 Likes

#11

@britzl, couldn’t fix the error yet?

0 Likes

#12

No. There’s a problem somewhere in the font rendering code which seems to get triggered in your project. I have isolated it down to a bare bones project here: font-issue.zip (117.7 KB)

The problem manifests itself while the additional bedi_symbol1 text node exists in the game.gui file. If that node is removed it works. It also works if label.set_text() isn’t called in 4_tile.script. None of this is obviously acceptable, but this bare bones example will help us debug the problem.

When we find the issue we’ll include it in the next release where the beta is scheduled for the 26th of October.

2 Likes

#13

Ok, but when i change the resolution of the font-issue project that you gave, the all of numbers created newly in another positions. how do i fix it?

0 Likes

#14

It’s a test project. I ripped everything out to get a minimal project. Don’t bother fixing anything.

0 Likes

#15

Ok, tell me clearly is this the problem of my code or the problem of engine?

1 Like

#16

It is a problem in the engine

0 Likes

#17

Mmm, I am waiting for the new release…
thanks @britzl for long chat…

1 Like

#18

Hi @britzl, I am Geeth (Grass_dev)…
I think you already found the error of Gui which I told. So, did you fix that?

Britzl, I viewed my 4_tile game project again and again, then I saw that the alpha of numbers of tiles and symbols(*, +, -, /) will be changed. So, i think this will be useful to fix the error…

1 Like

#19

@britzl, Did you find the error?

0 Likes

#20

Not yet. Other tasks have taken longer than expected.

0 Likes

#21

Oh no, So Do you mean you couldn’t fix the error on new beta release that you said? I am sad. :cry:
really sad…

0 Likes