Giter Site home page Giter Site logo

Comments (14)

acs avatar acs commented on June 24, 2024

The first step is to install godot engine and after that, to play with the demos at:

https://github.com/godotengine/godot-demo-projects/tree/master/3d/physics_tests

Probably it won't cover voxels but we can extend it to do it. Let's mature the idea.

from mcthings.

acs avatar acs commented on June 24, 2024

The first step is to install godot engine and after that, to play with the demos at:

https://github.com/godotengine/godot-demo-projects/tree/master/3d/physics_tests

Probably it won't cover voxels but we can extend it to do it. Let's mature the idea.

from mcthings.

acs avatar acs commented on June 24, 2024

Ok, let's create our first Godot project following: https://docs.godotengine.org/en/stable/index.html

The demos are Godot projects also.

from mcthings.

acs avatar acs commented on June 24, 2024

Let's download the Standard version of Godot from https://godotengine.org/download/linux for 64 bits.

Wow, the first time you start Godot you can download the demo projects, including the physics one and execute it.

Screenshot from 2020-08-14 19-22-02
Screenshot from 2020-08-14 19-22-08
Screenshot from 2020-08-14 19-22-17
Screenshot from 2020-08-14 19-23-36
Screenshot from 2020-08-14 19-24-54
Screenshot from 2020-08-14 19-25-15

godot-physics-demo

from mcthings.

acs avatar acs commented on June 24, 2024

In order to create a binary for linux, I need to install the export templates. With them , it seems you can export your Godot projects to Linux, Windows, Web, Android ... cool! But you need to download a 440 MB template.

Screenshot from 2020-08-15 12-34-17

For a Linux binary ... what will be the size for a minimal project? Probably the 40MB of Godot Engine (a bit less because the editor is not needed?) and the extra stuff implementing the project.

And the result is:

HelloWorld]$ du -sh HelloWorld-linux.x86_64
41M	HelloWorld-linux.x86_64

and if I execute it:

[HelloWorld]$ ./HelloWorld-linux.x86_64 
Godot Engine v3.2.2.stable.official - https://godotengine.org
OpenGL ES 3.0 Renderer: Mesa Intel(R) UHD Graphics 620 (KBL GT2)

and this is amazing:

Screenshot from 2020-08-15 12-45-36

Creating an executable for the game is so easy! And it is just a binary file ready to be executed with all included in it.

At this point I understand why some people are proposing Godot as a general purpose framework for creating multiplatform applications: https://medium.com/swlh/what-makes-godot-engine-great-for-advance-gui-applications-b1cfb941df3b

And probably it is the same for generating a Windows binary, an Android apk, a HTML5 app ... it is wonderful.

godot-export

from mcthings.

acs avatar acs commented on June 24, 2024

Interesting Open Source game using latest Godot: https://github.com/EdmarDev/Wind-Up-Racer

from mcthings.

acs avatar acs commented on June 24, 2024

Ok, I have completed the https://docs.godotengine.org/en/stable/getting_started/step_by_step/your_first_game.html and now I have a much clearer vision and knowledge about howto create games with Godot. It has been a really nice experience. And physics are used in this simple games. So it seems it is core for the development of any serious game with these engines (and probably from scratch also).

The next step is to learn a bit about 3D in Godot. My idea is that voxels are groups of 3D objects. The collision of groups is something tricky AFAIK reading, so let's focus in learning 3D in Godot, let's create two groups of two cubes, and let's collide them.

from mcthings.

acs avatar acs commented on June 24, 2024

Godot 3D tutorial: https://docs.godotengine.org/en/stable/tutorials/3d/introduction_to_3d.html#spatial-node

Starting to learn with it!

This tutorial does not cover the basics pretty well. Let's find others:

https://www.reddit.com/r/godot/comments/an0iq5/godot_tutorials_list_of_video_and_written/

Godot and MagicaVoxel: https://www.reddit.com/r/godot/comments/9497gz/how_to_3d_voxels_to_pixel_art_with_viewports/

The 3D tutorials are not as complete as the 2D ones (https://godotforums.org/discussion/15767/request-beginner-3d-step-by-step-tutorial) and most of them are inside videos.

For example:

https://www.youtube.com/watch?v=VeCrE-ge8xM

Let's take a look to this eBook: https://godottutorials.pro/free-ebook-godot-game-development/ link

This tutorial seems to be a good reference: https://godottutorials.pro/fps-godot-tutorial/ (the same than the one included in the book).

And this article bout Godot tutorials for Beginners is also pretty interesting, pointing to 3D resources: https://conceptartempire.com/godot-tutorials/

from mcthings.

acs avatar acs commented on June 24, 2024

I would focus in this youtube tutorial:

https://www.youtube.com/watch?v=VeCrE-ge8xM Godot 3.1: Creating a Simple 3D Game: Part 1 (Intro, Nodes & 3D Physics) #GodotEngine

from mcthings.

acs avatar acs commented on June 24, 2024

https://github.com/acs/numbers_attack my first repo about godot. I don't know how far I will get with this educational game for practising number operations. But at least in my mind it is promising. In <1h I have modified the game from the Godot tutorial to adapt it to a new theme: eduactional.

from mcthings.

acs avatar acs commented on June 24, 2024

Ok, let's focus in Godot in implementing physics collisions. Once we know how to do it, it is just doing it with voxels.

So let's do it step by step. Let's go with a simple scene with two objects that collide.

collision

https://github.com/acs/godot-samples/tree/master/HelloCollision

from mcthings.

acs avatar acs commented on June 24, 2024

Ok, I am trying to understand the limits of the physics engine. For example, the final position for this rectangle is wrong according to my intuition. The final position of the rectangle should not be with the vertex up but totally over the ground.

rect_collision_unreal

Configuring "Gravity Scale" to 1.5 fixes the problem:

rect_collision_real

A lot to learn yet about the physics engines.

from mcthings.

acs avatar acs commented on June 24, 2024

Let's read more about how physics work to understand it with more deep.

https://docs.godotengine.org/en/stable/tutorials/physics/index.html

from mcthings.

acs avatar acs commented on June 24, 2024

Will be done in: Voxelers/3d#1

from mcthings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.