User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Race Car Movement Substitution

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Merrie's Avatar
    Join Date
    Jun 2006
    Location
    VA
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Race Car Movement Substitution

    I am working on a little top down racing game but seems the default racecar movement is a bit goofed up. What movement, settings would be suggested to do a race car movement?

    The car would be player controlled, and the design would be a cross country style track. Thanks!

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Race Car Movement Substitution

    Rather than be bothered to type it all out again, take a look at this: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=252077#Post2520 77

    That is how one would do a 360 degree shooting engine. For a racecar engine, it is largely the same. You would just need to replace the angle expression with some "Repeat while -> is pressed, set angle to angle+1" and so on with left. You can put those formulae into fastloops as well, so when you collide with a backdrop you can just set the velocity to velocity*-0.5, which will give a nice bouncing motion off of obstacles. Assuming you hit them straight on, that is. If you have actives you can hit, use the 180+the formula in the link I provided for angles and then set the velocity, so you'll bounce off. This can all be refined of course, and I'm willing to do a more in-depth explanation of each element if you need it.

    Hope this helps!

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Merrie's Avatar
    Join Date
    Jun 2006
    Location
    VA
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Race Car Movement Substitution

    Jacob thank you very much Ill work with this see what I come up with.

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Merrie's Avatar
    Join Date
    Jun 2006
    Location
    VA
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Race Car Movement Substitution

    Bring this topic up again, the race car movement in MMF seems to not be working correctly. I looked up the reference on how to use it in Make Amazing Games in Minutes by Jason and when I try it the car will not move using the arrow keys. Is there additional settings I need to look at or adjust? Thanks!

  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Race Car Movement Substitution

    If you make a new app
    Put an active object on the screen
    Set its movement to Race Car

    Run it

    It doesn't respond to the arrow keys?

  6. #6
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Merrie's Avatar
    Join Date
    Jun 2006
    Location
    VA
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Race Car Movement Substitution

    Lets see here ok I made an active object, put the racecar movement on it. If you press the up arrow key it starts to move, if you press the down it comes to a stop (as its suppose to).

    Turning does not seem to happen, it just goes in a little circle, but does not 'turn'. Do you need an object with animations to mimic the car turning?

  7. #7
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Race Car Movement Substitution

    Ah

    Thats how its always been.

    If you only wanted it to turn when moving forward or back you could have a couple events.

    If car is stopped -- Set rotating speed to 0

    If car is not stopped -- Set rotating speed to (how ever fast you want it)

  8. #8
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Merrie's Avatar
    Join Date
    Jun 2006
    Location
    VA
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Race Car Movement Substitution

    Hum, alright let me give that a try, thanks Jeff.

  9. #9
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Merrie's Avatar
    Join Date
    Jun 2006
    Location
    VA
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Race Car Movement Substitution

    Well no luck, I tried the race car sample from Make Amazing Games in Minutes and that runs perfect. But if I take my own race car model in and set it up like the sample I get odd behavior.

    I make sure to set the initial direction to -0 right, and when I load the model I set the movement to running in the frame/graphic editor.

    Only other thing I can think of to do is zip up this sample and see if the program Im having can be pinpointed.

  10. #10
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Race Car Movement Substitution

    Could it be the hotspot in the graphic?

    Without seeing both I can't really say what the difference is but if one works and the other works differently there must be a reason.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Reverse Race Car movement?!
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 4th February 2012, 01:01 PM
  2. Reverse Race Car Movement
    By StingRay in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd February 2012, 11:28 AM
  3. question about race car movement:
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 25th September 2007, 08:44 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
  •