I've been experimenting alot with functions and arrays lately and have encountered a problem that i can't really grasp the logic of.
A reconstruction of the problem:
(Run it in debug mode and select the array to see the problem)
The problem seems to arise when I try to store something in an array at the the exact same time as I store something else (or that is what I assume I am doing). This results in only one of the values being stored.
In my eyes it has to be some kind of bug, but undoubtedly it's surely my inexperience that blinds me from the real problem once again .
Thankfull for any kind of comments!
I think it has something to do with the picking or collisions for that matter, as text objects aren't too great for that. Text objects don't even have collision conditions.
Still it seems to be easily fixed by adding a For each object loop, like this:
Develop games in your browser. Powerful, performant & highly capable.
Thanks a bunch! Once again I'm looking the wrong way. ^^
Though I don't fully understand the need for the 'For Each Object' in this particular case (since 'collision with' should automaticly picke the right object),
but I guess it's true what you say about text objects (not built for collision).
A bit off-topic... I don't know how this would work, but I wish we had a feature integrated with the forum where we can lasso events (or an entire block of events) and then copy and paste them into the forums as a picture. I've never liked seeing them typed out, the picture always communicates better to me because it's exact in every way.
I find the pics to be so much more helpful than just text, but I think the current act of taking a screenshot, cutting the screenshot, and then uploading it to some site may be discouraging people from posting pics of event examples.