This is a collection of personal utilities facing common issues encountered while developing games.
All the project files are stored under the library/
directory, which is meant to be copied into your project to import it. Under this directory, the structure is the following:
assets
: minimum assets used to test the different componentsdemo
: small demo scenes used as example on the usage of the different componentsscenes
: scene files of the componentsscripts
: script files of the componentsshaders
: collection of different shaders
To import correctly the utilities into your Godot Project, copy and paste the library/
directory in the root of your project. Is this bad? Yes, but its the cleanest solution to not mess with the existing project files.
Some most common image edits can be performed quicker using the imagemagick tool. The following is a list of the most used commands
montage -background transparent -geometry 210x244+0+0 -tile 16x17 *.png atlas.png
montage -background transparent -tile 8x1 *.png atlas.png
convert pickups_copy.png -crop 3x2-0-0@ +repage +adjoin tile-%d.png
convert heart.png -resize 20% heart_small.png
convert heart.png -resize 64x64 heart_small.png
The image is not stretched anyway and is resized to the minimum edge specified. In case of a 256x256 image, -resize 64x128
will result in a 64x64 image