solarus icon indicating copy to clipboard operation
solarus copied to clipboard

Add custom properties to maps

Open wrightmat opened this issue 7 years ago • 4 comments

To be consistent with the new custom properties of entities.

wrightmat avatar Jan 31 '18 14:01 wrightmat

Not sure if we will have time to custom properties on maps for 1.6, but an easy workaround is to put a special entity on your maps, and to put custom properties on it.

christopho avatar Jan 31 '18 14:01 christopho

Very true. I'm just thinking long term and for sake of consistency :)

wrightmat avatar Feb 01 '18 02:02 wrightmat

The idea is great. It can be used to set properties like subworlds, weather, select a special game mode (sidescrolling instead of normal mode), add special events (like the witch appearing in the oracle games), etc.

Diarandor avatar Feb 01 '18 02:02 Diarandor

Great points Diarandor (weather had specifically come to mind for me too)! It would also allow for removal of some of the hard-coded map propertied in the future should Christopho choose - things like setting the world or floor could be easily handled by properties.

I've been working in Unity a lot lately, and something like this would also get us closer to the "Inspector" in that engine, which is incredibly powerful.

wrightmat avatar Feb 06 '18 14:02 wrightmat