Create a new Node2D scene. Rename the Node2D to ‘Board’. Save the scene as ‘board.tscn’ Attach a script to the ‘Board’ scene and save it as ‘board.gd’ Open the ‘main.tscn’ scene. Right-click ‘GameRoot’ Node and select ‘Instantiate Child Scene…’ -…
Create a new Node2D scene. Rename the Node2D to ‘Main’. Now add a Node2D node to ‘Main’. Rename the new node to ‘GameRoot’. Your scene should now look like this. Save the scene as ‘main.tscn’ Attach a script to the…
Open Godot. Click ‘Create’ in the top-left corner. Name your project – ‘Tetris Game’. Select your project path. Then click ‘Create’ Introduction
In my setup, I have 1 controller node, with a public IP-address. Internally it creates a private network and masquerading. The cluster consists of 6 worker nodes connected to the private network, setup on the controller node. The worker nodes…
I wanted a relatively cheap and sturdy server. And with some Raspberry Pi experience under my belt, I choose the RPi platform. Next, I wanted to boot from an SSD drive. I investigated the capabilities of the RPi 4, of…
I recently bought the Waveshare Pseudo Nixie tube clock from thepihut.com My initial idea was to use it with a raspberry pi pico. However, this wasn’t really possible at the time of writing, due to lack of documentation. Instead I’ve…
My development platform Python venv setup in my platform February 8th, 2025 – Updated to python 3.13 I will be explaining the venv setup as off python 3.4. Tested and verified with the newest python 3.13. Let’s jump right into…
Today I’m going to show you how you can relatively easy parse and extract data from xml files, using the standard xml module. The xml document we’ll be parsing has the following structure. Start by importing the xml.etree.ElementTree function.Then define…
To start with, it’s recommended to do this in a virtual environment. For information on how to set this up on linux mint 21.2, see this post Going forward I assume running python 3.11 in a venv. So in the…