Skip to content
parmajaPublic

About

Lua and other programming in simple platform to make programming fun

Topics

Resources

Stars

21 stars

Watchers

2 watching

Forks

Repository files navigation

Tyro

Runing embed programming language in simple graphical environment, for kids and newbies, using raylib as small game engine to draw. Currently supports Lua (.tyro / .lua). It also should have editing tool inside that environment, console output and input, work in same graphical window. playing sound using mmf code.

It is More simulating old computer, but with modern languages and graphic.

Documentation

The full API and the onboarding path live in docs/ — one page per topic, with a start-here ladder at docs/README.md:

Getting started run your first script, command line, script arguments
Input keyboard, mouse, touch, gamepad
Sprites the heart of every Tyro game
Tilemaps · Physics grids, gravity, collisions
3D models · Cameras models, lights, free and 2D cameras
Shader effects · Controls shader presets, screen shake, in-window widgets
Timing update/draw, timers, tweens, events, joints, save/load
Game helper · Files · Network · Console the helper tables
Examples · Threading the demo index, and how the engine runs

Feature stories and design notes — why fonts bake, how tweens tick — are in help/.

Try it

tyro demos/pong.tyro

A .tyro file is a Lua script: window.show(640, 480), then update(dt) / draw() callbacks — the first example is here. Without a script argument Tyro starts an interactive console session; tyro --help lists the command line options.

Issues

There is problem in raylib, in fact in OpenGL that cannot/not easy share texture between threads, we need used a trick to pass drawing commands to main thread

raysan5/raylib#454

Compile

Lazarus or Delphi

Libraries

minilib MiniLib package minilib.lpk

miniLua MiniLua package minilua.lpk

Dependencies

raylib for raylib.dll/so put it in same of tyro exe folder

pluto

Competition

love2d

yabasic

Fonts

Thanks for

https://pixelfonts.org/#116

https://github.com/IT-Studio-Rech/bdf-fonts

https://forums.adafruit.com/viewtopic.php?t=203655

About

Lua and other programming in simple platform to make programming fun

Topics

Resources

Stars

21 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages