overriding "wall" contraint on actor
Hi
I am a noob at using game salad and have a couple questions.........
I am using the basic shootem up and trying to modify it to what I want.
I added rotation to the up and down plus "floating" to the ship when a movement key isn't being pressed. The problem is in "floating" mode the ship floats off the screen.
Things I changed:
I want the ship to rotate/shoot up or down 45 degrees when up and down are pressed.
I added a Rotate to Angle in the up and down rules.
to snap it facing forward when the up or down are released I used in otherwise of; up, down, left, right
Change attribute self.motion.linear. velocity X (0 or +/- other if I want it to move)
Change attribute self.motion.linear. velocity Y (0 or +/- other if I want it to move)
Change attribute self.rotation
Is there a better easier way to do this?
I also want the ship to face left or right depending on which direction it goes. How id this done?
I am a noob at using game salad and have a couple questions.........
I am using the basic shootem up and trying to modify it to what I want.
I added rotation to the up and down plus "floating" to the ship when a movement key isn't being pressed. The problem is in "floating" mode the ship floats off the screen.
Things I changed:
I want the ship to rotate/shoot up or down 45 degrees when up and down are pressed.
I added a Rotate to Angle in the up and down rules.
to snap it facing forward when the up or down are released I used in otherwise of; up, down, left, right
Change attribute self.motion.linear. velocity X (0 or +/- other if I want it to move)
Change attribute self.motion.linear. velocity Y (0 or +/- other if I want it to move)
Change attribute self.rotation
Is there a better easier way to do this?
I also want the ship to face left or right depending on which direction it goes. How id this done?