Game Development Community

Breakout tutorial - ball keeps getting stuck

by Leandro Eidi · in Technical Issues · 05/02/2009 (8:12 pm) · 5 replies

I'm doing the Breakout tutorial, I'm almost at the end, but something is bugging me. I can play it for some time, but then, with no apparent reason, the ball gets stuck on the walls or on the indestructible tiles, and the sound that plays when the ball hits them keep playing forever, like it's constantly colliding with them.

I was hoping for a fix in the tutorial, but there isn't any. Is anybody having the same problem as me or did I do something wrong?

#1
05/06/2009 (6:28 pm)
So... should I suppose that nobody else has encountered this problem? This is almost a deal breaker for me. Not having to worry too much about collision detection is one of the main things I'm looking for. This example was supposed to be simple, the ball just has to bounce on the walls and tiles.
#2
05/07/2009 (4:38 am)
I don't know anyhing about the Breakou tutorial, but I may be able to help you troubleshoot.

Which engine are you using?

Where is the Breakout tutorial (link)?

Have you checked the console.log?

#3
05/07/2009 (4:55 am)
I'm using TGB, the link is this: http://tdn.garagegames.com/wiki/TGB/Tutorials/Breakout and the log doesn't show anything that could cause the problem.
#4
05/07/2009 (9:29 am)
I've seen that collision problem mentioned before, I believe the solution is in the TGB Private forums. I don't use TGB so I don't know.

I've noticed that not too many people from the TGB side of the community seem to answer questions about TGB outside of the TGB forums, you might try asking about this issue in the TGB Public forums.
#5
05/07/2009 (10:03 am)
OK. Can somebody please move this topic to the TGB public forum?

I think that the private forums about the tutorials should be public. After all, we use the trial version to do all the tutorials we can in this period to decide if we are going to buy it or not. Having these problems and not being able to access the forums that might have answers for them is a little annoying.