Reset Scene
I have a problem with my game!
I have a draw line system and when I reset scene,the line don't reset.
Could someone Help me?
I have a draw line system and when I reset scene,the line don't reset.
Could someone Help me?
Comments
I try to do the same system with true and false but the draw line don't reset.
For the Draw Line System:
Change Attribute:self.Rotation to VectorToAngle(game.Mouse.Position.X-game.Endpoint X,game.Mouse.Position.Y-game.Endpoint.Y
Change Attribute:magnitude(game.Mouse.Position.X-game.Endpoint X,game.Mouse.Position.Y-game.Endpoint.Y
Change Attribute:self.Position.X to game.Endpoint X + cos( self.Rotation )*Self.Size.Width /2
Change Attribute:self.Position.y to game.Endpoint X + sin( self.Rotation )*Self.Size.Width /2
Change Attribute:self.color.Alpha to 1
Change Attribute:game.Endpoint X to game.Endpoint X + cos( self.Rotation )*Self.Size.Width
Change Attribute:game.Endpoint Y to game.Endpoint Y+ sin( self.Rotation )*Self.Size.Width