I want to do the same thing in GDevelop, but I don’t how to to make the result appear in a textbox.
I tried this
but it shows this
Can you show me how to do it correctly?
You can access the scene variables and update the values from JS:
Hello luxako, You have declared the variables and assigned them before calculating their value. Place your two lines runtimeScene.getVariables() at the end of the code. I think you should be satisfied with this.
Best regards. Alexandre
@APardaillan I tried it and it worked! Thank you so much!
Also, @steliosm your username is Greek. Are you from Greece?
Hello, i’m not greek, i am French man. Have a nice day. Alexandre
Yes, indeed, I’m from Greece.