Hi everybody!
I am working on my first QT project in my free time. I want to create a simple game. I would like to have a static image as the background and I want to let objects appear on the screen from different sides of the window, the objects would move around and the user has to click all of them.
So far I got this to work with QGraphicsScene and QGraphicsView. At this moment the moving objects are simple PNG images. Now I want to switch the PNG images to something more spectacular like GIF animations or even better would be some video loops. However, now I wonder if I have chosen the wrong base to build on, as for example QMovie I can only use through QLabel and QGraphicsProxyWidget. Anyway, although I got the animated GIF to run this way, it's a mess to handle the transparency of the animated GIF's background, as one has to set mask and update the picture for every frame of the animation.
Now I wonder, what would be the "state of the art" way to get photorealistic objects move around the screen in QT(for example let a video recorded dog run across the screen), yet I need to be able to track mouse clicks on every object. I even don't know if there is something like transparency in video files...
I hope you could catch the idea and someone could enlighten me.
Andy
Bookmarks