I got the problem about making bullets.
The logic is simple as normal bullet system uses.
When the bullet is out of the screen, I set the move flag(boolean) is false. When the move flag is false, the bullet will be reload and then the flag will be true.
The bullet reloaded for a while and suddenly did not reload and what made me so surprise was the move flag value was empty.
The output from print() is
true
true
(blank)
(blank)
!! I was shocked so I tested and with 0 and 1 instead of true and false.
I got only the same result(bullet suddenly stopped reload) but there are no (blank) in print() debug. I got only "1" as false value.
It looks like the program is suddenly stopped.
My scene has only bullet so, it should not be complicated. I use corona sdk for windows.
Do I miss some important information about API? Any advice??