Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


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.