Graphics in Data Folder keep getting deleted?
Monkey Forums/Monkey Programming/Graphics in Data Folder keep getting deleted?
| ||
Hi! This has been frustrating me for a good while, basically from what I know all assets for the game go in the html5/data folder. When I put my gfx etc. in that folder they get deleted everytime I hit build and run. Why is it doing this? What noobo dillo am I doing wrong? |
| ||
They need to go in a data folder at the same level as the source code. So if your source file is mygame.monkey, put them in a folder called mygame.data. Look at the sample games. |
| ||
The gfx get copied from mygame.data to mygame.build/html5/data when the game is built. |