I am stupid.
idoistuff
Member Posts: 197
how would I make it so when someone TAPS (ipad) player moves to the tapped position?
http://dl.dropbox.com/u/11172522/touch.png
http://dl.dropbox.com/u/11172522/touch.png
Comments
When touch is pressed
Change atribute self.Y to touch.pressed.Y
Change atribute self.X to touch.pressed.X
Something like that
http://dl.dropbox.com/u/11172522/Screen shot 2011-03-03 at 11.44.43 AM.png
EDIT: trying that tshirtbooth.
or does mouse and touch do the same on the ipad?
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.
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