Hi, I’m 17 and new to Corona. I want to go to college and get a degree in Computer Science so I thought learning Corona would help me a lot. Right now, I’m making a Pong-like game as practice before making something more complicated. However, I can’t seem to figure out how to code a scoring system in such a way that the score increases by 1 every time the ball/puck goes past one of the paddles.
Could someone write the code and explain its parts to me? I would greatly appreciate it. Thank you.