Jump to content

damyon

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by damyon

  1. I cannot use the Game Launcher on linux. I have selected games from the workshop within steam and subscribed - steam has downloaded and installed the games - but when I open the launcher, there is never anything to select. This is only a UI problem though because I can launch a game, I just cant do anything to see the list of games or change which one is selected.

     

    (Which is a shame because I just published a game and want to see how it worked in the launcher).

     

    I tried the normal launcher and the beta - same result.

    post-12677-0-83979300-1491400389_thumb.png

  2. I am trying to create a HUD out of some png images - but whenever I draw the image, it shows white where it should be transparent. The image is saved as a png with an alpha channel, but I tried tga as well with the same result. I am using 3.2 Indie Edition on Linux.

     

    The image file is attached.

     

    Here is my code to load the image:

     

    
    

    function Script:Start()

    self.texture = Texture:Load("Materials/HUD/hud.tex")

     

    end

     

    And here is my code to draw it:

    
    

    function Script:PostRender(context)

    context:SetBlendMode(Blend.Alpha)

     

    context:SetColor(1, 1, 1)

    left = context:GetWidth() - self.texture:GetWidth()

    top = context:GetHeight() - self.texture:GetHeight()

    context:DrawImage(self.texture,left,top)

    context:SetBlendMode(Blend.Solid)

     

    context:Sync();

    end

     

    What I think the problem is:

     

    The automated conversion to textures is converting all images to DXCT1 RGB which has no alpha channel, but the working transparent textures that come with the editor use RGBA.

    post-12677-0-87741100-1413692430.png

  3. Anytime I try to import a image and have it converted to a texture it fails. I have tried DDS, jpg, png and bmp images - 1024x1024.

     

    Sample log messages:

    Converting "Materials/Nature/fish.bmp"...

    Converting "Materials/Nature/fish.bmp"...

    File does not exist: /home/damyon/Documents/Leadwerks/Projects/Sheepish/Materials/Nature/fish.tex

    Converting "Materials/Nature/fish.bmp"...

     

    Failed to load thumbnail 6 for /home/damyon/Documents/Leadwerks/Projects/Sheepish/Materials/Nature/fish.tex

    Error: Failed to load texture "/home/damyon/Documents/Leadwerks/Projects/Sheepish/Materials/Nature/fish.tex"

    Failed to load thumbnail 6 for /home/damyon/Documents/Leadwerks/Projects/Sheepish/Materials/Nature/fish.tex

    Error: Failed to load texture "/home/damyon/Documents/Leadwerks/Projects/Sheepish/Materials/Nature/fish.tex"

    Failed to load thumbnail 6 for /home/damyon/Documents/Leadwerks/Projects/Sheepish/Materials/Nature/fish.tex

    Error: Failed to load texture "/home/damyon/Documents/Leadwerks/Projects/Sheepish/Materials/Nature/fish.tex"

     

    This is Leadwerks 3.2 Indie Edition for Steam (Linux).

     

    Thanks!

×
×
  • Create New...