David Higuita Posted July 31, 2017 Share Posted July 31, 2017 Hello, What are all the config keys for game.config, so I need to know How can I move engine folder to a general directory to be re-used for all games and in every game develop the modules tha I need. I mean I, I would like get this structure: . ├── README.md ├── assets │ ├── Audios │ └── Images ├── common │ └── pandajs │ └── engine └── src └── demo ├── game │ ├── background.js │ ├── board.js │ ├── box.js │ ├── frog.js │ ├── index.js │ ├── interactiveimage.js │ ├── mainText.js │ ├── step1.js │ ├── step2.js │ ├── step3.js │ └── utils.js ├── index.html └── settings.js Quote Link to comment Share on other sites More sharing options...
enpu Posted August 1, 2017 Share Posted August 1, 2017 Keys in game.config are just attributes of classes. Then there are also few special keys, like sourceFolder (default src) and mediaFolder (default media). Ninjadoodle 1 Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted August 3, 2017 Share Posted August 3, 2017 Awesome, I was just looking for the same thing lol. I wanted to reuse the same engine folder between games - easy to do with the sourceFolder setting Thanks @enpu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.