v.y = v.y + v.speed * dt
elseif v.direction == "left" then
v.x = v.x - v.speed * dt
end
end
if player.x < 0 then
player.x = 0
if gun_direction == "left" then
gun.x = 0 - gun.width
elseif gun_direction == "right" then
gun.x = 0 + player.width
elseif gun_direction == "down" then
gun.x = player.x + player.width / 2 - gun.width / 2
elseif gun_direction == "up" then
gun.x = player.x + player.width / 2 - gun.width / 2
end
elseif player.x + player.width > love.graphics.getWidth() then
player.x = love.graphics.getWidth() - player.width
if gun_direction == "right" then
gun.x = love.graphics.getWidth()
elseif gun_direction == "left" then
gun.x = love.graphics.getWidth() - player.width - gun.width
elseif gun_direction == "down" then
gun.x = player.x + player.width / 2 - gun.width / 2
elseif gun_direction == "up" then
gun.x = player.x + player.width / 2 - gun.width / 2
end
end
if player.y < 0 then
player.y = 0
if gun_direction == "up" then
gun.y = 0 - gun.height
elseif gun_direction == "down" then
gun.y = 0 + player.height
elseif gun_direction == "right" then
gun.y = player.y + player.height / 2 - gun.height / 2
elseif gun_direction == "left" then
gun.y = player.y + player.height / 2 - gun.height / 2
end
elseif player.y + player.height > love.graphics.getHeight() then
player.y = love.graphics.getHeight() - player.height
if gun_direction == "down" then
gun.y = love.graphics.getHeight()
elseif gun_direction == "up" then
gun.y = love.graphics.getHeight() - player.height - gun.height
elseif gun_direction == "right" then
gun.y = player.y + player.height / 2 - gun.height / 2
elseif gun_direction == "left" then
gun.y = player.y + player.height / 2 - gun.height / 2
end
end
end
function love.draw()
love.graphics.setColor(1,1,1)
love.graphics.print("Kills: "..kills,love.graphics.getWidth() / 2, 100)
love.graphics.print("Bullet speed:"..bullet_speed, 0, 20)
love.graphics.print("Player speed:"..player.speed, 0, 40)
love.graphics.print("Bullet damage:"..bullet_damage, 0, 60)
if pierce_shot == true then
love.graphics.print("Piercing shot: active", 0, 80)
elseif pierce_shot == false then
love.graphics.print("Piercing shot: inactive", 0, 80)
end
if gameOver == false then
love.graphics.rectangle("fill", player.x, player.y, player.width, player.height)
love.graphics.rectangle("fill", gun.x, gun.y, gun.width, gun.height)
for i, v in ipairs(bullets) do
love.graphics.rectangle("fill", v.x - v.x_origin, v.y - v.y_origin, v.width, v.height)
end
for i, v in ipairs(enemies) do
love.graphics.setColor(1,0,0)
love.graphics.rectangle("fill",v.x,v.y,v.width,v.height)
love.graphics.setColor(0,0,0)
love.graphics.print(v.health,v.x,v.y)
end
elseif gameOver == true then
love.graphics.print("Game Over!", love.graphics.getWidth() / 2,love.graphics.getHeight() / 2)
end
end
function love.keypressed(key)
local turn_timer = 0.1
if key == "down" and count >= turn_timer then
count = 0
gun.width = 10
gun.height = 15
gun.x = player.x + player.width / 2 - gun.width / 2
gun.y = player.y + player.height
bullet_direction = "down"
gun_direction = bullet_direction
elseif key == "right" and count >= turn_timer then
count = 0
gun.width = 15
gun.height = 10
gun.x = player.x + player.width
gun.y = player.y + player.height / 2 - gun.height / 2
elseif v.direction == "left" then
v.x = v.x - v.speed * dt
end
end
if player.x < 0 then
player.x = 0
if gun_direction == "left" then
gun.x = 0 - gun.width
elseif gun_direction == "right" then
gun.x = 0 + player.width
elseif gun_direction == "down" then
gun.x = player.x + player.width / 2 - gun.width / 2
elseif gun_direction == "up" then
gun.x = player.x + player.width / 2 - gun.width / 2
end
elseif player.x + player.width > love.graphics.getWidth() then
player.x = love.graphics.getWidth() - player.width
if gun_direction == "right" then
gun.x = love.graphics.getWidth()
elseif gun_direction == "left" then
gun.x = love.graphics.getWidth() - player.width - gun.width
elseif gun_direction == "down" then
gun.x = player.x + player.width / 2 - gun.width / 2
elseif gun_direction == "up" then
gun.x = player.x + player.width / 2 - gun.width / 2
end
end
if player.y < 0 then
player.y = 0
if gun_direction == "up" then
gun.y = 0 - gun.height
elseif gun_direction == "down" then
gun.y = 0 + player.height
elseif gun_direction == "right" then
gun.y = player.y + player.height / 2 - gun.height / 2
elseif gun_direction == "left" then
gun.y = player.y + player.height / 2 - gun.height / 2
end
elseif player.y + player.height > love.graphics.getHeight() then
player.y = love.graphics.getHeight() - player.height
if gun_direction == "down" then
gun.y = love.graphics.getHeight()
elseif gun_direction == "up" then
gun.y = love.graphics.getHeight() - player.height - gun.height
elseif gun_direction == "right" then
gun.y = player.y + player.height / 2 - gun.height / 2
elseif gun_direction == "left" then
gun.y = player.y + player.height / 2 - gun.height / 2
end
end
end
function love.draw()
love.graphics.setColor(1,1,1)
love.graphics.print("Kills: "..kills,love.graphics.getWidth() / 2, 100)
love.graphics.print("Bullet speed:"..bullet_speed, 0, 20)
love.graphics.print("Player speed:"..player.speed, 0, 40)
love.graphics.print("Bullet damage:"..bullet_damage, 0, 60)
if pierce_shot == true then
love.graphics.print("Piercing shot: active", 0, 80)
elseif pierce_shot == false then
love.graphics.print("Piercing shot: inactive", 0, 80)
end
if gameOver == false then
love.graphics.rectangle("fill", player.x, player.y, player.width, player.height)
love.graphics.rectangle("fill", gun.x, gun.y, gun.width, gun.height)
for i, v in ipairs(bullets) do
love.graphics.rectangle("fill", v.x - v.x_origin, v.y - v.y_origin, v.width, v.height)
end
for i, v in ipairs(enemies) do
love.graphics.setColor(1,0,0)
love.graphics.rectangle("fill",v.x,v.y,v.width,v.height)
love.graphics.setColor(0,0,0)
love.graphics.print(v.health,v.x,v.y)
end
elseif gameOver == true then
love.graphics.print("Game Over!", love.graphics.getWidth() / 2,love.graphics.getHeight() / 2)
end
end
function love.keypressed(key)
local turn_timer = 0.1
if key == "down" and count >= turn_timer then
count = 0
gun.width = 10
gun.height = 15
gun.x = player.x + player.width / 2 - gun.width / 2
gun.y = player.y + player.height
bullet_direction = "down"
gun_direction = bullet_direction
elseif key == "right" and count >= turn_timer then
count = 0
gun.width = 15
gun.height = 10
gun.x = player.x + player.width
gun.y = player.y + player.height / 2 - gun.height / 2
bullet_direction = "right"
gun_direction = bullet_direction
elseif key == "up" and count >= turn_timer then
count = 0
gun.width = 10
gun.height = 15
gun.x = player.x + player.width / 2 - gun.width / 2
gun.y = player.y - gun.height
bullet_direction = "up"
gun_direction = bullet_direction
elseif key == "left" and count >= turn_timer then
count = 0
gun.width = 15
gun.height = 10
gun.x = player.x - gun.width
gun.y = player.y + player.height / 2 - gun.height / 2
bullet_direction = "left"
gun_direction = bullet_direction
end
end
function createBullet()
bullet = {}
bullet.x = gun.x + gun.width / 2
bullet.y = gun.y + gun.height / 2
bullet.width = 5
bullet.height = 5
bullet.speed = bullet_speed or 500
bullet.speedOfBullet = bullet.speed
bullet.direction = bullet_direction
bullet.x_origin = bullet.width / 2
bullet.y_origin = bullet.height / 2
bullet.damage = bullet_damage or 1
table.insert(bullets,bullet)
end
function createEnemy()
local x_min = -300
local x_max = love.graphics.getWidth() + 300
local y_min = -300
local y_max = love.graphics.getHeight() + 300
local deciding_x = math.random(0,1)
local deciding_y = math.random(0,1)
enemy = {}
enemy.width = math.random(20,50)
enemy.height = enemy.width
enemy.area = enemy.height * enemy.width
enemy.close_vert_speed = 0
enemy.close_hor_speed = 0
if pierce_shot == true then
enemy.hit = false
end
if deciding_x == 0 then
enemy.x = math.random(x_min,0)
elseif deciding_x == 1 then
enemy.x = math.random(love.graphics.getWidth(),x_max)
end
if deciding_y == 0 then
enemy.y = math.random(y_min,0)
elseif deciding_y == 1 then
enemy.y = math.random(love.graphics.getHeight(),y_max)
end
if enemy.area >= 2500 then
enemy.vert_speed = 50
enemy.hor_speed = 50
enemy.health = 7
elseif enemy.area >= 2025 then
enemy.vert_speed = 100
enemy.hor_speed = 100
enemy.health = 6
elseif enemy.area >= 1600 then
enemy.vert_speed = 150
enemy.hor_speed = 150
enemy.health = 5
elseif enemy.area >= 1225 then
enemy.vert_speed = 200
enemy.hor_speed = 200
enemy.health = 4
elseif enemy.area >= 900 then
enemy.vert_speed = 250
enemy.hor_speed = 250
enemy.health = 3
elseif enemy.area >= 625 then
enemy.vert_speed = 300
enemy.hor_speed = 300
enemy.health = 2
elseif enemy.area >= 400 then
enemy.vert_speed = 350
enemy.hor_speed = 350
enemy.health = 1
end
table.insert(enemies,enemy)
end
function wave_update()
wave = wave + 1
for i = 1,wave do
createEnemy()
end
end
function checkCollision(a,b)
local a_left = a.x
local a_right = a.x + a.width
local a_top = a.y
local a_bottom = a.y + a.height
local b_left = b.x
local b_right = b.x + b.width
local b_top = b.y
local b_bottom = b.y + b.height
return a_right > b_left
and a_left < b_right
and a_bottom > b_top
and a_top < b_bottom
end
function upgradeSelect()
upgrade = math.random(1,#upgrades)
player_speed = 350
bullet_speed = 500
bullet_damage = 1
if upgrades[upgrade] == "piercing" then
pierce_shot = true
table.remove(upgrades,i)
elseif upgrades[upgrade] == "bulletspeed" then
bullet_speed = bullet.speedOfBullet + 100
elseif upgrades[upgrade] == "playerspeed" then
player_speed = player.speed + 50
player.speed = player_speed
gun.speed = player_speed
elseif upgrades[upgrade] ==
gun_direction = bullet_direction
elseif key == "up" and count >= turn_timer then
count = 0
gun.width = 10
gun.height = 15
gun.x = player.x + player.width / 2 - gun.width / 2
gun.y = player.y - gun.height
bullet_direction = "up"
gun_direction = bullet_direction
elseif key == "left" and count >= turn_timer then
count = 0
gun.width = 15
gun.height = 10
gun.x = player.x - gun.width
gun.y = player.y + player.height / 2 - gun.height / 2
bullet_direction = "left"
gun_direction = bullet_direction
end
end
function createBullet()
bullet = {}
bullet.x = gun.x + gun.width / 2
bullet.y = gun.y + gun.height / 2
bullet.width = 5
bullet.height = 5
bullet.speed = bullet_speed or 500
bullet.speedOfBullet = bullet.speed
bullet.direction = bullet_direction
bullet.x_origin = bullet.width / 2
bullet.y_origin = bullet.height / 2
bullet.damage = bullet_damage or 1
table.insert(bullets,bullet)
end
function createEnemy()
local x_min = -300
local x_max = love.graphics.getWidth() + 300
local y_min = -300
local y_max = love.graphics.getHeight() + 300
local deciding_x = math.random(0,1)
local deciding_y = math.random(0,1)
enemy = {}
enemy.width = math.random(20,50)
enemy.height = enemy.width
enemy.area = enemy.height * enemy.width
enemy.close_vert_speed = 0
enemy.close_hor_speed = 0
if pierce_shot == true then
enemy.hit = false
end
if deciding_x == 0 then
enemy.x = math.random(x_min,0)
elseif deciding_x == 1 then
enemy.x = math.random(love.graphics.getWidth(),x_max)
end
if deciding_y == 0 then
enemy.y = math.random(y_min,0)
elseif deciding_y == 1 then
enemy.y = math.random(love.graphics.getHeight(),y_max)
end
if enemy.area >= 2500 then
enemy.vert_speed = 50
enemy.hor_speed = 50
enemy.health = 7
elseif enemy.area >= 2025 then
enemy.vert_speed = 100
enemy.hor_speed = 100
enemy.health = 6
elseif enemy.area >= 1600 then
enemy.vert_speed = 150
enemy.hor_speed = 150
enemy.health = 5
elseif enemy.area >= 1225 then
enemy.vert_speed = 200
enemy.hor_speed = 200
enemy.health = 4
elseif enemy.area >= 900 then
enemy.vert_speed = 250
enemy.hor_speed = 250
enemy.health = 3
elseif enemy.area >= 625 then
enemy.vert_speed = 300
enemy.hor_speed = 300
enemy.health = 2
elseif enemy.area >= 400 then
enemy.vert_speed = 350
enemy.hor_speed = 350
enemy.health = 1
end
table.insert(enemies,enemy)
end
function wave_update()
wave = wave + 1
for i = 1,wave do
createEnemy()
end
end
function checkCollision(a,b)
local a_left = a.x
local a_right = a.x + a.width
local a_top = a.y
local a_bottom = a.y + a.height
local b_left = b.x
local b_right = b.x + b.width
local b_top = b.y
local b_bottom = b.y + b.height
return a_right > b_left
and a_left < b_right
and a_bottom > b_top
and a_top < b_bottom
end
function upgradeSelect()
upgrade = math.random(1,#upgrades)
player_speed = 350
bullet_speed = 500
bullet_damage = 1
if upgrades[upgrade] == "piercing" then
pierce_shot = true
table.remove(upgrades,i)
elseif upgrades[upgrade] == "bulletspeed" then
bullet_speed = bullet.speedOfBullet + 100
elseif upgrades[upgrade] == "playerspeed" then
player_speed = player.speed + 50
player.speed = player_speed
gun.speed = player_speed
elseif upgrades[upgrade] ==
"bulletdamage" then
bullet_damage = bullet.damage + 1
end
end
Alright, so this is the code I am using, I have added basic upgrades to the game that you get randomly after each wave. With my code currently as is shown here, whenever the createBullet() function is run it will not add to the bullets list, or maybe the bullets list is being cleared? Anyways if someone could tell me why it will not make any bullets, and maybe send an updated version of the code that would be great.
https://redd.it/1gdtv37
@r_lua
bullet_damage = bullet.damage + 1
end
end
Alright, so this is the code I am using, I have added basic upgrades to the game that you get randomly after each wave. With my code currently as is shown here, whenever the createBullet() function is run it will not add to the bullets list, or maybe the bullets list is being cleared? Anyways if someone could tell me why it will not make any bullets, and maybe send an updated version of the code that would be great.
https://redd.it/1gdtv37
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Any way to decompile .dll to .lua ?
I recently found a dll that was written in lua, but I have no idea to decompile it to readable source code or simmilar, I tried using IDA but I don't know anything about binary or hex codes so thats a no for me, I only found ways to compile lua code to executable .dll or .exe, but I want to decompile it from the alredy compiled code, is there a way to reverse engineer the .dll file?. I read that maybe lua code is compiled in C++
What programms do you recommend to decompile the dll with? (already tried dnSpy, but it doesnt work with lua)
Is there any way to make the .dll readable or useful? (making it runnable, readable or editable in .lua)
I appreciate any help or thoughts.
https://redd.it/1gdyfh4
@r_lua
I recently found a dll that was written in lua, but I have no idea to decompile it to readable source code or simmilar, I tried using IDA but I don't know anything about binary or hex codes so thats a no for me, I only found ways to compile lua code to executable .dll or .exe, but I want to decompile it from the alredy compiled code, is there a way to reverse engineer the .dll file?. I read that maybe lua code is compiled in C++
What programms do you recommend to decompile the dll with? (already tried dnSpy, but it doesnt work with lua)
Is there any way to make the .dll readable or useful? (making it runnable, readable or editable in .lua)
I appreciate any help or thoughts.
https://redd.it/1gdyfh4
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Is there a guide on installing luarocks for windows for a complete beginner?
I've been programming with lua for about 2 months now, I learned a lot and its my first language. Basically, I don't know anything about programming and I wanna get some extensions for lua, however, every installation guide for luarocks in windows is extremely complex and features incomprehensible terms for someone like me, I don't have any of the tools that I need and every guide mentions different tools that I dont wanna get in fear of polluting my new pc. Can someone who got it to work on their machine give me a short guide or direction on how to do it?
https://redd.it/1geikiq
@r_lua
I've been programming with lua for about 2 months now, I learned a lot and its my first language. Basically, I don't know anything about programming and I wanna get some extensions for lua, however, every installation guide for luarocks in windows is extremely complex and features incomprehensible terms for someone like me, I don't have any of the tools that I need and every guide mentions different tools that I dont wanna get in fear of polluting my new pc. Can someone who got it to work on their machine give me a short guide or direction on how to do it?
https://redd.it/1geikiq
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Lua 1 Con : 1 Pro
Hello! I started thinking about different programming languages, and their Pros and Cons (in general, not compared to each other). Each serious language has their advantages & disadvantages. I try to think about this in this format: I think of 1 Pro, something I really like about the language, and then think of 1 Con of the language, related or not to the Pro. I ask yall, Lua community, what do you think is one pro and one con of Lua as a language. I will begin:
Pro: Ik some people disagree, but I love objects being tables in Lua. It fits very well in the noscripting nature of Lua, as it's very easy to operate.
Con: I think that lack of arrays/lists is a bit annoying, and something like `array.append(...)` looks much cleaner than `array[#array+1\]=...`
Pro: I love the `:` operator, it's a nice distinguish between "non-static" and "static" function access.
Con: I feel like Lua's syntax is too simplistic. Ik it's one of the selling points, but lack of simple `+=` operators is... annoying and makes clean beautiful Lua look less clean. Ik it's hard to implement in the current parser, but it would be nice to have that.
https://redd.it/1gejvfd
@r_lua
Hello! I started thinking about different programming languages, and their Pros and Cons (in general, not compared to each other). Each serious language has their advantages & disadvantages. I try to think about this in this format: I think of 1 Pro, something I really like about the language, and then think of 1 Con of the language, related or not to the Pro. I ask yall, Lua community, what do you think is one pro and one con of Lua as a language. I will begin:
Pro: Ik some people disagree, but I love objects being tables in Lua. It fits very well in the noscripting nature of Lua, as it's very easy to operate.
Con: I think that lack of arrays/lists is a bit annoying, and something like `array.append(...)` looks much cleaner than `array[#array+1\]=...`
Pro: I love the `:` operator, it's a nice distinguish between "non-static" and "static" function access.
Con: I feel like Lua's syntax is too simplistic. Ik it's one of the selling points, but lack of simple `+=` operators is... annoying and makes clean beautiful Lua look less clean. Ik it's hard to implement in the current parser, but it would be nice to have that.
https://redd.it/1gejvfd
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Is pairs() compiled in luajit?
Can't find a reliable source about this. As I remember correctly in luajit 2.0 it can't be compiled and used in interpreter mode. What is the current state of
https://redd.it/1gewkz0
@r_lua
Can't find a reliable source about this. As I remember correctly in luajit 2.0 it can't be compiled and used in interpreter mode. What is the current state of
pairs() in latest luajit?https://redd.it/1gewkz0
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
all LUA noscripts will lose after changing windows ?
i have like 18 lua currently in desktop default just wondering what happens to them after changing windows are they saved in logitech account or i must export all ?
https://redd.it/1gf2hfs
@r_lua
i have like 18 lua currently in desktop default just wondering what happens to them after changing windows are they saved in logitech account or i must export all ?
https://redd.it/1gf2hfs
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Finding better syntax : conditional statement
[ ideal \]
[ my code \]
Can I make this better?
https://redd.it/1gfjjww
@r_lua
[ ideal \]
if temp_id == ['57', '61', '62'] then[ my code \]
if temp_id == '57' or temp_id == '62' or temp_id == '63' then Can I make this better?
https://redd.it/1gfjjww
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Finding better syntax : string.match
Note that, my IDE doesn't support return value of Boolean but only String.
< ideal >
but above code doesn't work due to the limited support by IDE
so I have to use like this :
To deal with this, is there a better idea to do this? such as..
https://redd.it/1gfjic6
@r_lua
Note that, my IDE doesn't support return value of Boolean but only String.
< ideal >
if string.match(self.Entity.CurrentMapName, 'idle|proklisi') == thenbut above code doesn't work due to the limited support by IDE
so I have to use like this :
if string.match(self.Entity.CurrentMapName, 'idle') = 'idel' or ~ ... thenTo deal with this, is there a better idea to do this? such as..
if string.match(self.Entity.CurrentMapName, 'idle|proklisi') == ('idle' or 'proklisi') thenhttps://redd.it/1gfjic6
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
فك تشفير
يخوان احد يعرف كيف افك تشفير fxap ؟
سكربت fivem
Do you know how to decrypt fxap?
Sicript Fivem
https://redd.it/1gfovfw
@r_lua
يخوان احد يعرف كيف افك تشفير fxap ؟
سكربت fivem
Do you know how to decrypt fxap?
Sicript Fivem
https://redd.it/1gfovfw
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Beginer help: string
I'm totally new at coding and I got assigment to capitalize the first letters of the words in sentence. I don't understand how to do it.
If someone could tell me how to do that I would be grateful.
The sentence is "Is your dog's house red?"
https://redd.it/1gfry7u
@r_lua
I'm totally new at coding and I got assigment to capitalize the first letters of the words in sentence. I don't understand how to do it.
If someone could tell me how to do that I would be grateful.
The sentence is "Is your dog's house red?"
https://redd.it/1gfry7u
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
luarocks interpreter
I tried using luarocks but since I use lua5.1 I got this error
Error: Lua 5.4 interpreter not found at C:\Program Files\to\lua
Please set your Lua interpreter with:
luarocks --local config variables.LUA <d:\path\lua.exe>
I tried these
luarocks config variables.LUA <C:\Program Files\lua\lua5.1.exe>
luarocks config variables.LUA "C:\Program Files\lua\lua.exe"
and many more
whenever i type luarocks config variables.LUA
Error: Unknown entry LUA
i already have lua set in the evir
how would i be able to fix it?
https://redd.it/1gfsma9
@r_lua
I tried using luarocks but since I use lua5.1 I got this error
Error: Lua 5.4 interpreter not found at C:\Program Files\to\lua
Please set your Lua interpreter with:
luarocks --local config variables.LUA <d:\path\lua.exe>
I tried these
luarocks config variables.LUA <C:\Program Files\lua\lua5.1.exe>
luarocks config variables.LUA "C:\Program Files\lua\lua.exe"
and many more
whenever i type luarocks config variables.LUA
Error: Unknown entry LUA
i already have lua set in the evir
how would i be able to fix it?
https://redd.it/1gfsma9
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Help for the structure
Hi!
For a project, I need to create Lua noscript to communicate with an haxe application. However, I struggle heavily to make the IDE for Lua work with classes. The class definitions are not shared with the instances and it makes coding a pain.
Is there a better way or text-editor to make the development easier?
Thank you!
https://preview.redd.it/qo6xeuasm4yd1.png?width=244&format=png&auto=webp&s=aa88447dcae142d2cb92f652d00465ffce317ae2
https://redd.it/1ggk2zp
@r_lua
Hi!
For a project, I need to create Lua noscript to communicate with an haxe application. However, I struggle heavily to make the IDE for Lua work with classes. The class definitions are not shared with the instances and it makes coding a pain.
Is there a better way or text-editor to make the development easier?
Thank you!
https://preview.redd.it/qo6xeuasm4yd1.png?width=244&format=png&auto=webp&s=aa88447dcae142d2cb92f652d00465ffce317ae2
https://redd.it/1ggk2zp
@r_lua
So what now?!
HI! i coded with python for about 10 months now but the performance was "not good" (Terrible) and I searched for over 1 month now for coding languages and devided for lua so.
1st: what do you need to start coding (windows)
2nd:any good tutorials on youtube (full guide) that arent over 3 years old?
https://redd.it/1gh8r3k
@r_lua
HI! i coded with python for about 10 months now but the performance was "not good" (Terrible) and I searched for over 1 month now for coding languages and devided for lua so.
1st: what do you need to start coding (windows)
2nd:any good tutorials on youtube (full guide) that arent over 3 years old?
https://redd.it/1gh8r3k
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
HOW ROBLOX EVEN EXISTS
Hey guys rapid question:
HOW DOES ROBLOX EVEN EXISTS
It was made in the first years of 2000, so I don't think they used OpenGL or Frameworks, so PLEASE GIVE ME AND EXPLANATION ON HOW ROBLOX WORKS
https://redd.it/1gh8qbs
@r_lua
Hey guys rapid question:
HOW DOES ROBLOX EVEN EXISTS
It was made in the first years of 2000, so I don't think they used OpenGL or Frameworks, so PLEASE GIVE ME AND EXPLANATION ON HOW ROBLOX WORKS
https://redd.it/1gh8qbs
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
The best way to learn Lua
https://exercism.org/tracks/lua/exercises :0
idk why i even posted this
https://redd.it/1ghecia
@r_lua
https://exercism.org/tracks/lua/exercises :0
idk why i even posted this
https://redd.it/1ghecia
@r_lua
Exercism
Lua exercises on Exercism
Explore the 111 Lua exercises on Exercism
Roblox Studio (that uses lua noscript for noscripting games) just added ability to add comments to functions
https://www.youtube.com/watch?v=bII-FIL2w-E
https://redd.it/1ghfrlb
@r_lua
https://www.youtube.com/watch?v=bII-FIL2w-E
https://redd.it/1ghfrlb
@r_lua
YouTube
ROBLOX drops new USEFUL studio update for LUA noscript devs
New ROBLOX Studio update is here for LUA developers! You can now add comments to functions in roblox studio (lua noscript) and style them using SOME available html tags.
Dev forum: https://devforum.roblox.com/t/new-noscript-editor-hover-tips-and-user-defined…
Dev forum: https://devforum.roblox.com/t/new-noscript-editor-hover-tips-and-user-defined…
I manage to embed lua vm to my project!
Hey Lua community! I wanted to share a project I've been working on called RapidForge, it platform for building internal apps, automating tasks and creating web pages. Everything comes with a single binary and I manage to embed Lua VM into RapidForge. Big thanks to the Cosmopolitan project for making this possible!
With RapidForge, you can easily set up webhooks, schedule periodic tasks, and implement custom business logic using Lua. The platform takes care of the boilerplate for you, parsing request data automatically and making it available as environment variables (I’m planning to improve this further).
Lua is amazing language, I think its also a perfect language to experiment its small but performant and very easy to learn.
https://redd.it/1ghh7z7
@r_lua
Hey Lua community! I wanted to share a project I've been working on called RapidForge, it platform for building internal apps, automating tasks and creating web pages. Everything comes with a single binary and I manage to embed Lua VM into RapidForge. Big thanks to the Cosmopolitan project for making this possible!
With RapidForge, you can easily set up webhooks, schedule periodic tasks, and implement custom business logic using Lua. The platform takes care of the boilerplate for you, parsing request data automatically and making it available as environment variables (I’m planning to improve this further).
Lua is amazing language, I think its also a perfect language to experiment its small but performant and very easy to learn.
https://redd.it/1ghh7z7
@r_lua
rapidforge.io
RapidForge | Low-Code Platform for Apps, Automation & Web Development
Build internal tools, automate workflows and create web pages with RapidForge. Ideal for developers, DevOps and SOAR teams seeking a low code solution.