1 decade ago by MikeL
The Impact documentation does a nice job of highlighting one advantage of 'baking' your game: to speed up load time considerably.
What is not stated explicitly is the other advantage: helping to obfuscate the game's code. Not only your own, but also that of Impact. This is important in slowing down the inevitable, shall we say, misappropriation of the Impact code including Weltmeister.
Couple of additional things to add post-baking:
1. The files that you upload to your server need only consist of (a) the game folder (i.e MyGame), (b) within that folder is index.html and game.min.js (c) also within that folder will be the media folder containing its various images.
(In other words, leave out entirely the tools and lib folders with all of their contents.)
2. On the server that you've uploaded your files to, you may additionally want to set appropriate permissions for the media folder and any other additional folders.
Many of you know these things already, but some of us (finger pointing towards myself) may be slow to consider the impact (no pun intended, really) of throwing things up onto the web as soon as they're mostly working.
One last note, we may want to (not compulsory) put a Created with the Impact Game Engine link on our game pages, so that the name and capabilities of Impact get spread far and wide.
Game on!
What is not stated explicitly is the other advantage: helping to obfuscate the game's code. Not only your own, but also that of Impact. This is important in slowing down the inevitable, shall we say, misappropriation of the Impact code including Weltmeister.
Couple of additional things to add post-baking:
1. The files that you upload to your server need only consist of (a) the game folder (i.e MyGame), (b) within that folder is index.html and game.min.js (c) also within that folder will be the media folder containing its various images.
(In other words, leave out entirely the tools and lib folders with all of their contents.)
2. On the server that you've uploaded your files to, you may additionally want to set appropriate permissions for the media folder and any other additional folders.
Many of you know these things already, but some of us (finger pointing towards myself) may be slow to consider the impact (no pun intended, really) of throwing things up onto the web as soon as they're mostly working.
One last note, we may want to (not compulsory) put a Created with the Impact Game Engine link on our game pages, so that the name and capabilities of Impact get spread far and wide.
Game on!