I have implemented C++11 shared pointers into Leadwerks Game Engine 5 and the following program now works. When you press the space key the box variable is set to NULL and the visible box on the screen disappears:
#include "Leadwerks.h"
using namespace Leadwerks;
int main(int argc, const char *argv[])
{
auto window = CreateWindow();
auto context = CreateContext(window);
auto world = CreateWorld();
auto camera = CreateCamera(world);
camera->Move(0,0,-5);
camera->SetClearColor(
Wow! We crossed the 50% mark in less than a week. At this point, the campaign has shown enough strength that I am willing to begin allocating resources to the development of Leadwerks for Linux. (To be clear, we will only deliver a Linux product if the entire target amount is met.) Kickstarter has been fantastic because it allows us to gauge demand before we do the hard work of supporting a new operating system, so we can figure out in advance whether it's worthwhile. Fortunately, it appears the
Leadwerks Workshop provides a repository of free game items for game developers to use in their projects. Workshop content has been heavily used in several game tournaments to make many different games of different genres.
Today we are rolling out the Leadwerks Workshop Store. This allows us to add new and better quality content for you to use in your games. All assets are curated and verified to work correctly with Leadwerks Game Engine. This includes material setup, sizing, and correct
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
Leadwerks.com is now hosted on our own dedicated server located in Chicago, Illinois. It was found that this location gave the best overall results for our worldwide user base. We tested the new server in advance for a couple of days, and transferred the database right before switching the DNS, so no data should have been lost. Please submit a bug report if you experience any problems.
The Leadwerks server has a 500 gb secondary hard drive where site backups are automatically saved to, in
You can now view detailed sales records of your game assets in Leadwerks Marketplace. First, log into your Leadwerks account and navigate to the Leadwerks Marketplace main page. In the bottom-right, below the categories, a link to your paid files will appear.
Here you can see a list of all your paid items:
When you click on an item, you can see a list of people who have purchased it, along with sales dates.
If you wish to give a free license to any member for any
The 2015 Steam Summer Sale begins today! Save on tons of games and software including all Leadwerks products.
http://store.steampowered.com/app/251810
If you're new to game development, now is the perfect time to get Leadwerks and start making a game for the Leadwerks Summer Games Tournament.
Fall is in the air, which means evil spirits, good beer, and the annual Leadwerks Halloween Game Tournament.
WHEN: The tournament will start Thursday, October 8, and end Thursday, November 5th at 11:59 P.M. (Pacific Standard Time).
HOW TO PARTICIPATE: Publish your Halloween-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
Congratulations to Type Advantage for the release of Pump-Action Captain on Steam. This title began as a Kickstarter project clearing 170% of their modest $500 goal. The team used that momentum to fuel a successful Greenlight campaign, gaining approval in just ten days. Today marks the release of the game as an "Early Preview" title, which means it's a playable work in progress. You can play it now for just $4.19.
From the store page:
Be sure to support your fellow Leadwerkers. Buy
Leadwerks has released a new evaluation kit for version 2.4 of their game development tool. The demo lets developers program games in C, C++, and Lua script for a trial period of 30 days.
AMD has released a new driver which fixes a compatibility problem with Leadwerks. You can download the driver from their site here:
http://support.amd.com/en-us/kb-articles/Pages/latest-catalyst-windows-beta.aspx
Resolved Issues:
[412702] Screens may blank out when enabling a 3x1 SLS with 3 HDMI monitors
[411847] Leadwerks : Project Manager crashes with a "Pure Virtual Function Call" error
[413076] Second Life : Rigged mesh objects are not rendered correctly when hardware skinning
New content has been added to Leadwerks Marketplace to provide you with assets for your games. All items are sized correctly and completely ready-to-use with Leadwerks
Finally, the evaluation kit for Leadwerks Engine 2.3 is released. Get it here. The evaluation kit allows saving and script editing for a period of 30 days. C/C++ programming is not possible with the evaluation kit. An NVidia GEForce 7000 or ATI Radeon 2000 series graphics card is required. An NVidia GEForce 8800 or ATI Radeon 3870 graphics card is recommended.
An update for Leadwerks Game Engine 4.5 has been pushed out on Steam. The following fixes have been made:
View projection for Oculus Rift VR headset is fixed.
Added VR.AButton, VR.BButton, VR.GripAxis for improved compatibility with Oculus Touch controllers.
Fixed terrain collision bug.
Added missing Workshop toolbar icons on Linux.
Fixed script editor not opening on Linux.
Fixed LoadAnimation bug.
Fixed missing fall damage on player controller.
Previously, I talked a little bit about shared pointers in C++11. These use automatic reference counting to track how many variables are pointing to an object. When the object is no longer being used, it is automatically deleted. This is similar to garbage collection, but doesn't involve the massive overhead of garbage-collected systems. In fact, shared pointers simply automate something we were already doing with the Release() and AddRef() commands in Leadwerks 4.
A weak pointer is lik
Today we've got four new texture packs available for purchase in the Workshop Store.
The Blood Decals pack provides 30 hand-painted textures for spatters, drips, and puddles of human, animal, or alien blood. This is perfect for adding atmosphere and a sense of foreboding to an otherwise ordinary scene. You can even create trails of blood going down hallways and around corners.
Another creepy addition is the Spiderweb Materials pack. Create a sprite and use these materials to inst
Today we are releasing three new model packs in the Workshop Store.
The Candles Pack provides beautifully detailed candles and sconces to bring atmosphere to any horror game.
The Modern Furniture Pack includes numerous chairs, sofas, and a bar stool to populate any residential setting with.
The Old Wine Bottles Pack gives you a variety of bottles with two texture variations. Decorate your map with them or use them for target practice.
You can get these items by op
Leadwerks Software is now offering internships through the Center for Entreprenuership at Sacramento State University. Internships are available for programming, 3D art, web development, and marketing.
Programming Internship
Assist the development team with tools and core engine design.
Work with game development team to create a sample Leadwerks3D game.
Gain experience working in a professional software development environment.
C++ and Lua experience are a plus but not required.
In just three weeks, the Linux community has successfully funded the development of Leadwerks for Linux. This means we're going to bring Leadwerks 3.1 to Linux, with native support for developing Linux games...so Linux games can now be completely free from Windows.
Greenlight It's been an amazing few weeks. During this time, we also successfully completed our Greenlight campaign to make Leadwerks available on Steam and take advantage of features like the Steam Workshop. You can see from th
Leadwerks Engine 2.32 is now available.
2.32
-"Render" Lua object function renamed to "Draw".
-Added Draw entity callback.
-Entity draw callback and Lua "Draw" object function will only be called at most once per frame. Perform animation in this function.
-Entity LOD distance parameters changed for better performance.
-LoadAnimation now works without exact hierarchy matches, so LOD meshes can all use the full-res animation.
-Implemented entity octree with hierarchical culling and pick
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:
https://www.microsoft.com/en-us/download/details.aspx?id=53587
The version distribut
The Rocks and Stones Model Pack by Pure3D is now available here:
http://leadwerks.com/werkspace/index.php?/page/products/_/assets/rocks-and-stones-pack-r1
You can also still get the Industrial Cargo Model Pack for the low introductory price of just $9.95 until Monday, September 6, before the price goes up:
http://leadwerks.com/werkspace/index.php?/page/products/_/assets/industrial-cargo-model-pack-r8
This shows the fundamental difference between shared pointers and manual reference counting.
Leadwerks 4:
void Material::SetTexture(Texture* texture, const int index)
{
if (this->texture[index] != texture)
{
if (this->texture[index]) this->texture[index]->Release();
this->texture[index] = texture;
if (this->texture[index]) this->texture[index]->AddRef();
}
}
Leadwerks 5:
void Material::SetTexture(shared_ptr<Texture> texture, const int index)
I've added new rewards including international shipping for our T-Shirt and sticker, as well as an indie team and professional site license. A lot of people have been asking for international shipping for the T-shirt and sticker rewards, but I wanted to make sure I knew what the shipping would cost first. It's a good thing I checked because it costs $16.75 to ship. The good news is its a flat rate for any country, so I can rely on that cost when I price things. To sweeten the deal, I am incl