A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [ help ] car game

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    9

    [ help ] car game

    how to make the hero get in the car when space is presed...

  2. #2
    the thud of the body rabbitkiller's Avatar
    Join Date
    Jan 2004
    Location
    Royal Oak, Mi
    Posts
    318
    rtfm...
    Come back when you got real problem...
    world[i] = new world();

  3. #3
    Junior Member
    Join Date
    Nov 2004
    Location
    Hell
    Posts
    4

    hmm

    check the tutorials, man, this really isnt that hard..
    yo momma

  4. #4
    Member
    Join Date
    Aug 2004
    Location
    -
    Posts
    35
    Make your hero able to move only if some variable is equal to true. Then make that if you press space the variable is set false and make him not visible, make car movement variable true, make the not visible
    hero follow the car. When you push space again make player visible and his variable true, and the cars variable false. Im just a rookie but thats how i would do it

  5. #5
    Senior Member Danskeren's Avatar
    Join Date
    Jan 2004
    Posts
    263
    world[i] = new world();
    With the official programming conventions in mind, world should be uppercase, cus its an instance of a class:

    world[i] = new World();
    Possibilities are only limited by the lack of creativity...
    www.Ryer.dk
    www.ArrayPainter.com
    www.PawnStar.net

  6. #6
    Senior Member
    Join Date
    Aug 2004
    Location
    San Diego, California
    Posts
    421
    Hey Danskeren, I thought you weren't going to hang around here anymore. I guess Java doesn't have cool forums like Flash does huh? Glad you your still with us.

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