Where can we get all of these example files? (SOLVED)

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.

1 Like

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?

4 Likes

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:

1 Like

Thanks, good to know! I guess you saw the 3d zip posted by @sven yesterday? Project with 3D models

1 Like

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).

3 Likes

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.

2 Likes

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!

2 Likes

Any new update on this?

1 Like

In the works. Hard to give an eta though.

3 Likes

http://www.defold.com/tutorials/examples/

4 Likes

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… :slight_smile:

1 Like

Archive is damaged.

1 Like

Yes, something happened here. I’ll try to fix it.

2 Likes

Fixed now. If you still have problems it’s probably cache-related.

1 Like

Awesome, downloading now! :smiley:

http://defold.com/static/games/examples-project.zip?noncache=true

Might want to remove the .git folder from the zip.

1 Like

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? :thinking:

I hope someone could share how they did it :hugging:

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.

5 Likes