A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [Beta] My second game ever. Very fun!

  1. #1
    Senior Member
    Join Date
    Aug 2003
    Posts
    438

    [Beta] My second game ever. Very fun!

    http://www.geocities.com/nmgwebsite//betagame.html
    Here is the second game I have made in flash. The first was the same, but not random. After thinking a little, I relized how to make the numbers random.

    Read the instructions, and have fun!!

    PS: Please report any bugs that you find. Thanks!
    Last edited by Scorpion990; 03-16-2004 at 05:04 PM.

  2. #2
    Ihoss
    Guest
    the numbers seem to twitch a little. its like they're not certain what to chose, and then change for half a second or something. that makes it very hard to hit the right key. try fixing that, and the game will be a lot better.

  3. #3
    Senior Member
    Join Date
    Aug 2003
    Posts
    438
    Oh.. I know why that happends..happens

    The 2nd frame will chose either
    frame 2 (randomly chooses)
    frame 3 (number 1)
    frame 4 (redirects to frame 2)
    frame 5 (number 2)
    frame 6 (redirects to frame 2)
    frame 7 (number 3)
    frame 8 (redirects to frame 2)

    So.. if frame 2 takes you to either frame 4, 6, or 8 more than once in a row, the numbers will flicker..

    Hmm..
    I can fix that, but I need to know how to randomize the "gotoAndPlay" code so it can go to 3 specific frames.

    For example, when frame 2 is triggered, I want it to go to either frame 3, 5, or 7. Is this possible? Thanks

  4. #4
    Member
    Join Date
    Jan 2004
    Location
    Ontario,Canada
    Posts
    76
    this just a shot in the dark here but would :

    if([_root.MC._currentframe]==2){
    _root.MC.gotoAndPlay(3);
    }

    work?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center