OverviewFelgo 1 Support › Flappy Bird with multi color pipes?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #7091


    Is there a way to make different pipe colors appear when you pass a certain amount of pipes? I have no idea how to begin it!  any help would be great. thanks guys



    Would this work in pipes.xml

    SingleSpriteFromFile {
         id: spriteUpperPipe
         translateToCenterAnchor: false
         filename: "../img/images-sd.json"
         source: (score >= 0 && score <20) ? "pipe_green.png" : (score >= 20) ? "m)pipe_red.png" : ""
         mirrorY: true




    Nevermind I figured it out lol



    Hi armotechsolutions,

    you got a typo in pipe_red.png with leading m) , which was the error.

    You can simply test it by setting score to 19 in initGame() in GameScene.qml.




Viewing 4 posts - 1 through 4 (of 4 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
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support