perbone / luascript

Lua language support for Godot Engine
Apache License 2.0
633 stars 45 forks source link

[output overflow, print less text!] #16

Closed Heyter closed 4 years ago

Heyter commented 4 years ago

Godot 3.2 Windows 10

local class = require 'lua.class' -- Import the system class library
godot.Node2D = require 'godot.Node2D' -- Make sure to import the base class

local Node2d = class.extends(godot.Node2D) -- Create the user subclass

function Node2d:_ready()
    print('Hello world')
end

function Node2d:_process(delta)

end

return Node2d
rosshadden commented 4 years ago

I'm guessing this was closed because it is lacking info, but I think I'm experiencing the same problem. Luascript kind of just constantly prints to the output pane, flooding it even when the game isn't running. When a game is running, I can't see the output of my own print statements and I do see [output overflow, print less text!] printed at one point, before it gets flooded again.

Can these be disabled or debug only or something?

perbone commented 4 years ago

I guess it should be more log friendly. I'll make it obey the 'verbose' command line parameter. Would that be ok?

rosshadden commented 4 years ago

Yeah that sounds great. Thanks!