Drag&Drop Kids Game in AS3 - New at Flash!
Hello everyone!
I'm developing a really simple game for kids under 5/6 about colors, and I have some questions.
I already have all visual of the game done, and all the movie clips and items created, but I'm a new user of Flash and I would like to get my work done until June 2nd, because it's part of my course.
Basically, I want to learn how to do a simple drag and drop game using Action Script 3.0. There are total 10 levels with the same "basics" of the game, and the objective is complete a puzzle with one of the options below (Fig. 1).
I have a small amount of code, and I have only the drag action functioning. So, I'll ask you some questions. (Hope you don't get me wrong with this topic. I don't want you to work for me, at all!! I just want to learn and understand how Flash works and do the things by myself. Please, don't get me wrong with this topic!)
- Comparing (maybe with "if") the position of two different movie clips;
For instance, I want to compare a movie clip which is one of the pieces with other movie clip which is a transparent rectangle in the place. After this, I must update the points variable and jump to the frame of the next level.
- Get a variable for the "points" in the upper left corner;
How can I create a points counter?
- "Call" the points variable in the end of the game;
How can I do this? (Fig. 2).
- In the end of this, I should integrate some sounds. For instance, I can try to play a sound when the level starts;
I recorded, in Portuguese, the colors to get them in this game. Is this hard to do?
Thank you so much for your time (and, of course, for your help!).
