I am making an obstacle game, but I am running into issues with the obstacles not showing up. I haven’t designed the obstacles, so I am using a simple stick person design as a reference of timing. I am storing the obstacles within a CCArray and the timings within a int vertex. I have a label on the screen showing me the time running, but the obstacles aren’t showing up. I am using the array/vertex format for simplicity of level design. It allows for me to just enter in times then adjust to where I want them. Note that I will not be using the for loop for adding times once I get this problem fixed. I will be manually adding in times in a different way.
LevelOneScene.h.zip (0.6 KB)
LevelOneScene.cpp.zip (1.3 KB)