mardi 10 janvier 2017

Dynamic Text problems while trying to make statistics in dynamic text window

I'm a newbie working on a game using Dynamic Text. It is like a statistics page displaying number count of day's, stamina, money, energy etc. Also number of items bought.

Here is the code:

stam.text = "stamina"; stre.text = "strength";

I always end up with 1120 Acess of undefined property .... I tried to put the second part in "" from second part of side it did work but not as expected. It displayed the names in-closed by "" from second part. Should I use Array with dynamic text? I'm stuck in this part. Any help would be nice.

Aucun commentaire:

Enregistrer un commentaire