Jump to content

Recommended Posts

Posted

I believe you can record your player's map load times if you are interested in seeing how long it takes on different computers. I believe you would add a hyphen to make a category for the event like this:

 

local tm = Time:Millisecs()
Map:Load(mapname)
tm = Time:Millisecs() - tm
Analytics:SendGenericEvent("Map Load Time:"..mapname, tm)

 

http://www.gameanalytics.com/docs/custom-events

 

Note that your map load times are going to be slower if you are loading the first map than if you had a previous map that left a lot of common assets in memory. It is up to you to decide how to handle that.

  • Upvote 1

Let's build cool stuff and have fun. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...