Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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
So we have set vector X and set vector Y, which are kinda Apply force, but for Platform behavior. Speaking of physics, The Physics objects have a command called 'apply force at angle'.Is there any way to do that in Platform? I just have no idea how to convert an angle into X's and Y's.
You have the speed and angle, that is the vector X and Y:
VectorX = speed*(cos(angle))
VectorY = speed*(sin(angle))
Develop games in your browser. Powerful, performant & highly capable.
Huh? Too much maths.
Should have been more clear. The Hero you control have the angle of 0( always), and when he collides with enemies from Super Metroid he gets sent to the opposite direction of where the enemy is. I don't alter the angle of the Hero sprite in any way. So, must I alter the Hero's angle for a fraction of a second, use vector X and vector Y stuff and then set his angle to 0?