Hello,
I noticed that event listeners have an inconsistent syntax. :huh:
I would like to know the difference between:
balloon:addEventListener( "tap", pushBalloon )
and:
balloon.collision = onLocalCollision balloon:addEventListener( "collision" )
pushBalloon and onLocalCollision are both functions.
Keep in mind Iām a complete newbie to LUA (and Corona itself) but I do have experience in other programming languages.
Thanks!