collinsmith / riiablo

Diablo II remade using Java and LibGDX
http://riiablo.com
Apache License 2.0
895 stars 101 forks source link

Display socketed items when item is focused #42

Open collinsmith opened 5 years ago

collinsmith commented 5 years ago

I added a note for this in Item. Sockets should display in the correct order and this needs to be consistent with the original client. This is based on number of cells high an item is, e.g., armor shows 3 sockets in a vertical line, shields with only 2 cells high shows sockets in a triangle pattern. The socketed item images need to be loaded with the item image.

collinsmith commented 4 years ago

Item serialization issues have been fixed, so adding support for this should be easy. I'd like to support two modes -- always visible and visible when focused. Unsure of how big of a performance hit always visible might be -- especially on mobile -- but I personally would prefer that on stuff like runeword items. The mode will be set via a cvar.