A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: frog game

  1. #1
    Board Supervisor
    Join Date
    May 2003
    Posts
    51

    frog game

    i have a frog game and i want it so when you click on the frog his tounge will stick out and if a fly is there it will keep track of your score and the fly will disappear. i am farly new to SWISHMax's scripting and i dont really know how to code any thing so can some one help me out??

  2. #2
    Board Supervisor
    Join Date
    May 2003
    Posts
    51

    possible??

    any help out therer???

  3. #3
    Board Supervisor
    Join Date
    May 2003
    Posts
    51

    is it possible

    is it possible? or am i not giving enough info? forum?? no one??

  4. #4
    Senior Member Dead Rabbit's Avatar
    Join Date
    Oct 2002
    Location
    Back in Tampa FLA again - and happy!
    Posts
    2,403
    Patience, Grashopper, patience... It's dinner time here.

    As for the question, that is a very, very broad statement. The goal is amiable, but I would suggest starting out by learning the software a bit, learning a bit about animation, then working on the scripting.

    Start with the graphics. Find or draw a frog, a tongue and a fly, then see if you can get them to move the way you want. Once you have that, then start looking to control the objects and finally, to keep score.
    While changing my profile, I accidentally clicked the link that said
    "Add 'Dead Rabbit' to your Ignore List"
    so now I can't talk to myself anymore...

    The Repository -:- The Forum

  5. #5
    Board Supervisor
    Join Date
    May 2003
    Posts
    51

    i have the

    i have the animations down pact. but i just dont know how to make something show without stoping the frame before....

    i have fly's flying around and when i click to make the frogs tounge show the flys stop..

    im in a VB class now and i was wondering is scripting like vb examples:

    image1.visible = true
    or
    if image1.visible = true then
    image2.move
    end if

    -----------------------------------

    any thing like that??

  6. #6
    Senior Member Dead Rabbit's Avatar
    Join Date
    Oct 2002
    Location
    Back in Tampa FLA again - and happy!
    Posts
    2,403
    For now, stick with the visual animation. Learn how to use sprites to keep things in motion. You can start by reading Sprites 101 and Tell Target Does What??

    You can have a fly buzzing around in a sprite, them move the sprite using Tell Target Transform actions or scripts. Once that's in place, you can let loose with the math.

    The Math & Physics Forum here at FlashKit is an excellent resource.

    Good luck!
    While changing my profile, I accidentally clicked the link that said
    "Add 'Dead Rabbit' to your Ignore List"
    so now I can't talk to myself anymore...

    The Repository -:- The Forum

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