A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Game help needed

  1. #1
    Junior Member
    Join Date
    May 2000
    Posts
    10

    Wink

    Hi im working on my firs game now, i've been working with flash for about 5 months and its great. Which book is the best? I have the flash bible but i understand all that i need more actionscripting... Ok to my problem:

    I have made a car that goes left and right, and on the road are rocks.I want to know how to do that the car stops when it hits the rock?

    Thanks!!

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,092

    Smile

    You need collision detection actionscript.

    The you will need to write some code that tells the car to stop if there is a collision.

  3. #3
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881

    Post

    i would recommend flash 4 magic found out more about it at www.actionscript.com as far as hitting the rocks is concerned you will need a simple script inside a movie clip that constantly loops to check if the car collides with the rock if it does then it will activate another line of code that tells it to stop moving!! for the script e-mail me guywatson@btinternet.com or icq me 71063418 and tell me the instance names of the car and the rocks and i will sort it for you!!

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