Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Creating animated widgets
Forum Updated to NodeBB v4.3 + New Features

Creating animated widgets

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 987 Views 3 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.
  • U Offline
    U Offline
    user4592357
    wrote on last edited by A Former User
    #1

    i'm making a game. i'll have a window. inside it i will have something for user input. i also need to have an image and based on user input, the image should be changed.

    to make things clearer, this is how the user input will impact the game: i have an image of something, this something consists of many parts. with every wrong user input a part of the image should disappear, and i want the user to see how it goes away (say i want the disappearing part to go to the right of the screen).

    i've never done anything like this. so i'm not familiar with the methods. please help. how should i do that "disappearing" part? any advice?

    thanks in advance

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you want to stay in the QWidget world, then it sounds like something you can do with the graphics view framework.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      U 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        If you want to stay in the QWidget world, then it sounds like something you can do with the graphics view framework.

        U Offline
        U Offline
        user4592357
        wrote on last edited by
        #3

        @SGaist

        okay, thanks. and what other choice do i have if i don't wanna stay in the widget world?

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          You could enter the QtQuick world.

          1 Reply Last reply
          1

          • Login

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