Jump to content

Diego5714

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Diego5714

  1. 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

  2. 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.

    post-17075-0-36250100-1457649624_thumb.png

    post-17075-0-01068400-1457649631_thumb.png

    post-17075-0-63936800-1457649638_thumb.png

×
×
  • Create New...