I want to know how to change value of a variable on base of a condition i don’t know the syntax of lua.
I want to know the code to change value of score text view if ball touches the platform
That is a very open-ended question that could have at least a dozen answers. Instead of giving you one randomly picked out of a hat, let me suggest that instead you take a peek at the tutorials and guides and walk through them instead of going right to a solution.
API Docs - https://docs.coronalabs.com/api/
Guides - https://docs.coronalabs.com/guide/index.html
Tutorials - https://docs.coronalabs.com/tutorial/index.html
Also, be sure to examine the dozens of demos that come with Corona when you install it. Click ‘Samples’ on Corona launch page when it starts.
Alternately,
- please refine the question -OR-
- zip up your project so far and share a zip here (but only if it is very small & short)
That is a very open-ended question that could have at least a dozen answers. Instead of giving you one randomly picked out of a hat, let me suggest that instead you take a peek at the tutorials and guides and walk through them instead of going right to a solution.
API Docs - https://docs.coronalabs.com/api/
Guides - https://docs.coronalabs.com/guide/index.html
Tutorials - https://docs.coronalabs.com/tutorial/index.html
Also, be sure to examine the dozens of demos that come with Corona when you install it. Click ‘Samples’ on Corona launch page when it starts.
Alternately,
- please refine the question -OR-
- zip up your project so far and share a zip here (but only if it is very small & short)