Hello everyone! Say me please: can i define custom scene node properties in map XML? If "yes", then how can i read it and where can i find sample?
Thank you.
Custom properties in map XML
-
- Posts: 17
- Joined: Sun Sep 18, 2016 5:44 pm
- Location: Belarus, Grodno
Re: Custom properties in map XML
Do you mean custom scene nodes in files that can be loaded using ISceneManager::loadScene? You can create your own custom scene nodes to load and save data to these files (http://irrlicht.sourceforge.net/docu/example003.html is a good starting point). I am (still) using IrrEdit to create the scene files for my games, and it is possible to create plugins for this application to have access to the custom nodes. It took me (back then) some time to figure out how to write the plugins (I think samples are included), but once you got that running it works really fine for me (I use my IrrEdit plugins to define the physical parts of the scene, see "IrrODE" (that project is outdated, but it includes a plugin for IrrEdit)
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames