I am stupid.

idoistuffidoistuff Member Posts: 197
edited November -1 in Working with GS (Mac)
how would I make it so when someone TAPS (ipad) player moves to the tapped position?

http://dl.dropbox.com/u/11172522/touch.png

Comments

  • BramHoddssdBramHoddssd Member Posts: 414
    (Make this rule on the player you want to move)

    When touch is pressed
    Change atribute self.Y to touch.pressed.Y
    Change atribute self.X to touch.pressed.X

    Something like that
  • idoistuffidoistuff Member Posts: 197
  • idoistuffidoistuff Member Posts: 197
    but I don't want MOUSE I want TOUCH because this will be going on the ipad.

    or does mouse and touch do the same on the ipad?
  • idoistuffidoistuff Member Posts: 197
    okay, thank you very much :)
  • idoistuffidoistuff Member Posts: 197
    okay so I want it so every time player kills 10 enemies a powerup appears,

    I already got powerup integer attribute

    and I have

    when enemy is killed change attribute powerup to powerup+1
    when power up = 10 spawn speed

    but this will only spawn it once, because after it will go to 20.. how do I make it so EVERY 10 it spawns power up?

    I still want powerup attribute to continue counting up because I want to include achievements later.
  • idoistuffidoistuff Member Posts: 197
    instead of life what would I do to make it spawn actor speed?
  • idoistuffidoistuff Member Posts: 197
    I did what the video said.

    but instead of doing the life attribute part I made it SPAWN actor speed.

    then I put in my enemy when collide or overlap with player change game.Score to game.Score+1

    it works great and spawns one speed. but when I collect 20 it doesnt spawn another.. and I even did the "change self.doit to self.doit+10
Sign In or Register to comment.