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. 2d graphics tutorials?
Forum Updated to NodeBB v4.3 + New Features

2d graphics tutorials?

Scheduled Pinned Locked Moved Game Development
3 Posts 3 Posters 5.4k 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.
  • N Offline
    N Offline
    nablabla
    wrote on last edited by
    #1

    hi there, i am new to qt and i am trying to "get something done" since two or three days now.
    but i am getting frustrated. What I want to do: draw (rotate, translate, scale) any kind of 2d textures
    and later i want to use keyboard/mouse input to make a little game.
    I am familiar with opengl3.3, but since it does not work on any computer, i dont want to use it (i am using linux but there is no graphics driver for my graphics card).
    so i want to use those QPait classes.
    Is there any TUTORIAL which explains how to do that?
    there[http://qt-project.org/doc/qt-5.1/qtwidgets/examples-graphicsview.html] are some examples but there are files missing and there is no explanation. Actually this[http://qt-project.org/doc/qt-5.1/qtwidgets/painting-affine.html] is what i want to do, but those are not complete and it seems only to work on windows.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tilsitt
      wrote on last edited by
      #2

      Hi,

      Have you seen "this page":http://qt-project.org/doc/qt-5.1/qtwidgets/graphicsview.html?

      And please edit the links in your message: they contain an ending bracket making them unusable.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        feldifux
        wrote on last edited by
        #3

        If you are making a game, I would recommend using QML and JavaScript as you can make much faster progress with these technologies compared to C++.

        Also, using a game engine might be of interest for you which handles many of the things needed in games. We have built a Qt-based game engine called "V-Play":http://v-play.net which also has a Free version so feel free to try it. To get you started quickly, you can see the "BallonPop Game Tutorial":http://v-play.net/doc/howto-balloon-game.html or "How to make a physics-based game with QML":http://v-play.net/doc/vplay-entity-concept.html.

        Cheers, Chris

        Founder of Felgo SDK - http://felgo.com/qt

        Felgo simplifies

        • Mobile App Dev with Qt esp. iOS & Android
        • Game Development with Qt

        What others say

        Felgo scored #1 in Cross-Platform App Development Tools Report - see why: https://goo.gl/rgp3rq

        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