A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Need Help With Car Game!!!

  1. #1
    Junior Member
    Join Date
    Nov 2004
    Posts
    1

    Need Help With Car Game!!!

    Hi, I've been using flash for a while, but this has really stumped me. Im trying to make a GTA type game. Everything is still in the beginning stages at the moment, but i cant get the driving code to work properly. When you turn the car it jerks the screen. you'll see what i mean if you get the file attached. PLEASE HELP!!!
    Attached Files Attached Files
    Is not my Word like fire and like the Hammer that shatters the rock? Thrust in your Sickle and reap, for the harvest of the Earth is ripe.

  2. #2
    CS:S (USER ) ŞњΪŦ Ǒƒ ₣أҐέ
    Join Date
    Jun 2005
    Location
    WI
    Posts
    25
    Getting in and out
    [CODE]onClipEvent (enterFrame) {
    if (_root.ride == 1) {
    if (Key.isDown(Key.ENTER)) {
    _root.character._visible = false;
    _root.character._x+=15;
    _root.ride = 0;
    }
    _root.character._x = _x;
    _root.character._y = _y;
    if (Key.isDown(Key.SHIFT)) {
    _root.character._visible = true;
    _root.character._x-=90;
    _root.ride = 0;
    _root.ride._visible = false;
    }[CODE]
    all you have to do is give your character the instence name of character and for your car car and you can make your guy get out and for your driving your doing things more complicated.
    Haha you ate a bullet

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