Speed in PAlib AngleSinCos example

Discussion in 'NDS - Emulation and Homebrew' started by eglomer, May 13, 2009.

  1. eglomer
    OP

    eglomer Member

    Newcomer
    12
    0
    Sep 14, 2008
    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
    12
    0
    Sep 14, 2008
    Well... I had to multiply Sin(angle)*speed and Cos(angle)*speed ^^U