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
Game development stories & opinions
Having a few issues with tokenat. Please see the capx.
In event sheet 2, any reason why Array.At(0) is not being set to 5.
Because Array.At(0) is 0 when you set text 2. You set array.at(0) to 5 only after that.
I'm setting it to text3
if you don't use tokenat this issue doesn't happen.
In event sheet 2 there is no tokenat, but now I see what you meant.
Encapsule the tokenat expression with int() or float(). This will convert the string "0" to the number 0 (int will round to whole numbers, float will keep decimals)
I like the sound of that. Away from my desk so can't test. Is it working for you? Thanks a lot.
Yes it works.
Nice. Have to say I'm really impressed with construct. Going to get a license asap. Thanks for the help.
Develop games in your browser. Powerful, performant & highly capable.
yep it works. cheers mate.