jeje not exactly tie fighters, but its inspired on ... I created BOSS levels in the game such a TIE attack, it´s really difficult to beat sometimes.
Yes, control of the player is tilting the iphone, I calibrate the acceleration to be speedy but easily controllable.
For kirk1234:
Shooting is Quite Easy to do:
In Player Actor, Rule --> Actor receives event --> TOUCH --> OUTSIDE
Inside te rule:
SPAWN ACTOR (the bullet or laser actor):
DIRECTION : vectorToAngle( game.Touches.Touch 1.X - self.Position.X , game.Touches.Touch 1.Y - self.Position.Y )-90 (relative to scene)
And next the sound effects or whatever you want
Whit touch outside the actor looks for touches in any part of the screen With vectorToAngle you create a vector from the Actor itself to the Point you Touch ... It´s really easy to do, and works great
Thanks, and, yes you have reason about the shooting direction, I´m still looking for a formula to generate quick spins without no confusing at full speed. When the ship shoots in middle of a movement, sometimes the animation get stuck, ... but as i said, I´m working on that..
Comments
Look nicer in Retina Display
Thanks
Are you tilting to control?
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Yes, control of the player is tilting the iphone, I calibrate the acceleration to be speedy but easily controllable.
For kirk1234:
Shooting is Quite Easy to do:
In Player Actor, Rule --> Actor receives event --> TOUCH --> OUTSIDE
Inside te rule:
SPAWN ACTOR (the bullet or laser actor):
DIRECTION : vectorToAngle( game.Touches.Touch 1.X - self.Position.X , game.Touches.Touch 1.Y - self.Position.Y )-90 (relative to scene)
And next the sound effects or whatever you want
Whit touch outside the actor looks for touches in any part of the screen
With vectorToAngle you create a vector from the Actor itself to the Point you Touch ... It´s really easy to do, and works great
Ver 1.1 is in development now
I will post some gift codes to gamesalad developers tomorrow!
77MJTE466HTM
N6NYL4W7N3WK
9F4L4KKMM4JW
E6JMXL7X3EWT
K69F6YLK3HNP
WLRHKP9X3EAT
9TWE776HY6FL
6RLXAYPHTMPW
4TTJXL66NJK4
RRJ69FN6FL96
KX73ALH6JN4N
F3PA7T4X7KHT
3HLH6HMELYJL
X949X7ME9XEX
3FKWMW3TTAMN
XXANMJY7WLN7
M33TJTA4P9KE
KH4REP3AM3M4
N7W7E6TL9XKT
J94JLJ9KTKKW
When the ship shoots in middle of a movement, sometimes the animation get stuck, ... but as i said, I´m working on that..
Maybe for 1.1 or 1.2