Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED]Game Level Creation and other questions
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Game Level Creation and other questions

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.3k 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.
  • L Offline
    L Offline
    lexan
    wrote on last edited by
    #1

    Hi everyone... My game is working fine.. but there are things that I want to add to enhance my game app

    My game app can now create dynamically falling objects with random questions within it and the falling objects can now be destroyed every time the user inputs a correct answer.

    and I would like to know how would I be able to do the following

    • *I would like to determine if the player already wins.. like.. for example after answering 10 falling objects with question correctly or like after achieving a certain score.. a pop up banner will state that the player already wins. Cause right now, only the gameOver banner works when the life points = 0..

    • I wonder how to create a new level for my game.. like a level with a new background and new types of falling object.. can someone teach me this? I managed to look for some documentation and found out that it can be done through XML.. can't it be done with javascript?

    • My game gets a little boring because the speed stays the same.. how can I be able to increase the speed of falling objects as time progresses or as level changes?*

    thanks for your suggestions

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

      suggestion for first point:
      if your game on qml, I guess you keep current values of life and not answered questions in property of some Component. So, you can define on<PropertyName>Changed handlers for this counters. And check zero values in it. If zero value is happened you just show popup banner with information.

      suggestion for third point:
      I don;t know how you realized falling objects, but I guess two variants: you using timer; you using Animations.
      you can modified timer interval or Animation duration properties for increase falling speed.

      --
      Vasiliy

      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