How should organize set of coding, the name of the game "I lost my business.

Hello.

I try to study as3 and plaing with the creation of some simple programs...

And now, I want to create a game. The main idea is to find something (e.g. boxes). He worked as:

1. you see on the screen and you have to mind yellow box

2. after that, you go to the screen where you see a lot of boxes, and it must search box in your mind

3. If good you go to the screen 3 see where the words '' correction '' and you get 100 points, and after that, go to 1 screen where you have to look for new box, and this will continue for example 5 times, until you get 500 points and after this game is over.

4. If your answer is not correct, you need to see the screen 4 bad box + text 'wrong' and shure you don't get 100 points, after that, you must go to the 2 screen and try again. until your answer will be correct.

This is one stop more understandible:

scheme.png

I want advice how can I organize it?

Also possible first time I put boxes, second time I put rectangles, etc... so I am planing to change the shape of boxes...

How can I organize it all? May need to create 4 main functions for all of the screens? Or maybe need to keyframes on the timeline? So any advice be ok for me :)

I am not planing use classes and objects because it is difficult for me now :)

Thans for everyone!

Wow I applaud your efforts.

If you feel uncomfortable with AS enough you could scroll through the code, I recommend you go with Andrei1approach.  The time line is more advisable.

Code Andrei1is at least able to do with 1 setting and has been divided into several pieces, which is great for when you want to take this game and start rewriting of OBJECT-oriented way.

When the code is smaller, it is easier to manage.  The only thing I would say is to paramaterize aspects that Andre does not.  In this way, you can move the table from the method having to know a total array of arrays.

Tags: Adobe Animate

