Yo. What's happenin'.
So I have a class in bgt which is for a cannonball. The cannonball has values of x, y, and facing. I have all this set up with a cannon, and it works. My problem, however, is this.
Note that the quotes replace brackets Because I was getting a forum error when atempting to paste the original code.
I also have it do damage and it all works. All but the lines above. When it reaches a boundry, being either 0, or the max coordinates, it runtimes. I'm not sure why. I will paste the runtime text here, in case it some how sheds some light on the situation.
Call stack size: 3
Line: 46 (1)
Function: void facing_cannonballloop()
Line: 61 (1)
Function: void game()
Line: 52 (1)
Function: void main()
That's all it says. If someone could either explain why it runtimes, or paste the fixed code here, that'd be great. Also let me know if I should paste the class for the cannonball. I could do that as well.
Thanks for any help in advance
oh gad Would you just look over there? There, in the corner, right there...
The ultimate goal is the end. The true outcome was your ultimate goal this hole time. So what do you think your ultimate goal is? I know mine...