LuaRT Ships with it's own IDE.

Started by Pfaber11, June 13, 2024, 07:52:57

Previous topic - Next topic

Pfaber11

Been looking at this and it ticks my boxes from what I have seen. It is free and comes with it's own IDE which seems nice enough. It describes itself as being fast and with the click of a button produces nice little exe's. Hopefully this one is a keeper but we'll see. I think Lua is quite main stream and from what I have seen is similar to AGK BASIC and other BASIC'S. For me if I can't use goto/label then it is not for me and thankfully LuaRT supports this.  It is an extended version of Lua with a framework for general purpose programming. The RT stands for RUN TIME. If anybody has any experience of LuaRT please tell me how you got on. 
  Happy coding  8)
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Pfaber11

There is also ZeroBrane IDE which is host to quite a few distros of Lua but not one I wanted to use. They are both resident on my computer.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Pfaber11

LuaRT has one thing that I don't think is available in zerobrane and that is it produces windows .exe files.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Pfaber11

Decided to go the LuaRT route for now. Made my first exe file and it works. This is my reason LuaRT gets the job. 
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Hotshot

I have been using it as well and try get sprites on screen but somehow it doesnt look right!

local ui = require "ui"
require "canvas"

-- create a simple Window
local win = ui.Window("Drawing Sprites sample", "fixed", 640, 220)

-- create a Canvas
local canvas = ui.Canvas(win)
canvas.align = "all"

local img = canvas:Image("bgd2_montagnes.png")

function canvas:onPaint()
 
  img:draw(0,0, 640 , 220)
end

win:show()

-- update user interface
repeat
  canvas:onPaint()
until not win.visible

Pfaber11

I see you do not use goto label. I do and my code for doing something similar would be very different.
I'm gonna try and get the same effect or similar and we'll see.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10

Pfaber11

Hey Hotshot you are doing better than me. I really want to learn Lua and this looked like a pretty good option and I'm learning something for the future. 
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb ssd
HP Desktop; AMD 6700 A10 16GB ram 2 GB graphics card windows 10