I'm working on a five night clone from Freddy's and looking for a way to slide the background/sprite left when I click the left arrow and right when I click the right arrow ... is that possible?
thx
Develop games in your browser. Powerful, performant & highly capable.
Yes. You can either use an invisible helper sprite with the scroll to and 8 direction behaviors as a "camera", or simply use 8 direction on the background directly to move it.
On mouse down and mouse is over arrow, simulate control left or right.