Defold 3D playground sample

Hi!

It’s a giving time and we have a little present for you: :wrapped_gift: a 3D third person playground sample where you can go around, collect gold and store it - it comes with a character controller, physics, virtual gamepad, and shadow mapping!

The credit goes to @sergeysinyavsky for preparing this example and Kay, Kenney and Mesh2Motion for the assets! :orange_heart:

P.S. We will add a little bit of a manual/documentation for it and it will be added to the Samples in Defold welcome screen in the next release (after 1.12.0).

29 Likes

Wow, that’s an Amazing Super Asset for the community! Merry Christmas and Happy New Year!!! :christmas_tree: :heart:

2 Likes

That is awesome

1 Like

This looks great! I can’t wait to try it out.

1 Like

It’s a very simple example, but it’s for a good start - we will be adding more and more such tiny samples in the next year :wink:

2 Likes

Would it be possible to upload an html build and link to it from the repo? I think it would be cool to be able to quickly try out the examples.

7 Likes

Thanks, like the style. Perfect to learn

2 Likes

You’re right! Here we go:

1 Like

Awesome! It runs very smoothly on my phone.

All of the objects are kinda jittery where they meet the ground though, when you move around. As if the objects and the ground are fighting over which one should be visible.

Edit: actually it’s not just near the ground. Check this video. The plants, the strap on the wood, the bottom of the rock, etc, are all jittery.

Try testing increasing the precision in the shaders? highp instead of lowp/medp you can see high versions of the shaders in the materials folder of the repo.

This is additionally available from 1.12.2 in the Editor:

6 Likes