I'v just gotten into programming with Construct 2 and I am already busy with a fun little project, however there's one bug I can't seem to get rid of:
The main sprite has a 8direction behaviour with some custom animation events that I made. The animations work as they should. I've also added some custom collisionboxes on the map in the form of rectangles with a Solid behaviour.
When the Hero collides with a collisionbox, the 8direction behaviour tries to go in another direction, but because a key is still pressed down it switches back and forth between 2 directions, hence the jitter.
I've already looked up similar situations, but those are from 2 years ago... How can I solve this?
/s/1dg6ci3ef6guqxk/PK-1.0.0.capx?dl=0 (add dropbox.com in front of it)
(The textbox is to show the angle of the 8Direction behaviour)