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

in #programming4 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.


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

Coin Marketplace

STEEM 0.38
TRX 0.07
JST 0.049
BTC 41768.14
ETH 3109.08
USDT 1.00
SBD 4.61