Monster Evolution in Qt: Episode 2 (Attack of the SquirrelFish)
April 07, 2009 by Ariya Hidayat | Comments
Like in the first episode, the program prepares some hooks and fake implementations of Canvas (enough to render what the script wants), downloads monster.js, then executes it. You'd soon notice the similarities with the QtScript version. Basically a function called drawPolygons will be called back at the end of every frame. This function is a slot of our main widget, QtWebKit binding knows this and will invoke the slot, even converting all the polygon buffer object to QVariantList.
Stay tuned for the third and the last episode in this Monsterwalker family saga. As with any good story, there we will switch to the dark side. I have the title ready, it is secured in a safe deposit box somewhere in Zurich. Guess the title right, and I owe you a drink :-)
Another little FAQ:
Q: Does this mean QtWebKit canvas will be improved?
A: You did not bother to read The QtScript Menace, did not you?
Q: What is this SquirrelFish?
Q: Shouldn't you start with A New Hope instead?
A: myName.contains("Lucas") returns false.
Subscribe to our newsletter
Try Qt 6.4 Now!
Download the latest release here: www.qt.io/download.
Qt 6 is the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
Explore Qt World
Check our Qt demos and case studies in the virtual Qt World
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don't want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu