Forums

OverviewV-Play 1 Support › Audio not playing (FlappyBird)

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6983

    Jari

    Hi all

     

    This is my first post here, so if I do anything wrong, please tell me straight away! Alright, so here’s the little issue I’m dealing with.

    I was playing around with the SDK a little, and decided to download the FlappyBird source to figure out how stuff is done. Now, everything compiles fine, and on Windows all sounds work when I play the game. After I compiled for Android with the V-Play Build Server, I hear no sounds at all when playing the app on my phone. I also notice some pictures missing. (Note, that I made my own sounds and pictures. However, on Windows they work perfectly fine when testing within Qt-Creator)

    Is there anything I should change, before compiling for Android, or is there something else I should do?

     

    Also, I am using the trial plan at the moment, as the things I’m doing now are just for me to learn, but I’ve reached my 2 server builds limit. Is there any way I can compile for Android using my own computer? I tried some things I found on the Internet, but I get errors about V-Play SDK not being found and stuff like that.

    Any help would be much appreciated!

    #6986

    Christian
    V-Play Team

    Hi,

    welcome to the V-Play community! :)

    Let’s dive into your problems:

    1.) Missing images

    The original Flappy Bird images are only low-resolution (called “sd” or “single definition” in V-Play). This is why we set the following in FlappyBirdMain.qml:

    contentScalingFileSuffixes: {
          "-sd": { "scaleThreshold": 1, "internalContentScaleFactor": 1 },
          // the original Flappy Bird graphics are only sd, so we scale them up on higher-res devices
          // for your game, design graphics for the highst resolution
          //"-hd": { "scaleThreshold": 2, "internalContentScaleFactor": 2 },
          //"-hd2": { "scaleThreshold": 2.5, "internalContentScaleFactor": 4}
        }

    Did you also set this?

    If you did not set it, you need to provide an -sd, -hd and -hd2 version of your sprite sheets like in the Flappy Bird example..

     

    2.) Build Limit

    In the trial, you do not have a build limit but can build as often as you like. Where did you see there is a limit of 2 builds?

    Cheers, Chris

    #6994

    Jari

    Thanks for the response! I thought that there was a limit because my browser didn’t open up that window, but like always, my browser was being annoying. I found out later about the builds, and kept on trying. The image problem has been fixed now, but on Android I still didn’t manage to get the sounds working. Anything that I might have missed there?

     

    Thanks for the help so far!

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support