How could i create a lazer beam coming from my player, like a constant line that only stops when it touches a solid..?
Develop games in your browser. Powerful, performant & highly capable.
Hmmm you could make a laser sprite spawn when a button is clicked and destroy it when touching solid (sprite need to be a white rectangle without black borders
This topic should help:
Thankyou thats great :)