speed...

igpxnaruto4igpxnaruto4 Member Posts: 81
edited November -1 in Tech Support
ok so i have a character and i have it set to move up at 200 how do i make it so it speeds up to 300 and keeps ging depending on how long your playing?

Comments

  • RedlerTechRedlerTech Member Posts: 1,583
    Simple :D

    Create an attribute (integer) called speed - 200

    Timer - Every 3 (change as you'd like) seconds change attribute game.speed to game.speed + 15(change as you'd like)

    Instead of having the actor move up at 200, have it move up at the attribute game.speed

    Matt :D
  • outasiteoutasite Member Posts: 417
    Two Options that I can think of if your actor is set to moveable. Both work

    -----------------Option 1-----------------
    Set Actors Speed to 200

    Accelerate:
    Direction -> 90
    Acceleration 10 (low acceleration)
    -----------------------------------------

    -----------------Option 2-----------------
    New Attribute: Speed = 200
    New Attribute Timer

    Move:
    Direction -> 90
    Speed -> Speed+(game.timer/10)
    -----------------------------------------

    Michael
  • outasiteoutasite Member Posts: 417
    NextGan's idea will be just fine if your actor is set to non-movable. Just make sure your timer is not to fast. The faster it fires, the worse the performance (less then 1/2 a sec).
  • igpxnaruto4igpxnaruto4 Member Posts: 81
    for some reason this wont work... help me out? i tried both your ideas... still didnt... any idea?
  • igpxnaruto4igpxnaruto4 Member Posts: 81
    nvm got it:D thanks:D
  • RedlerTechRedlerTech Member Posts: 1,583
    :D which solution ended up working btw?
  • creativeappscreativeapps Member Posts: 1,770
    @nextgen plz check your email
  • igpxnaruto4igpxnaruto4 Member Posts: 81
    lol next i did urs cuz u posted first:P i didnt really explore on outasite's post... thanks for both ur help tho:D
  • outasiteoutasite Member Posts: 417
    Hah no worries. I just wanted to check the accelerate behavior because it sounded right in my head, but I didn't want to send you down a hallway I've never been before.
Sign In or Register to comment.