how to make power ups?

idoistuffidoistuff Member Posts: 197
edited November -1 in Working with GS (Mac)
so I opened the space rocks template and I want to make powerups that randomly appear.

how would I do this?

also I have an actor called SpeedBoost and I was wondering how I would make it so when player collides with SpeedBoost make player rotate and move forward faster for 10 seconds.

(if you need to know my code, just open the space rocks template.)

thanks!

Comments

  • orien2v2orien2v2 Member, PRO Posts: 55
    It involves creating several attributes ie. life, speed, score etc.

    So for example if the actor touches SpeedBoost, you add a Change Velocity to it within a short timer. That is just one example. And in case you're asking how to make it appear randomly just use random(0,480) for x, and random(0,320) for y in the Spawn Actor behavior and make sure it is relative to scene.
  • idoistuffidoistuff Member Posts: 197
    which type of attribute do I make?
  • idoistuffidoistuff Member Posts: 197
    okay im sorry, I dont understand this.. I find it really confusing. Maybe I should create my own from start instead of trying to work off an already made template so I know whats going on.
Sign In or Register to comment.