So say I’m designing my main level and I have a bunch of qml files of crates and other collision objects. Is there a way I can place those boxes in design mode of the main level so it is like a level editor?
at the moment unfortunately you can’t, because the design mode of QtCreator is only usable for the built-in QML elements like Image, Rectangle, Column, etc.
However, we are working very hard on a new feature of V-Play, which will allow you to drag your objects into the game, and to change the properties of your objects while the game is running! You can then save the levels to your hard drive and load and continue modifying them at any time. The cool thing is, you can also add the level editor functionality to your released game, which allows your players to create content by themselves and so build a community around yor game!
We expect to release this feature in January, so I hope you are fine with adding your entities manually in the code edtor so far.
Can you think of any particulare features you would like to see in such a level editor? We have a bunch of ideas internally, but it would be great to hear what you would like to have.
I guess a big thing is being able to see where the edges of the screen are and being able to extend the scene so you can setup for a side scrolling game. Is there even a way to do scrolling right now? A particle editor inside the level editor might be nice as well. I cool feature that Unity has is how you can parent an object and the child object will always say in the same relative position to the parent object. I think you can already do that but I haven’t really tested that exact feature I guess.
The GameWindow right now is the exact same screen as on the device – you can switch through different popular screen resolutions by pressing the keys 1-6. For example you can test how the game will look like on an iPhone3GS, iPhone4, iPad, etc. directly while running the game. Here is a list which resolutions are set when pressing the different keys: http://doc.v-play.net/beta/qml-components-vplay1-gamewindow.html
Scrolling is already supported – you can use a Flickable element for that. We are also working on a side scrolling demo which we will release with the source code and a tutorial to demonstrates its usage in more detail.
Great you mention the particle editor, as it is the first editor we are currently building with the LevelEditor API It will be available in one of the next releases, and allows to modify the particle properties at runtime and see their effects. Like with the level editor, it is also usable on the device so you can test the performance impact of changing textures and properties directly on your target hardware.
Regarding parenting: this is an essential feature which QML and the scene graph we are using are built upon: the children will always stay relative to the parent – so when you move a parent, all the children move as well. So if you write something like the following: