Shin_NiL:
Only for curiosity I made your velocity test in Love2d.... and the results are depresive... I put the code:
counter = 0
tiempo_inicio = love.timer.getTime()
loop1 = 0
loop2 = 0
loop3 = 0
for i=1,10 do
loop1 = loop1 + 1
for i=1,3200 do
loop2 = loop2 + 1
for i=1,3200 do
loop3 = loop3 + 1
counter = counter + 1
if counter > 50 then
counter = 0
end
end
end
end
tiempo_fin = love.timer.getTime()
tiempo_total = tiempo_fin - tiempo_inicio
function love.draw()
love.graphics.print(tiempo_inicio, 400, 250)
love.graphics.print(loop1, 400, 275)
love.graphics.print(loop2, 400, 300)
love.graphics.print(loop3, 400, 325)
love.graphics.print(tiempo_fin, 400, 350)
love.graphics.print("Tiempo total en segundos", 400, 375)
love.graphics.print(tiempo_total, 400,450)
end
Results are....
Godot need 35 seconds in editor and 27 seconds in export release without debug mode, no matters if use while or for loop.
Love2d need 0,16 seconds in the same operation.
Obviously there´s something wrong with that. Is Interpreted-Lua 150 times faster than Gdscript/python?