Would be nice if they actually stayed on the canvas...

in #programming3 years ago

The html game I'm making for TAFE study always has something to work out on it.
Right now it would be nice if spawned characters could spawn on the html canvas rather than a small part of them spawning on the edges.
pug bee cut off.PNG

Mostly posting just to show what it is doing but if anyone in this community knows what to do to fix this, any help would be greatly appreciated.

Sort:  
Loading...

They now bounce backwards if they go outside the bounds of the canvas.