ENTRY | DOWNLOAD | MANUAL | ONGOING | |
cancelThrustMoves()Cancels all currently active thrust moves on the element on which this method is called. >> More on Thrusts in the class reference.
<camera>.cancelThrustMoves()
<sprite>.cancelThrustMoves() <tag>.cancelThrustMoves()
In Contextdef onSetup(self): self.camera.thrustMove(Thrust(0.5, 0.1, 0.0)) self.camera.cancelThrustMoves() s = ASpriteClass(self, 'sprite1') s.thrustMove(Thrust(0.5, 0.3, 0.0)) s.cancelThrustMoves() t = ATagClass(self, 'tag1') t.thrustMove(Thrust(50, 30, 0.0)) t.cancelThrustMoves() |
|
Initiated by Stephan Hechenberger Thanks to CADRE's 103 |