Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
in my webgl app i uploaded the content of a txt file to my site but i can't transform the txt numbers into value in my game, can you give me some tips thanks |
||||
|
this might be due to because the value might be in string format try converting them into numbers first using the javascript. for example if you have a variable which stores number as string lets suppose we have var xyz = "1234"; then you can convert that string into numbers by using something like. var abc = Number(xyz); and now when you use the var abc it will give you values in number, not in string format. |
|