turtle ~master
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
draw
override. - Text console is above that, but also happen in the
draw
override. - 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
- ~master released 2 months ago
- p0nce/turtle
- BSL-1.0
- Dependencies:
- canvasity, dplug:canvas, text-mode, dplug:math, bindbc-sdl, colors
- Versions:
-
0.1.1 2025-Mar-30 0.1.0 2025-Mar-23 0.0.18 2024-Oct-16 0.0.17 2024-Jul-12 0.0.16 2024-May-24 - Download Stats:
-
-
0 downloads today
-
2 downloads this week
-
2 downloads this month
-
153 downloads total
-
- Score:
- 1.0
- Short URL:
- turtle.dub.pm