|
|
Problem description:
Well I would copy and paste the code, but it's pretty much Just Forum_accounts pixel movement code. I was reading this: http://www.byond.com/members/ Forumaccount?command=view_post&post=113098 on how to implement them in a project, so I tried it, but when I do what it says it works and everything, but my base icon that has run and jump states etc they do not work, so when I walk around my icon is in a standing state even though it's moving. And it also lets me walk on dense objects aswell. I'm also not sure If I posted this in the correct place aswell.
Movement states aren't going to work as they did with BYOND's normal movement when you're using Pixel Movement.
By default, set_state() changes your icon_state to "standing" while standing still, "moving" while moving, and "jumping" while jumping. If you set a mob's base_state, the icon_state will be set to "[base_state]-moving", etc.
I assume the dense objects you are walking through are mobs. For that, you need to override can_bump() for your player.