HashMap<String, Object> properties bug


  • Posts: 10
stencyl.sw.ext.BaseExtension.properties is a HashMap<String, Object> and that works fine. When I reload StencylWorks though my Object turns into a String. I can guess how you are serializing my object. I would prefer you use Java's built in serialization mechanisms. Maybe turn properties into a HashMap<String, Serializable>? Is there a reason the .eprefs files need to be human readable?


  • *
  • Posts: 3130
BaseExtension.readDataAsBytes() : byte[]

The data is saved in the preferences folder, under the name returned by BaseExtension.classname.
"Find the fun"