User Tag List

Results 1 to 2 of 2

Thread: [Question about speed] Animation or Math?

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    124
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question about speed] Animation or Math?

    I'm making a game that can be "drawn" two ways. It consists of bubble people, so I don't have to make good graphics. The arm is seperate from the head.

    The first way: animation. The arm is an animation that is pointed the same direction as the body. This could be simpler, but the animations might take up too much ram.

    The second way (which I prefer): math. Using cosine and sin, I would set the position of the arm relative to the body. Of course, I don't know how much strain these relatively simple operations put on the system.

    Now, this game will have many of these bubble figures on the screen at a time, so I want to choose the optimum way. I can guess the second method would be better, but I don't know.

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Question about speed] Animation or Math?

    I think you can have tons of sine and cosine operations going at the same time. I have a bunch of objects using a vector movement in my game, and it runs fine. I've always wondered though, are sine and cosine operations faster in something like an extension, rather than in the mmf2 expression evaluator?

Similar Threads

  1. Math Logic Question
    By JimmyTHicks in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 31st August 2012, 01:30 AM
  2. Math formula question
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 43
    Last Post: 6th October 2010, 06:08 PM
  3. Math question
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 15th September 2010, 01:21 PM
  4. Quick math question
    By LaraSoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 26th December 2007, 10:16 AM

Posting Permissions

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