Im developing a small space shooter with single screens and i plan to create 3 types of bullets. I have finished 2 of them but i dont know how to do the third one.
It should be a column of laser (fire) but stopping in the solid tiles, but if you have the fire button pressed and move right or left from this tile, the laser column continues expanding (from the spaceship) up until the next solid tile.
I attach an screenshot of what im talking about. I dont know how to do it and i cant even imagine how to do it :))
The spaceship moves around the limits of the screen.
Thank you in advance!