turtle 0.1.3
Tiny game engine for creative Friday programming.
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
<img alt="logo" src="https://raw.githubusercontent.com/p0nce/turtle/master/logo.png" width="200">
turtle
The turtle package provides a friendly and software-rendered drawing solution, for simple programs and games that happen to be written on a Friday.
Features
turtle basically gives you 5 ways to draw on screen and express yourselves.
- A fast but limited software rasterizer with the
canvas()API call. (See project: dg2d) - A slow but nicer software rasterizer with the
canvasity()API call. (See project: canvasity) - A text-mode console with the
console()API call. (See project: text-mode) - An immediate software-based UI with the
ui()API call. (See project: microui) - Direct pixel access with the
framebuffer()API call.
The draw order is as follow:
- Direct pixel access, and canvases, can happen simulaneously in the
drawoverride. - Text console is above that, but also happen in the
drawoverride. - Immediate UI is on top, and happen in the
gui()override.
Changelog
Version 0.1 (March 25th 2025) Port to SDL3.
Examples
See examples/ directory.
Philosophy
https://www.youtube.com/watch?v=kfVsfOSbJY0
- 0.1.3 released a month ago
- p0nce/turtle
- BSL-1.0
- Dependencies:
- canvasity, dplug:canvas, text-mode, dplug:math, bindbc-sdl, colors
- Versions:
-
Show all 22 versions0.1.3 2025-Nov-01 0.1.2 2025-Apr-14 0.1.1 2025-Mar-30 0.1.0 2025-Mar-23 0.0.18 2024-Oct-16 - Download Stats:
-
-
0 downloads today
-
3 downloads this week
-
4 downloads this month
-
177 downloads total
-
- Score:
- 0.9
- Short URL:
- turtle.dub.pm