User Tag List

Results 1 to 5 of 5

Thread: Racing cars

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Racing cars

    How do you make an other player car (coputer) turn around corners smoothly?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperiOS Export ModuleMac Export ModuleSWF Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JasonDarby's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    4,938
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Racing cars

    Give the computer controlled car path movement, that can be pretty smooth.

  3. #3
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Racing cars

    Ive just discovrerd somthing random. (how to make the car turn smoothly)

    If the computer collides with an object set variable A to 1

    every 00.03 seconds
    Variable A = 1
    Variable A > 9

    Add 1 to variable A
    Set direction to cruuent direction of computer + 1
    Set animation direction to direction of computer


    Just do the opposite to make the car turn into the diffrent direction! ( -1 instead of adding)

    Sorry about the hassle

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Apr 2008
    Location
    California
    Posts
    357
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Racing cars

    I'd like to point out that you don't need to set animation direction to direction of computer, unless you are doing it manually. Although since you do have it there, it won't matter which way eaither.

  5. #5
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Racing cars

    Very funny (logical)

Similar Threads

  1. Driving Cars problems
    By Tiles in forum File Archive
    Replies: 5
    Last Post: 7th November 2010, 08:13 AM
  2. 3D Racing?
    By SuperKirby64 in forum The Games Factory 2 - Technical Support
    Replies: 0
    Last Post: 2nd December 2008, 12:46 AM
  3. Chasing Cars
    By Pleng in forum The Games Factory 2 - Technical Support
    Replies: 14
    Last Post: 23rd January 2008, 09:58 PM
  4. Making cars act more like cars...
    By GameDesigner in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd March 2007, 11:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •