Create account / Log in

Memory usage and layer (Embellishment) trait

Discussion area for the development team.

Moderators: Tim M, uckelman

Memory usage and layer (Embellishment) trait

Postby Va7Ue » February 23rd, 2019, 7:30 pm

I've run into a memory consumption issue with the layer trait and how it's implemented per game piece. In this case it is several decks of cards each requiring multiple layer traits. My first attempt was using a layer trait with 19 layers applied across 962 card modification slots. The layer traits are identical while the only property modified is the offset. Thankfully I noticed the memory consumption issue with 1/4 of the layer traits applied.

Possible Solution
The prototype is an ideal location to address memory consumption with layer traits however the offset is static. What I think would best address the problem is to create a custom Java class that would allow the dynamic property trait to adjust a prototype layer trait offset.

If anyone has other suggestions or input please feel free to reply. Thank you.
Posts: 3
Joined: January 9th, 2019, 12:35 am

Return to Developers

Who is online

Users browsing this forum: No registered users and 2 guests