Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
hey all i want to make my ship always looking at my mouse but using angle lerp but it need to be able to also work with the ship moving
can anyone help me please
Develop games in your browser. Powerful, performant & highly capable.
Have you tried the rotate toward angle/position actions?
well for now the best thing ive been able to do so far was to create an invisible object that have the movement controls and the visual object that he only do angle lerp
Rotate ship towards mouse:
ship set angle: anglelerp(ship.angle,angle(ship.x,ship.y,mouse.x(layername),mouse.y(layername)),0.5)
nop it does not work so must be 2 separated object
Basically i have an object called player but invisible hes doing 8 direction
then i have an other object called spaceship and is always positioning to player and also the spaceship is the anglelerp