Hi Maroun,
The logic code in the menu.lua file is stripped down and simplified compared to the logic code in gameInfo.lua. The code in the menu is there just so the towers can fire and the enemies move to make the menu more interesting.
They are very similar yes, but they do slightly different things and at the time i thought it would be easier to understand if i had them in separate files.
I hope that clears it up a bit
Thanks,
Jamie [import]uid: 69826 topic_id: 29833 reply_id: 139729[/import]