Jump to content
  • entries
    944
  • comments
    5,899
  • views
    929,458

Leadwerks 4.2 Release Candidate


Josh

3,806 views

 Share

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

  • Upvote 6
 Share

16 Comments


Recommended Comments

To clarify: will Leadwerks 4.2 continue to work with VS2013 as well?

No, I am pretty sure it requires 2017. I don't think the 2013 tools can handle the new library. There will be instructions on how to upgrade your projects.

Link to comment
  • New material blend mode can be used to make objects that only appear in editor.

 

That makes me smile. smile.png

 

You also forgot to mention this, which also makes me smile:

Whoops, misread, this is experimental atm.

http://www.leadwerks.com/werkspace/topic/15235-actor-class-for-c-entity-management/

 

Hopefully you can fix the bugs you listed soon. Also, did you mind taking a look at this?

 

http://www.leadwerks.com/werkspace/topic/15355-exceptions-problem-visual-studio-17/

 

I was having similar issues. I'm about to start a new project so I can properly report what "kicks the bucket" more exclusively.

 

Also, why didn't you use my workshop button graphic? Does it need more work or you don't like my take on it?

Link to comment

These are the events the editor sends:

  • User begins session.
  • User ends session.
  • Create a box, cone, cylinder, or sphere. These are not very useful but I thought it would be interesting.
  • Open the Workshop. This is what I really wanted to know.
  • Click on an item in the Workshop.
  • Press the buy or install item in the Workshop.
  • The user selects the Help > Contents menu.
  • The user enables or disables stats collection.

 

Right now the user's Steam ID number is being used as an identifier, but I might scramble this. If I took the SteamID and then multiplied it by the last two digits in that number, it would be impossible to reverse back to the original, and it would be very likely to be a completely unique identifier.

 

I really wanted to know how many people are using Leadwerks on a daily basis, and how many of those people are opening the Workshop browser each day. This will tell me what to focus on to improve the sales in the Workshop Store. Steam shows something like "concurrent hourly users" but it is not very clear how many there are.

 

For example, if there are 5000 people using the program each day, but only three are opening the Workshop, that tells me I need to add more content or make the button more obvious. If only ten people are using the software each day, that means I need to add more tutorials and focus on retaining users. This is really cool because it gives me objective metrics that I can try to improve instead of just basing decisions on "feelings".

 

If you are concerned about what data might be sent I think there are network programs that can reveal the calls being made, and I would encourage you to examine this information.

 

This can be disabled in the options dialog. You can also add "sendstats=0" in your config file, and the stats will never even be turned on the first time.

  • Upvote 4
Link to comment

That would be really ideal. I've never used 2015 or 2017 and if it's possible to keep using 2013, that would really help. I also don't know how many other people are in the same boat as me (maybe not many).

 

That said, I know it's inevitable so while I appreciate your effort Josh, if I need to upgrade, I will risk it.

Link to comment
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...