Day 19 in Godot Engine

Practical: Continuing with “Using CSG” in “Intro to 3D” from “GODOT101” at “Kids Can Code org”; the “CSGBox”, “CSGPolygon”, polygon edit tool, geometry materials and lights.

Conversation topic: Introducing complexity management, revisiting finished tutorials to potentially implement improvements and “updates”. For more exercise and skill development.

Reusing script code

In this recipe a new scene was added that required functionality from a scene build previously. Capturing the mouse and releasing it form and into game window.

I attached a script from last tutorial chapter to the new scene for this tutorial. To avoid duplication. Since, I’m using the same Godot project following “GODOT101: Intro to 3D” all along.

Modelling simple world environment

“Constructive Solid Geometry” nodes allow to quickly mock up a gameplay environment. Using geometry primitives like CSGBox, CSGPolygon and so on it is possible to create more complex structures. Nesting those in CSGCombiner makes it all more easier to organise and mange in the scene.

Working with tools for moddeling the CSGPolygon

Applied a “Material” property to the CSG nodes and addend “Light” nodes

Another great opportunity to exercise working in 3D environment, handling physics and geometry.

Link to the tutorial website: “GODOT101” at “Kids Can Code org”.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *