Buonasera Samuele,
I think the "visual effect" kills your "moving".
Comment that line out or leave the effect out and see if that works as exspected:
Code: Select all
else if field "timer" = 0
then
GameOver
aeStopMoving "all"
DisableObjects
## show button "Restart" with visual effect dissolve very fast
show button "Restart"
show widget "Info"
show widget "Home"
show widget "Settings"
HighScore
HideBonuses
end if
end ActivateTimer
If it works then the visual effect is the problem.
Remember that LC is very fast, so all this:
Code: Select all
...
GameOver ## including the moving image!
aeStopMoving "all"
DisableObjects
...
will take a millisecond or less, so LC will try to let the visual effect happen at the same time
as moving the image and that does not work since visual effects will always lock the screen!
Code: Select all
-> show button "Restart" with visual effect dissolve very fast
Obviously we cannot have both...
Best
Klaus