Regarding error in Tutorial 6 - Pipe Class Creation (Flappy Bird C++)

  • piklu69
    Likes 0

    Problem Description

    Hello,

          I'm using Cocos 2d-x 3.4, and learning from your flappy bird tutorial. However, in your 6th tutorial of pipe class creation, when I run the tutorial, the program thread breaks at GameScene::SpawnPipe() function. The screenshots of GameScene and Pipe cpp / header files for reference are given in the link below. Please help in resolving this issue.
     
     
    With Warm Regards
    Partho Mandal
    Indian Institute Of Information Technology And Management, Gwalior
  • Sonar Systems admin
    Likes 0

    There is a breakpoint towards the end of the file, try removing it.

  • piklu69
    Likes 0

    I know there’s breakpoint at SpawnPipe function, but I don’t have much clue how to resolve it. Can you suggest the possible ways by which it can be resolved?

  • Sonar Systems admin
    Likes 0

    Have you tried removing the break point

  • piklu69
    Likes 0

    Yeah, I have removed the breakpoint, it worked. Thanks laugh

  • Sonar Systems admin
    Likes 0

    Your welcome.

     

    Feel free to post any future questions you have on this education platform.

Login to reply