Spawning bullets on screen

I am needing a little assistance with some coding my first platformer. I am getting stuck when it comes to having a cannon only shoot cannon balls once the play comes on screen. Right now it just shoots constantly from all over the map since I have nothing coded says "when on screen" or something along those lines. Can anyone throw me a bone on this one please?


Sign In or Register to comment.