Diego5714
-
Posts
3 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by Diego5714
-
-
I'm in the process of making my first game, so i went to Leadwerks and started creating things.
The problem comes when I want to make that a door opens when 2 pressure plates are activated.
So, i wrote this code to create a "switch" that requires 2 inputs to output a signal to the door (in the flowgraph editor), but it doesn't work...
function Script:Start()
bool1 = false
bool2 = false
end
function Script:Input1() --in
bool1 = true
end
function Script:Input2() --in
bool2 = true
end
if (bool1 == true and bool2 == true) then
self.component:CallOutputs("Output")
end
what i'm doing wrong? i'm very new in programming
-
My problem is the following:
I bought Leadwerks some weeks ago, and now I want to use it.
As it requires OpenGL4, I believed that it would run on the latest version of RadeonSI supporting OpenGL 4.1, but when I try to launch the application, A window pops up saying that it "Failed to initialize Graphics" and that I should update my graphics driver. This is a thing that I do not want, as AMD Crimson edition is ****.
When i launch the application with steam opened via terminal, it says that it is running in "experimental openGL 3 fallback".
Im sure that the driver suports openGL 4.1, as I have checked it via GLXINFO
My system is:
CPU: Intel Pentium G4400
GPU: AMD HD 7770 (Cape Verde XT)
Ram: 16 GB DDR4
OS: Ubuntu 15.10
Driver: RadeonSI over Mesa 11.3 devel.
How to make a door open by more than 1 switch?
in Programming
Posted
Ok, thanks. I managed to get it work