Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

Kaboom.js How can I change the direction of a sprite when he hits a wall?

Guelprix
Guelprix

As I was coding along with Ania Kubow´s Mario Tutorial, I noticed that the goomba will get stuck, if he walks into a wall. I wanted him to change his walking direction, if he hits a wall or a pipe. Tried it out my own first, but doesn´t seem to work that way :/(commented out line 207-213).
Thanks for your help

1 year ago
You are viewing a single comment. View All
1