A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: [help] FlashTheft Auto =D

  1. #1
    Junior Member
    Join Date
    Nov 2005
    Posts
    5

    [help] FlashTheft Auto =D

    Alrite, heres the story

    I'm pretty new to flash and started work on my first flash game ever, its a big project to take on but I have learnt alot doing it.

    I'm making a game based on the early versions of the Grand Theft Auto games (the top down view ones) and have done pretty well with it upto now, I have got the character to walk around, be able to enter and exit cars and drive the cars.

    The problem that I'm facing is the animations of running and entering/exiting cars (if that makes sense?)

    I'm using sprites from the game, and want to know how I can have an animation run ONLY at the correct times (only when character is running, not standing still and only when character is entering or exiting car, not when the car is stationary or driving) instead of either constantly or not at all.

    Any help with this would be fantastic!

    thanks in advance
    Daz

  2. #2
    Senior Member
    Join Date
    Aug 2005
    Posts
    225
    Sorry for the no help relpy but im just wondering how you did the birds eye walking animation. Are you just good at art or did you see how to do it in a tutorial or something. Im making a birds eye game too but I SUCK at birds eye walking.

  3. #3
    Insignificant Member Joshman_123's Avatar
    Join Date
    Nov 2004
    Posts
    395
    ^ Draw a head, then make arms swing on either side of the head and the legs move back and forward somewhere in the middle.

    To the original post; I'm guessing you just found ActionScript in another forum for the parts you have so far, and you want to build on that. I recommend you don't. I was exactly the same so don't worry but if you're really keen on making this game, do some tutorials.
    I have like, a gazillion posts on my other account.

  4. #4
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    your man should be set up as follows:

    main clip {

    animation clip {

    labels - add labels to each frame - ("stand","run","jump","shoot","death")

    animation - add animation movieClips on corresponding frame lables.

    }

    }

    name the animation clip "anim"

    you can now control the animation by using: man.anim.gotoAndStop("run").

    simple usage:
    code:

    man.anim.stop()
    onEnterFrame = function(){
    man.anim.gotAndStop("stand")
    if(Key.isDown(Key.RIGHT)){
    man._rotation = 90
    man._x += 5
    man.anim.gotoAndStop("run")
    }
    }

    lather yourself up with soap - soap arcade

  5. #5
    Junior Member
    Join Date
    Nov 2005
    Posts
    5
    Helpmeplz i did exactly as joshman said :P

    Thanks mr_malee I shall try that script in an hour or so when I'm home

  6. #6
    It's true..I brought sexy back smith1302's Avatar
    Join Date
    Sep 2005
    Location
    here
    Posts
    343
    heres a little prototype i made with a birds eye view walking

    http://www.freewebs.com/smith1302/
    Hey check out my arcade sites!
    Ninja Games | WW2 Games

  7. #7
    Junior Member
    Join Date
    Nov 2005
    Posts
    5
    I like that

    At the moment I have something along the same lines...I'm still working on it though
    I have decided to scrap the script i was using before and start a fresh, hopefully I'll have more luck with this one

  8. #8
    It's true..I brought sexy back smith1302's Avatar
    Join Date
    Sep 2005
    Location
    here
    Posts
    343
    well its sounds interesting.

    maybe one day ill finish mine. lol

    Hey check out my arcade sites!
    Ninja Games | WW2 Games

  9. #9
    Senior Member
    Join Date
    Aug 2005
    Posts
    225
    Quote Originally Posted by smith1302
    heres a little prototype i made with a birds eye view walking

    http://www.freewebs.com/smith1302/
    hee hee. cool

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