Open damian0815 opened 12 years ago
are you suggesting this for when it adds addons? I think this would be really cool. perhaps the project generator could look for a folder called data/ in the addon directory (next to src/ example/ and libs/) and copy all the contents into bin/data/ when that addon is added for the project.
no i mean in general. eg the examples/gl/shaderExample project is created without internal links to the .vert and .frag files, so you have to go into the data folder yourself and edit them with a text editor (and the fact that they are there, editable and text files is not at all apparent to a beginner).
this could easily be made to work for xcode - I often add my shaders to my project to make it easier to edit. not sure about the other platforms though.
If it finds .vert, .frag (and .geom?) files in the data/ folder, the project generator should make a new folder, in the project file, next to (or inside) src called data/ and add the files to it. (data/ so that beginners can find the files in Finder)