Hello Scirra Universe!
Let me start by saying that I am currently using the free version, once this issue is resolved, I can finally buy the full version (yay!)
I have a question, which I am completely embarrassed about having to ask (especially because it is probably something stupidly easy). I just cannot figure it out no matter how much I play around with it or how much I search on the topic, but here it goes:
I have this lovely template that was posted quite a while back, that allows me to make a quiz-type of game. I was able to use it just fine for one of my level types, but now I am having an issue with my next level type.
I have two sprites: QuestionSprite (22 frames)
AnswerSprite (2 frames-current level)
(The sprites are linked through arrays: ArrayTrivia,
ArrayCorrectAnswer, ArrayQuestionOrder)
In my previous level type, QuestionSprite would appear, and the player would click the AnswerSprite that matched the QuestionSprite. After each click both the QuestionSprite and AnswerSprite would change animations.
For my new level type, QuestionSprite will be spawned from 4 different spawn points, each animation will be random, and will move from top to bottom. When AnswerSprite shows an image, player will click the QuestionSprite that matches. AnswerSprite should continue randomly changing animations, while QuestionSprite should never change.
So here is my problem: QuestionSprite won't come up randomly, at all, no matter what I try. Every animation coming from the spawn points is Animation 0 (so instead of seeing different animations, its all the first animation in my sprite). I have tried using random(does nothing), int(random) (flips through animations too fast to see them), choose (which I knew wouldn't work, but what the heck right?). Also, if I try .width on any of them, or .animationframe, it either flips through too fast, or creates issues with AnswerSprite and QuestionSprite matching.
I have been working on this for a while now (too long to say, because I am really ashamed I couldn't figure it out). If anyone out there could help me, I would appreciate it more than you could ever imagine! I look forward to hearing something soon (hopefully ) Thanks!!!