Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm newly started to Consturct2 and I need to typecast an ascii value to letter.For example 65-->A ,I cant find the solution so I need typecasting but I dont know how to do?
Bad topic bro -,- this is construct classic topic....
You could use a dictionary object and make a conversion table. Instead of adding each key,value pair individually I would do it all at once with the "load" action of the dictionary object to load a JSON string.
Thanks you very much R0J0hound, I learned many new things , thanks . .
I have the opposite problem in Construct Classic. I have to convert one-character strings to their ASCII values; 0 -> 48, A -> 65. How could I do this without having to create dozens of comparation events?
First you would place all the characters in a string, in order to the number you wish to compare, then use GetToken(String, Index, Separator) in a loop.
So basically GetToken(yourString, loopindex, ",")
What if the characters are not separated by anything like "ZXCQWER00001000000959599595995959959590000000ASD" or "1013600163194740998124450345017503431720620090004510408"?
Develop games in your browser. Powerful, performant & highly capable.
Got it! Used a hash table!