PDA

View Full Version : flash game



anju1821
June 1st, 2010, 11:36 PM
Hi All,
I want to implement a game having this functionality. Have 26 movie clips on stage displaying from A - Z, a text field as well as a submit button. the user can type in any word in the text field by selecting the corresponding movieclips ( for eg: for typing in hello , the user needs to click the h - e - l- l - o movieclips ) . the user then clicks the submit button. on clicking submit button, the applicaion generates 5 movieclips all jumbled up ( the no of movieclips generated depends on the number of letters in the word the user types) . these movieclips are jumbled up. for eg : l - e - l- e- h. these movieclips should be draggable. the users job is to arrange the movieclips on stage to make a word and then click the check button. on clicking check, the application checks if the word is similar to the word the user had submitted b4.. can someone please guide me on this.. ny help is appreciated..

Strider64
June 2nd, 2010, 04:25 PM
I first would write what you did in stages, but make it a little bit more friendly.
Example

1. Get 3 Eggs
2. Get 1 Bowl
3. Pick up 1 Egg
4. Crack Egg On Bowl
.
.
.
10. Serve Omelets

Second I would draw a flow chart of the logic behind the game, Thirdly I would draw up some thumb nails to see how you want you game to look visually.

Then write the code using rough graphics (example a box with a letter A in it) for the Movie Clips, you don't need fancy graphics until you have the code running right, plus after you have the code running smooth it's pretty fun making fancy graphics and animations for the game. From reading your description I say that you will be needing about bunch of addEventListeners, use random numbers, input boxes, dynamic boxes, etc, use timers, etc... The more planning you do before coding the less likely your code is going to look like spaghetti and cause you a bunch of problems.

dandylion13
June 2nd, 2010, 04:55 PM
Hello, and welcome to Kirupa!

That's a big project.
Have you done any work on it yet?
How much AS3.0 do you know?