tyro

所属分类:Pascal/Delphi编程
开发工具:Pascal
文件大小:0KB
下载次数:0
上传日期:2023-03-20 20:57:46
上 传 者sh-1993
说明:  Lua和其他简单平台中的编程,使编程变得有趣
(Lua and other programming in simple platform to make programming fun)

文件列表:
LICENSE (1069, 2023-08-23)
bin/ (0, 2023-08-23)
bin/fonts/ (0, 2023-08-23)
bin/fonts/font.png (858, 2023-08-23)
bin/tyro.cfg.default (0, 2023-08-23)
demos/ (0, 2023-08-23)
demos/colors_bar.lua (258, 2023-08-23)
demos/multiply.lua (126, 2023-08-23)
demos/music.lua (4829, 2023-08-23)
demos/sin.lua (295, 2023-08-23)
demos/text.lua (183, 2023-08-23)
demos/willtell.it (184768, 2023-08-23)
src/ (0, 2023-08-23)
src/TyroConsoles.pas (77060, 2023-08-23)
src/TyroEditors.pas (272, 2023-08-23)
src/TyroEngines.pas (7695, 2023-08-23)
src/TyroLua.pas (19031, 2023-08-23)
src/TyroPascal.pas (12827, 2023-08-23)
src/TyroScripts.pas (13471, 2023-08-23)
src/lua53.pas (43826, 2023-08-23)
src/raylib/ (0, 2023-08-23)
src/raylib/RayClasses.pas (8471, 2023-08-23)
src/raylib/RayLib.pas (152302, 2023-08-23)
src/raylib/RayLibPkg.lpk (1090, 2023-08-23)
src/raylib/RayLibPkg.pas (271, 2023-08-23)
src/raylib/demo/ (0, 2023-08-23)
src/raylib/demo/delphi/ (0, 2023-08-23)
src/raylib/demo/delphi/audio_raw_stream.dpr (6611, 2023-08-23)
src/raylib/demo/delphi/audio_raw_stream.dproj (8039, 2023-08-23)
src/raylib/examples/ (0, 2023-08-23)
src/raylib/examples/audio/ (0, 2023-08-23)
src/raylib/examples/audio/audio_raw_stream.lpi (1960, 2023-08-23)
src/raylib/examples/audio/audio_raw_stream.lpr (5803, 2023-08-23)
src/raylib/examples/audio/resources/ (0, 2023-08-23)
src/raylib/examples/audio/resources/chiptun1.mod (2142, 2023-08-23)
src/raylib/examples/audio/resources/coin.wav (4776, 2023-08-23)
... ...

# Tyro Runing embed programming language in simple graphical environment, for kids and newbies, using [raylib](https://www.raylib.com/) as small game engine to draw. Now I am working on adding Lua, in the future I want to add more simple progamming lanuguages like Basic. 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. # Lua Example ```lua canvas.text(10, 30, 'Printing text test') i = 1000000 canvas.color = colors.black canvas.line(0, 100, canvas.width, 100) while i > 0 do c = math.random(3, colors.count) canvas.color = colors[c] r = math.random(5, 20) --size of circle x = math.random(640) y = math.random(480) canvas.circle(x, y, r, true) r = math.random(5, 20) --size of circle x = math.random(640) y = math.random(480) canvas.rectangle(x, y, r, r, true) sleep(10) i = i - 1 end ``` # Issues There is problem in raylib, in fact in OpenGL that cannot/not easy share texture between threads, we need another trick to pass drawing commands to main thread, but now i am sending objects to draw it in main thread, it is work fine until now https://github.com/raysan5/raylib/issues/454 # Compile Use FreePascal 3.x or Lazarus with it # Libraries You need only MiniLib package minilib.lpk [minilib](https://github.com/parmaja/minilib) # Dependencies [raylib](https://www.raylib.com/) for raylib.dll/so put it in same of tyro exe folder [Lua](https://www.lua.org/) for lua dll 5.3 in same of tyro exe folder # Ported You do not need to use it, it is already in the source folder [Lua4Lazarus](https://github.com/malcome/Lua4Lazarus) # TODO [Sard Objects](https://github.com/parmaja/p-sard) ### Competition [yabasic](http://www.yabasic.de)

近期下载者

相关文件


收藏者