This repository contains small examples I've created to help me experiment with and integrate simple features into my other personal projects.
This directory contains examples using the Go programming language with the Ebitengine library. It includes:
-
embed: Demonstrates how to embed fonts (.ttf), sounds (.wav), images (.png), and text files (.txt) for use with Go and Ebitengine. This is especially important when building for the web, as loading external files may cause errors. Embedding resources is also a more efficient approach. -
img_transformations: Demonstrates how to flip images, display sprites at their actual scale, and understand the coordinate system.
This directory contains examples using Python with the Pygame Community Edition library. It includes:
particles: Demonstrates a simple particle emission system. Move the mouse and click to stop the emission.