So let’s say Ghosts vs Monsters consists of 60 levels, and all levels share the same game logic, is there a way to put the game logic in 1 file and then call it from each lvl instead of copy paste to all 60? it’s not practical if i’m gona change or add new code to game logic that i have to copy paste again to all lvls, also i feel the game size will be much bigger just because of the repeated code.
i was thinking of passing the whole objects in a lvl as group to the game logic function in the sperated file but there is no easy way to access those objects from the external library that contains the game logic.
any suggestions? [import]uid: 58846 topic_id: 9874 reply_id: 309874[/import]