Quite popular in 80's side-scrolling games, parallax scrolling is a simple trick which employed to give the illusion of depth. Back then, the graphics power of the computer was not advanced enough to have a technically corect 3-D effect. Parallax scrolling is cheap, and yet often it makes a big difference to the gameplay. The technique itself is a simple as it could be: have two or more layers that move at different speeds.
Parallax scrolling makes a comeback in the home screen of Android. Careful owners of T-Mobile G1 will spot the effect immediately once playing with the home screen. At Qt Developer Days in Redwood City a couple of days ago, I showed a simple GraphicsView-demo example that shows this parallax scrolling. As I promised it back then, and for those who attended Munich Developer Days (this demo did not exist yet at that time), here I showed it again as a Graphics Dojo example:
svn checkout svn://labs.trolltech.com/svn/graphics/dojo/parallaxslide
cd parallaxslide && qmake && make && ./parallaxslide
Minor update: I applied a patch from Enrico Ros that fixes "randomly invisible icons" problem. Thanks, Enrico!
Download the latest release here: www.qt.io/download.
Qt 6 was created to be the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
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