Jump to content
Entries in this blog
C++11 introduces shared pointers, a powerful language feature that provides easy memory management without the overhead of garbage collection. The example below should look familiar to you:
using namespace Leadwerks;
int main(int argc, const char *argv)
shared_ptr<Leadwerks::Window> window = Leadwerks::Window::Create();
shared_ptr<Context> context = Context::Create(window);
shared_ptr<World> world = World::Create();
Leadwerks Software today announced the release of version 4.4 of their topselling game engine on Steam. This version adds a new GUI system, support for inverse kinematics, and enhanced visuals. The free update goes out today to over 20,000 paid users on Steam.
Leadwerks Game Engine 4.4 sees the introduction of Leadwerks GUI, a system for creating resolution-independent in-game menus. Custom GUI elements can be created with Lua script, or an item can be selected from a number of pre-built
Distance fog is one of the most basic visual effects in 3D graphics, going back to the 1990s. Here is the effect in the Quake 3 Arena map "Fatal Instinct", which was shrouded in a dense orange fog:
Leadwerks Game Engine 2 had this available as a built-in effect, while the more flexible effects system of Leadwerks 3/4 had several Workshop shaders available to use, including one by Klepto and another one more recently added by myself. However, this has not been part of the official SDK
Leadwerks Game Engine 4.4, scheduled for release soon, features some updated and enhanced visual effects. In this blog I will talk about some of the adjustments I made. Having "The Zone" scene that Aggror recreated actually helped a lot to see how shaders could be improved.
Bloom / Iris Adjustment / HDR
The bloom and iris adjustment shaders have been updated to give bloom a wider and softer blur. Iris adjustment is faster and more intense now, which will make the outdoors areas seem
This tutorial demonstrates how to create a high-quality skybox for Leadwerks Game Engine using Vue.
Cloudy Blue Skies.zip
Required Third-Party Programs
Loading the Example
Run Vue and select the File > Open menu item. Extract the zip file above and open the file "Cloudy Blue Skies.vue".
Atmosphere and Clouds
You can modify the appearance of the sky with the Atmosphere Edito
An update is up which saves all menu settings into your game's config file. When your program calls System:SetProperty() the inputted key-value pair is saved in a list of settings. Your game automatically saves these settings to a file when it closes, located in C:\Users\<USERNAME>\AppData\local\<GAMENAME>\<GAMENAME>.cfg.
The contents of the config file will look something like this:
Along with Leadwerks GUI, Leadwerks 4.4 adds an in-game menu that is available with the default Lua scripted game. You can use this to allow your users to adjust settings in the game, or provide a more sophisticated way to quit the game than simply pressing the escape key.
The default window size has been changed to 1280x720 when run from the editor. Your game will now run in fullscreen mode by default when it is launched outside the editor.
All of these changes are contained i
In Leadwerks 4.3 we integrated GameAnalytics.com into our software, both in the editor and in the engine, as a tool developers can use to track their player statistics. A number of events were set up in the editor to fire when certain actions were performed, in order to gain better insight into how people were using Leadwerks. Here are the results.
The most popular primitives
Unsurprisingly, boxes are by far the most popular primitive created in Leadwerks Editor. The community has c
Leadwerks Game Engine 5 is a restructuring of Leadwerks Game Engine 4 to adapt to the demands of virtual reality and leverage the full capabilities of modern and future hardware.
Basically, the main idea with VR is that if you don't maintain a steady 90 FPS in virtual reality, you will throw up. Nausea may be the worst physiological feeling you can experience. In fact, nausea has been rated by cancer patients as worse than pain. Being sensitive to motion sickness myself, this is a proble
Leadwerks Game Engine 4.4 features an upgrade to the latest version of Newton Dynamics, along with a bunch of new features to enhance physics.
The new kinematic controller is a joint that lets you specify a position, rotation (Euler or quaternion), or a 4x4 matrix to orient the body to. You can set the maximum linear and angular force the joint may use to orient the entity. This allows you to create a kinematic controller that only affects position, only affects rot
A new easy-to-use networking system is coming soon to Leadwerks Game Engine. Built on the Enet library, Leadwerks networking provides a fast and easy way to quickly set up multiplayer games. Each computer in the game is either a server or a client. The server hosts the game and clients can join and leave the game at will. On the other hand, when the server leaves the game, the game is over!
Creating a Client
You can soon create a client with one command in Leadwerks:
After a lot of research and development, Leadwerks GUI is almost ready to release. The goal with this system was to create an in-game GUI that was customizable, extendable, and could also serve as a windowed GUI for application development in the future.
The GUI system is based on the Widget class. Once a GUI is created on a rendering context you can add widgets to it. Each widget is a rectangular container with a padding area. The widgets can be arranged in a hierarchy and
Back around February I started working on a website update that included the following:
Responsive design everywhere.
Visual improvement of website.
Updated documentation system.
Tutorials for C++ programming basics.
Update forum software to new major version.
Forum moved to new URL.
All of that is now pretty much done. These changes improve the online Leadwerks experience and are independent from the software itself, so it
An update for version 4.4 beta is now available. The Newton Dynamics library has been updated to the current version. Vehicles are temporarily unavailable, but everything else should work. The Newton DLLs have been moved into external DLLs, which allows the author of Newton to debug his own physics code in Leadwerks from Visual Studio.
You can get the update by opting into the beta branch on Steam.
Visual Studio gives two options for creating C++ applications. Console applications use printed text to communicate with the user, harkening back to the pre-GUI days of DOS. The other option is a windowed application with a GUI interface, simply called "Win32 Project" in the Visual Studio project creation dialog.
A console application will use the regular old main function you know and love:
int main(int argc,const char *argv)
This is cross-platform compatible and runs on an
Leadwerks Game Engine 4.4 beta is now available on the beta branch on Steam. This adds support for virtual reality with the OpenVR library. OpenVR supports both the HTC Vive and the Oculus Rift headsets.
To enable VR mode in your Leadwerks game, simply call the command below. If a VR headset is detected and initialized, this function will return true:
Any cameras not attached to a rendering target will render directly to the headset views. Both eyes will be rend
An update to version 4.3 is now available on the default branch. This fixes it so the editor is not DPI-aware and will be scaled correctly if scaling on Windows is used. Some small shadow update bugs were fixed, and the animation shaders were improved.
If you are having trouble running your game from the editor in debug mode, you need to install the latest VC++ redistributable from Microsoft found here:
The version distribut
Leadwerks Game Engine 4.3 is now available.
This release adds support for Ogg Vorbis audio files. Ogg Vorbis is a compressed audio format specially designed to shrink the size of large audio files. Using Ogg for large music files can significantly reduce your game's size.
Leadwerks Game Engine 4.3 features numerous performance updates, with performance improvements up to twice as fast as Leadwerks 4.2.
Finally, numerous small bugs have been squashed to make Leadwerks more
The Winter Games Tournament is complete, with a long list of fun mini-games made by the community. This tournament saw the release of many new and innovative types of games you want to be sure to try. To claim your prize, go to "My Profile" in the drop-down box that opens when you click your name in the upper-right part of this website:
On your profile page, click the button that says "Edit My Profile" and enter your name, shipping address, and shirt size.
Lone Water: Prologue
Leadwerks Game Engine 4.2 is now available on Steam. This update adds new features to make game development easier than ever. The free update goes out today to over 10,000 paid users on Steam.
Version 4.2 integrates analytics into Leadwerks games with a free gameanalytics.com account. This allows developers to view statistics on player behavior and identify any trouble spots their game might have as players progress through levels. By viewing a summary of all player behavior, developers
At last, it is time for the 2016 Leadwerks Winter Games Tournament! This is going to be a big one, for a few reasons.
We're very likely to reach 100 games in Leadwerks Game Launcher, which means it will be ready to move out of early access mode and be an official release on Steam.
As an experiment, you're getting two extra weeks to polish your games, with an extended deadline lasting until January 15th.
WHEN: The tournament begins Monday, December 5, and ends Sunday, January
With the Summer Games 2016 Tournament completed, it's time to review the entries. This tournament brought a new level of quality, with several small games that could be considered Greenlight-ready, made in just four weeks!
Test your spatial reasoning skills in this unique and challenging game. Navigate with your map and lit up clues to get to the end of the maze.
Now that you've had time to get acquainted with Leadwerks, it's time for the Summer 2016 Game Tournament.
WHEN: The tournament will start Monday, July 25, and end Sunday, August 21th at 11:59 P.M. (Pacific Standard Time).
HOW TO PARTICIPATE: Publish your summer-or-other-themed game to Steam Workshop or upload it to the games database before the deadline. You can work as a team or individually. Use blogs to share your work and get feedback as you build your game. If you need models for
Leadwerks Game Engine 4.1 is now available on Steam. This release cranks up the already legendary Leadwerks visuals to new levels of awesome.
Environment Probes The new environment probe entities can be used to add global illumination and reflections to any scene.
Volumetric Lighting Each light in Leadwerks can now display an adjustable volumetric effect using a ray-marching technique to give your game dramatic visuals.
Enhanced Post-Processing Effects Leadwerks 4.1 includes
Dexsoft Games, producers of game content with a library of thousands of game assets, have released five new material packs in the Workshop Store. All materials and textures are ready to use with Leadwerks, with source image files included in TGA format.
All of these can be purchased now through the links below, or through the Workshop interface in Leadwerks Editor. See the links below for more information and additional preview images.
Sci-Fi Materials 1
Sci-Fi Materials 2