I am using composer and I am about to work on different levels. Start them on lowest level then go on up.
So I thought of this way.
in Play.lua
do a counter say from 1 to 10.
call actualPlay.lua (pass it counter)
if successful return (and less than 10) Congrats you passed level counter - now get ready for the next level
else - sorry you could not pass level counter.
end do
Congrats you passed all 10 levels if successful return on 10th time.
I tried doing the levels in the actual game play scene but had lots of problems.
Any SHORT simple example out there for levels if this is not the right way to do it?
I am also using composer.variable name to hold some data.
Question on sounds.
I got a few Homer simpson sounds from a website that says they are free to use. Are they REALLY free to use or are they protected by the people who does “The Simpsons”?
Any good example on how to handle sounds, I was told you are supposed to load them first then play them later.
Thank you!