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
First timer here.
Keeping it short. I've been following along with the 'How to make a platformer game' in the beginners' guide. According to my own review, I've followed all the steps in the 'creating an enemy' part, but yet my zombie sprite is very glitchy with it is movement.
I am incredibly new to this and have attached the project below. If anyone could spare a moment to help me out I would appreciate it!
Develop games in your browser. Powerful, performant & highly capable.
It has to do with your collision polygon changing in between frames, so as he's walking, it triggers the collision event with the edge object again when the frame changes. He doesn't move fast enough to get his collision polygon out of the way before the next tick.
By Polygon collision, do you mean the boxes I've got so that he does not fall off the edge?
Okay, so I managed to decrease the glitchiness by increasing his acceleration, however, there's still a bounciness to his animation, and I can't quite work out what that is?
In the animation editor, click the bottom most button on the left "Edit the collision polygon".
I recommend right clicking and using the "Set to bouding box" option, on both of the frames.
OMG thank you so much! Finally got around to trying out your technique and it worked like a charm!
Good to know what the polygon collision does now!