- Edited
Back to the horror game. I programmed movement methods and tested them using inputs and tried to assign them to player position checks, but they just aren't doing what I need to. it's driving me crazy. It only needs to move along the x axis, it frees its own queue when it hits a door event. This all works fine.
I have searched and found many different methods of doing this and no consensus on which works best. What do you recommend? I only need to chase the player along the x-axis (side-scrolling). I read the docs, i even already have a player object doing exactly what i want. But for some reason whenever i apply these same methods to an enemy object, the behavior is off. Literally i use the velocity/alpha/delta equation and then nothing happens.