Posts by GustavoGLD • 25 points
4 posts
-
1
votes1
answer44
viewsQ: Problem rendering multiple objects in Opengl Legacy (GLFW)
I am trying to render a circle and a rectangle, and both will have independent motion (Remake of Pong), but the problem is that the glTranslatef() of one is influencing the other, if one goes to the…
-
0
votes1
answer556
viewsQ: Visual Studio Code does not suggest Unity methods and classes
If I type the code and pass it to Unity, Unity runs the code normally, but Visual Studio is not recognizing Unity (as you can see in the colors of the photo below), which makes it very difficult to…
-
1
votes2
answers47
viewsQ: Problem when I try to import my own modules into Lua (not found)
In the main file.lua: local calculadora = { somar = function(x, y) return x + y end } function calculadora.multiplicar(x, y) return x * y end return calculadora In the Copyofmain file. local…
-
-2
votes2
answers68
viewsQ: Comparison of numbers read with "io.read()" does not result in true as expected
I tried to put 1 and the second print was not. If I change x=io.read() for "x=1" it works normally Follows the code x = io.read() if x ~= 0 then print(x.." diferente de 0") end if x == 1 then…