It would be nice to have a big example folder we can dig through. Especially in reference to the docs to see details that may have not been fully covered.
Yes, absolutely! I think we should do a combination of extending the builtins folder with more assets (3d primitives and materials seems given), but also provide more template projects. Or maybe one larger template project called “Examples” which would highlight different areas. Even cooler would be to add read-access for everyone to a live example project, so you could depend on it to copy-paste from it, and we could even continuously develop it further. How would you prefer to get ahold of files like this?
Any of those work work… a simple all in one zip would be enough for me! And then keep the link the same and update its contents over time, include examples from the community who want to contribute them. You could have a git for examples and accept contributions that way.
Another tool I use called Monkey does examples like this:
Thanks, good to know! I guess you saw the 3d zip posted by @sven yesterday? Project with 3D models
Yes, and it is helpful too. He does some things differently than the docs do. His provided project does not work exactly the same - getting the original project files for the book would still be helpful. The docs are missing some steps / information / some steps are not labeled well so that it’s not easy to reproduce - the model / shader docs being separate leaves some information lost in the split. Later after I finish my NES like project I want to try to make a super low poly game with Defold inspired by Playstation 1 era games (I know other tools would be better but my intention is learn as much about Defold as possible).
Off topic but; Wow, I would love that!!
Anyway, I agree with having more example projects available. Since we don’t have read-access-only-projects yet, maybe just download links for the projects in the documentation would be enough for now?
It would be really great if you created a few boilerplate projects that are read only, which we could fork from to get bootstrapped into creating certain types of games.
If you look at how Construct 2 is designed - it presents you with a number of preset games / examples as potential starting points: https://www.scirra.com/tutorials/37/beginners-guide-to-construct-2 (See the “Template or Example” dialog in the tutorial).
This could be another way that the community can really help, because if you allow folks to make pull requests to a “templates” repo - the community could make sample games or games that demonstrate things like Facebook integration, etc.
When you create a new project you have the option to start from an empty project or base it on one of the tutorials (platformer, side scroller or linker). I guess we could add more starting templates, but at least there’s some already available.
I’m working on cleaning up an Examples project. We will add it to the project templates when it’s done. Stay tuned!
Any new update on this?
In the works. Hard to give an eta though.
FYI It’s giving a 404 when trying to load http://www.defold.com/tutorials/examples/split/archive_files.json
Also the download archive is giving me unknown format or damaged.
It seems to be a caching problem, it worked for me when I reloaded a couple of times…
Archive is damaged.
…
Yes, something happened here. I’ll try to fix it.
Fixed now. If you still have problems it’s probably cache-related.
Awesome, downloading now!
http://defold.com/static/games/examples-project.zip?noncache=true
Might want to remove the .git folder from the zip.
Hello everybody!
I feel like a fool asking this, but, how do you open this project in your local defold IDE?
1.- I went to the page mentioned above and I was able to download the zip file "examples-project.zip"
2.- I unzipped the zip file in my hard drive
3.- I open my defold IDE
4.- And… How do I import it into defold?
I hope someone could share how they did it
Thanks in advance
Edgar
Hi Edgar,
Create a new project on your Defold account dashboard. Open this project in Defold editor, create a new “branch” and click through. Right click and open the main folder in the file system explorer. Delete the contents (except for .git and .internal folders) and place in the contents of the zip. Then refresh the Defold editor, and you should be able to run those examples.