Hi Heini,
yes it will definetely be possible in future! In fact, we are currently working on a plugin system that allows sharing QML components written in C++ with other Felgo users! That system can also be used to implement platform-specific code for example in Java for Android or Obj-C for iOS.
What kind of logic would you like to implement in C++? Is providing game logic as QML components sufficient for your use-case?
For local testing on desktop, you can already register custom QML components written in C++ by calling
qmlRegisterType()
before calling
VPlayApplication::startApplication()
from main.cpp.
If you are fine with contributing your C++ logic, we can incorporate your C++ component in Felgo. Otherwise, we can send you a template for writing a Felgo plugin as soon as we release it, estimated in December 2012.
Regarding Rectangle:
We were thinking about support of gradient and radius properties for Rectangle elements, but decided against it for performance reasons: It is much faster to use images for buttons because with batched drawing, only a single draw call is needed for all graphics in a sprite sheet. Whereas each Rectangle would require a different draw call, which is the graphics bottleneck on mobile devices. If you would urgently require the Rectangle functionality, we will set it on our requested features list though! Please let us know in the roadmap post how important the Rectangle support is compared to the other features mentioned here: http://felgo.com/beta-area/forum/?mingleforumaction=viewtopic&t=2 so we can prioritize our tasks based on your feedback.
Cheers,
Chris