1. eglomer

    OP eglomer Member
    Newcomer

    Joined:
    Sep 14, 2008
    Messages:
    12
    Country:
    Hi!

    I'm doing some tests based in a PAlib example (PAlibExamples\Math\AngleSinCos) and I'd like to modify the sprite's speed, but I don't know how to do.

    I tried to declare s32 speed = 2
     
  2. eglomer

    OP eglomer Member
    Newcomer

    Joined:
    Sep 14, 2008
    Messages:
    12
    Country:
    Well... I had to multiply Sin(angle)*speed and Cos(angle)*speed ^^U
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - AngleSinCos, example, Speed