User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Tutorial - Trigonometry In Gaming

  1. #11
    RayMarble
    Guest

    Re: Tutorial - Trigonometry In Gaming

    Just to confirm it does work in TGF2 too - excellent tutorial ^.^

    I discovered something a bit weird though, in the "Race Car" example, if you keep pressed forward + left / right, I would expect the car keeps driving in circles - instead the path on which it moves slowly drifts away (ie if you keep driving in circles after a while the "car" will exit out of the screen). Is this intentional?

  2. #12
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tutorial - Trigonometry In Gaming

    Consider that we are using integer positions, the one of MMF2. If you used floats for position, an xPos and yPos alterable value set in the racecar, you would have more accurate movement. I assume this issue is just the issue with rounding. If Sin(x)*30 or whatever is 27.5, we only add 27, so you can see how truncating it to an integer can cause a small margin of error.

  3. #13
    Clicker Multimedia Fusion 2
    Valerien's Avatar
    Join Date
    Jun 2008
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tutorial - Trigonometry In Gaming

    Thanks a lot. This one was cool.

  4. #14
    Byurn
    Guest

    Re: Tutorial - Trigonometry In Gaming

    I love people like you, Eliyahu. Seriously. You justify the existence of the Internet.

  5. #15
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tutorial - Trigonometry In Gaming

    Aw thanks man. I love you too.

    *man-bear-hug*

  6. #16
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Tutorial - Trigonometry In Gaming

    Approoved!

  7. #17
    Clicker Fusion 2.5
    darkmanx_429's Avatar
    Join Date
    Jun 2010
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Now is how a proper tutorial should be done!

  8. #18
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    mnovoa's Avatar
    Join Date
    Sep 2011
    Location
    Concepcion, Chile
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great!!

  9. #19
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Conno's Avatar
    Join Date
    Jul 2006
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great tutorial, impressed!

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Another online gaming help
    By Dynamite in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 20th February 2007, 12:02 PM
  2. Trigonometry Question
    By Jellyhead365 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th October 2006, 09:12 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
  •