Jump to content
  • entries
    51
  • comments
    106
  • views
    31,074

A Quick Update For LEX


reepblue

1,547 views

 Share

I recently updated the Leadwerks Extended Executable with more shaders, and hot fixes. Fetch and pull this update in git. I wanted to post this yesterday, but I was having issues.

 

Fix 1: No more crashing upon Alt+Tabbing

This fix is eventually gonna be made engine side, but I was not sure if Josh plans on that being pushed to the default branch, or the beta branch. While the beta and default branch are synced, I jumped the gun and fixed it.

 

 //---------------------------------------------------------\\

// This will be fixed engine side in a future version of LE.

// For now, we are gonna apply this patch.

if (window->Active())

{

// Update the world.

world->Update();

}

 

if (window->Minimized() == false)

{

world->Render();

}

//---------------------------------------------------------\\

 

2: Fixed saving conflict between the options and advanced options panel.

Before I went to bed last night, I noticed that if you edited a property on the advanced panel, then edited a property on the options menu, the old value you just changed on the advanced panel would reset. This has been fixed by reloading the xml file before it saves values.

 

3: Fullscreen mode will now always get the current display resolution.

In the initial release, the application would get the size of the display and store it in the settings.xml file. Although this was a good idea, I realized that this could be bad as a display can change if the user want's to play your game on his 1080p TV while they have a 900p monitor. If fullscreen is enabled, it will now ignore the resolution stored in the settings file, and just fetch the current display size from the System. The screenwidth and screenheight properties are now only used for windowed mode.

 

4: More Shaders!

I've added animated versions for the color-emission, cubemap, and detail model shaders.

 

I'm currently working on some documentation for this, and will update the opening post of the tread with Google Doc links to them. I've also set a Trello board for this so you can see what's next on the list for this project. Hopefully it will not become a wasteland like my Vectronic Trello.

 

Although I feel that this is solid how it is, continue to add your input and suggestions.

 Share

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...