Similar Questions

  • How to install flash player for the game application "raptr"?

    How to install flash player for the game application "raptr"?

    Hello

    If you want to install flash for any browser just visit http://get.adobe.com/flashplayer/ as soon as the browser and click on 'Install now' to install flash player for this browser.

    But since I have concluded that raptr is a standalone game raptr support team would be the right contact who can guide you though what Flash player plugin they use in their game. And that's what I found on support there page Raptr wants me to download 'Flash for other browsers. Where I don't get that? : Raptr support

    You can follow the steps on this link, I hope this will solve your problem.

    Varun-

  • I want to reinstall the game freecell lost my computer

    I want to reinstall the game freecell lost my computer

    Hi Charles,

    ·         Have you played the game earlier?

    ·         You did changes to the computer before the show?

    Verify if the set is disabled Windows components. See the following article to add the game.

    How do I add or remove games in Windows XP

  • How should I do to have the dock visible in full screen?

    What should I do so that the dock will be visiblle in fullscreen?

    Fullscreen in Safari seems to activate the option to hide the dock when not in service on weather or not, he was selected for the user. What is the problem you are having? If so it seems to be a design behavior.

  • How can I set one of the buttons on MS Explorer Touch Mouse double-click?

    I have a MS Mouse older 5000 and there is an option to set one of the two buttons on the side of double click.  I like this feature but can't find a way to do it on the Explorer Touch Mouse.

    Hi Mark,

    Thanks for posting your query in Microsoft Community.

    From the description of the problem, want to set buttons double click of the mouse. I'll be happy to help you on the issue.

    Let us try the steps from the following link:

    Change the mouse settings (to change the operation of the mouse buttons)
    http://Windows.Microsoft.com/en-us/Windows7/change-mouse-settings

    I hope this helps! Let us know if you have problems with Windows in the future.

  • How can I request upgrades for the game hearts on msn

    A game loved by thousands of people is to be spoiled by a few brainless who find it easy to stall, swearing, obscene suggestions, etc.. So under mining the majority who want to just get on with the game... All this when the laws of the game that these vermin respondent will be void of the game after a reasonable period of time. Second, I noticed that it is well behaved that are actually penalized by that regulation.

    I also think it would be good to know how the real score is determined as at the moment you don't really know when 100 is reached, how your score was set.

    Can somebody tell me how to reduce my guard score when I'm not acutally play I'll never reach 2,500 at this rate.

    Hi zakorian 1,

     

    You can contact MSN support for assistance on the issue. Refer to the link below and check-

    http://support.Microsoft.com/kb/940784

     

    I hope this helps.

  • How to Pause and re-activate the game?

    So I made a function that allows the player to hit the button 'p' that will change the framerate of the game:

    If (keys [80])

    {

    If (game_paused == "false") {}

    stage.frameRate = 0;

    game_paused = "true";

    }

    If (game_paused == "true") {}

    stage.frameRate = 30;

    game_paused = "false";

    }

    }

    The problem is when the key is pressed, the game seems to double the framerate, like 60 or maybe even higher than that. I have no idea that why, I do not see how the EQUAL 30 framerate would make go TOP... ideas? Thank you.

    If it's based on the code, then chances are that you need dealing with disabling everything which deals when you click on the pause button.  It can become quite complex depending on how much you have going on at any given time.  You might be able to simplify some of them, if you build in the code if necessary conditional that checks if a variable break is set or not...

    if(!game_paused) {code that processes when running the game}

  • How can I download and reinstall the games window

    my games windows vista folder is empty, how do I reinstall, the computer was purchased from best buy and didn't come with program records.

    Hi DC_1225,

    Here is a site that gives this information: http://windows.microsoft.com/en-US/windows7/Working-with-the-Games-folder

  • How is it possible to reset the game Burble Place from beginner, intermediate or advanced?

    Hello

    My son likes to play instead of Burble games and has fairly well mastered the beginner... There are other levels (intermediate and advanced).  I tried to reset the level, but when he enters one of the Burble games after resetting the scores, it is always configured for beginner - I would have thought I could choose a new level as intermediate or advanced... but no option to be able to do this...

    any ideas?

    Thanks in advance...

    Laptop HP ENVY 17-j005tx, HP ENVY 27 - k001a, HP ProLiant MicroServer Gen8 G2020T, HP MediaSmart EX495 Server tilt, HP MediaVault 2020, HP ENVY 120 AiO Printer

    You must open the game first. Then you can select the game in the menu at the top, then press Options. Make sure you click OK.

  • How can I set up my user name? I found the

    change the password under administration function in the configuration of the router.  So now my username is empty and then I get my password to log in to the router.

    NM

  • I have not yet found a solution to my problem of how to organize my emails in the order deceding in my Inbox and all the files that I save emails from various sources.

    Can someone tell me how I can arrange my incoming emails in my Inbox and folders should I save emails from various sources? I tried to click on the star, but it does not work. Help!

    Click on the heading of column titled DATE. This indicates that the primary sort column. Click on DATE again to reverse the order.

    It works on any column in any folder.

    Edit: You need to read my response to the first time that you asked this question? There is no need to ask the same question over and over again in a new thread.

    https://support.Mozilla.org/en-us/questions/1005910?ESAB=a & s = & r = 2 & s = ACE

    Here's another time that you asked this question and marked it resolved. What is happening with this?

    https://support.Mozilla.org/en-us/questions/992000?ESAB=a & s = & r = 4 & As = s

  • How can I set an at the entity level validation rule

    Hi all
    I have a table that contains CompanyId DepartmentId, PostionId and PositionCode etc.
    I have to create a form to add new Postions in companies and departments.
    And I have to fix a contrint at the level of the entity such as group two number of records in this table have the same companyId and PostionCode information
    That's a companyId should not any document which is to have several codes Postion. Always the CompanyId PostionId combinaisondes must be unique.
    So I set a constraint in the entity level, I think that Yes...
    Please help with this problem...

    Thank you and best regards,
    Ranjith C

    create a key to spare for the CompanyId and PositionCode information...
    Have the validation of the key unique to the entity level...
    http://www.gabrielsideras.com/2010/09/28/ADF-unique-key-validation/
    http://andrejusb.blogspot.com/2011/07/unique-key-validation-for-lov-based-on.html

  • OK I can't access the internet cause my connections are all messed up up.so, how should I do to change the original settings so I cam surf the internet using XP Home edition

    I'm trying to set up a connection to the local network, but when I go through the sound Wizard not to catch a connection any help is greatly appreciated

    Hello

    -What changes have been made to your computer before the show?

    Follow these steps and check if the problem persists.

    Step 1:

    Repair winsock

    a. Click Start > RUN, type "netsh winsock reset" and then click OK.
    b. command line flashes and then you can restart your computer.

    Step 2:

    Reset the TCP/IP settings.
    http://support.Microsoft.com/kb/299357

  • How to organize my scripts in the menu drop-down?

    I have a lot of scripts for AE and the drop-file > scripts becomes very long, making it harder to find what I want. Is there a way to organize the files in the script .jsx file so that they will appear in the subfolders in the after effects menu drop-down?

    You can not. They are rigorously sorted alphabetically without all records. You could try a range of script Launcher such as you can find them on the respective sites of scripts (AEScripts.com etc.)

    Mylenium

  • How should I enter symbols like the Euro symbol or e with a top colon?

    Is it possible to allocate sequences of shortcut to the symbol as the symbol of the Euro or e with tilda or 2 points above?

    Found!
    Use 'enter' buttons 'characters and symbols' to find the required symbols.

Maybe you are looking for

  • What is the bookmarkbackups folder for?

    There a bookmarkbackups folder in profile directoryWhat is the bookmarkbackups folder for?delete the file inside?

  • Leave comments / contact developer on Android Market for Xoom

    I must say that I like how they changed the market for the experiense of the Tablet, but could not find the place where I can leave a comment and rate the apps that I downloaded. Does anyone have an idea if its possible to make the Xoom and if so whe

  • Main vi sharing of sub vi with call-by-reference - how?

    Hello as mentioned in another thread (http://forums.ni.com/ni/board/message?board.id=170&thread.id=390355), I have a main vi with a stop button and a under vi, who needs a few seconds to complete. During the execution of the Sub vi, I want the stop b

  • HP 2009f: HP 2009f a lines flickering blue and pink on some areas monitor

    HelloAs I type this, I see the flickering blue (or points, not sure) around the screen lines. It could be anywhere, but I noticed that it only shows that upward on whitish areas for the blue lines/points at least, for pink points/lines I think they a

  • Transform error during installation

    I'm trying to reinstall Adobe Acrobat 11 on my machine under windows 10. I get the error of processing and check the path, but there is nothing that allows me to navigate or tells me that is the path or how to find the path, etc. This is a mistake of