I have a sprite with 10 frames and 10 text fields with numbers in words. Wanted to know how I can do to check if a sprite set with frame 5 is overlapping a text field with the word "five"? I know that if I used separate sprites would be simpler, but I want to see if I can do this with frames. Thank you.
Develop games in your browser. Powerful, performant & highly capable.
sprite is overlapping textbox
textbox.text = "five"
sprite frame = 5: do stuff
use a dictionary to connect numbers with typed numbers if you wanna use a more general expression
I did exactly that and it didn't work. I discover the reason after: I put it all under "Trigger" event. Thanks anyway.