Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. QGlWidget for 2D graphics and layered image composition
Forum Updated to NodeBB v4.3 + New Features

QGlWidget for 2D graphics and layered image composition

Scheduled Pinned Locked Moved Game Development
2 Posts 2 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vespero
    wrote on last edited by
    #1

    Hello everyone!

    I am thinking of developing a 2D game which will use a raster map, static graphics showing objects on that map and dynamic graphics showing moving objects on it. My first choice is to use OpenGL since it's hardware-accelerated, even though I don't need actual 3D graphics. Is it wise at all?
    I would also like to implement the idea of a layered (z-order sliced) picture composition, storing every slice in it's own offscreen buffer and redrawing only the last layer with dynamic objects when refreshing the picture (other layers will be redrawn on request).
    I would like to know, is there an easy way to implement such an idea of layered drawing with Qt & OGL? Maybe, there already exists such engine?

    Sorry if it's a noob question. I am a noob in Qt :)

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      q8phantom
      wrote on last edited by
      #2

      You can have a look at some QGraphicsView videos on this website

      Also you may want to look at Cocos2D for Qt in here http://developer.qt.nokia.com/forums/viewthread/14208

      Bests

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved