Forest Cannon Dancing C++


i have tried this in so many ways that i just don’t know what I am doing wrong. I have been able to go on due to it being a practice one but the fact that I can’t seem to get this one to work just bothers me a bit.
thanks

Maybe you can try removing line 18: onSpawn(); and line 21: return 0; and see if it works

if those go then i can’t call the function. also the return 0 needs to be there as well.

You are already calling it on line 13 so calling it again won’t really affect anything, i tried out the level with c++ and when i discluded line 18, it worked

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.