Leadwerks 4.2 Release Candidate
A full update is available now on the beta branch.
Leadwerks Game Engine 4.2 features:
- Visual Studio 2017 support
- Compatible with the latest C++11 / GCC on Linux
- Refraction and heat haze effects.
- Analytics through gameanalytics.com
- New animation commands
- Spotlight texture: you can add a material to a spotlight and the first texture will be rendered onto the light (for flashlights).
- New material blend mode can be used to make objects that only appear in editor.
Analytics are available (thanks MartyJ for his help on this!), on Windows only at this time. These are the commands:
class Analytics { static bool Enable() static void Disable() static void SetKeys(const std::string& gamekey, const std::string& secretkey) static bool SendGenericEvent(const std::string& eventid) static bool SendGenericEvent(const std::string& eventid, const float value) static bool SendErrorEvent(const std::string& severity, const std::string& message) static bool SendProgressEvent(const std::string& status, const std::string& levelname) static bool SendProgressEvent(const std::string& status, const std::string& levelname, const int score) static bool SendProgressEvent(const std::string& status, const std::string& levelname, const int score, const int attempt_num) static bool SendResourceEvent(const std::string& flowType, const std::string& currency, const std::string& itemType, const std::string& itemid, const float amount) static bool SendBusinessEvent(const std::string& itemType, const std::string& itemid, const int amount, const std::string& currency, const uint64_t transaction_num, const std::string& cart_type = "", const std::string& receipt_info="")
I had it working, but I am getting a lot of "rejected events" on my server now, so there's probably something else I need to do.
C++ projects with Visual Studio need the following changes. This is now a complete list of changes since 4.1, but this will accommodate the additional libraries needed for the new analytics features:
The following libraries must be added to your project:
- libcryptoMT.lib
- libsslMT.lib
- Rpcrt4.lib
- crypt32.lib
- libcurl.lib
The following header search paths must be added to your project:
- $(LeadwerksHeaderPath)\Libraries\openssl\include
- 6
16 Comments
Recommended Comments