-
fredev98Likes 0Problem Description
Hi there,
I recently finished watching the flappy clone tutorials and thought I would give it a try, I went ahead and downloaded the source code created a new Cocos2d-x project and transferred the flappy clone code into this new project. The only issue is that once I actually try and run the code it turns out two errors on the same line in the code. I am not entirely sure if it is the actual code or if it is because I am missing some files as I have just transferred the files into a new project, but I wasn’t able to do it any other way. If any of you have an idea or a solution to what is wrong it would be much appreciated.
Here is a screenshot of the error.
I was told by the support team to post this question here as there might be more people with the same question.
Thanks.
-
Sonar Systems adminLikes 0
Did you follow the series or copy the code?
This reply has been verified.
-
fredev98Likes 0
Hi @Sonar Systems
I have downloaded the source code in the description of the video and then transferred it into a Cocos2d-x generated game “template”, that is why I think there might be an issue as the error is in the AppDelegate.cpp which is created with the actual project, but I deleted the original to be able to implement the one from the tutorial. I have looked the tutorial through once again just to make sure I hadn’t missed a step and I can’t find one place where you change anything in the AppDelegate.cpp, other than in the second tutorial to “include” the splashscene.h
Thanks.
-
fredev98Likes 0
I have now figured out the issue by importing the regular AppDelegate from Cocos2d-x although my xcode seems to be having some issues with the simulator but I will hopefully be able to figure that out.
-
Sonar Systems adminLikes 0
COOL, keep us informed.
Login to reply