I use FlashDevelop - I am working on code in ActionScript 3. I started working on a 72hour project for Ludum dare and afterwards decided to get a fresh start with a new angle on the same idea. So I named the folder - GameName2 . .
I always use the same 'project' for things I work on in ActionScript 3 because I have code in that project that is useful for my game ideas. For instance a basic controller class. Now in the new game, I want to again inherit from that controller class, however I fear that since the name I'll pick for the new class is a duplicate of the name I used in the first version of this game, this will cause future difficulties and confusion..
I was wondering if there is any way to use namespaces or anything else, so I could have classes with the same name in different packages and avoid confusion when I import the packages for a specific game..
Right now:
I have:
gamename.controller.GameNameController
and
gamename2.controller.GameNameController
Is there any way to keep things more simple and clean? Thanks
Thanks for any input.