I am trying to create a nice character movement system and I am employing the 8 direction behaviour (only using 4-directions) to do so. How I have it working is...
I am using 8 directional movement and solid objects for collision. I am finding that when my sprite collides with these objects they do stop, but once the arrow...
So lets say I make I want to make an object that moves down and right at the same time, and when it touches a horizontal wall it changes its direction to left b...
I added some events for 8dir rotation. For example. When The "W" key is down Player will rotate 2 degrees toward 270 angle. But the problem is that for example...
I noticed when using the 8-Direction Behavior that VectorX becomes a non-zero value when the player is moving ONLY Up or Down AND VectorY reaches its maximum sp...
Hey guys! So it's basically what i'm trying to do and what's happening in my game: Has a way to make the player slips through the wall like this? Thanks a lot t...
I tried extending the behaviour as below. Class EightDirection extends IBehaviorInstance. {. Constructor(). {. Super(); // Start with 5 bullets. This.Ammo = 5;...
So I'm working on a dungeon crawler. Lots of traps etc. When the player hits a trap he becomes temporary invulnerable. But I also want to push the player away....
I am coding a game like the old zelda and I get stuck on one thing: In the game I would like my character to jump when he is at the top of a cliff for example t...
Hi I'm not sure why but in the layout named "game" the orange box used to move around in the 8-direction behavior but now when I try to play it, it doesn't. Can...