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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
Need help with creating an enemy that knocks back the player character if the player character touches it from the left and right or jumps on it.
Maybe someone has an example file with this?
Develop games in your browser. Powerful, performant & highly capable.
You can use vector x on platform behaviour for this, so if enemy collides with you from the right side you would say player set vector x to self.x-20 or something. The 20 is number of pixels so you use this to adjust how far you are knocked back.