Game Development Community

Need a helpful nudge on the Breakout Tutorial

by David Downer · in Technical Issues · 10/22/2012 (3:26 pm) · 6 replies

Hi. I realize in advance that this will probably be a bit of a vague question, as you can't see my entire project, but I'm hoping my question might ring a bell for some of you more experienced users that have worked your way through the Breakout Tutorial successfully.

I'm in the 1st section and am up to the part that I need to test the program (mouse movement of the base/shield). The images show up fine, and mouse movement is registering (I turned off hidecursor for debugging purposes) but the sprite isn't moving at all. I have poured over the script line by line, several times, and I'm positive it's exactly like the tutorial. I'm certain the objects are named and classed correctly also.

Any ideas on what I might be missing? This seems like such a well-rounded tutorial and I really want to complete it, but I'm very stuck at the moment. Maybe some of you have worked through this and realize a small detail that may trip up a more inexperienced user like myself. I would appreciate any helpful suggestions you could give.

Thanks.

V/R,

Dave

#1
11/09/2012 (4:57 pm)
Have you checked the log file? There might be a error message that would help you find the issue.
#2
11/09/2012 (6:48 pm)
Good advice. I tried this and did get a, "Unable to find object " " notice. " That does at least give me an azimuth.

Thanks for your response.
#3
11/30/2012 (10:55 pm)
Sorry it's been so long, but I thought I'd mention that Torsion is a very handy tool. I know it sounds like a sales plug, but seriously - I use Torsion all day at work and I would hate to try to work on a Torque project without it. Breakpoints, real-time console log view, the ability to hover your cursor over an engine function and see the javadoc comments pop up, project-wide search, the list just goes on and on. It's almost Visual Studio for TorqueScript.

My point is that the right tool can save you hours of hair-pulling (I know, I don't have any hair...).
#4
12/01/2012 (12:38 am)
richard,
can torsion be used for c++ debugging
or
visual studio for TS?

or we have to debug them separately.

#5
12/17/2012 (5:07 pm)
You're stuck debugging independently - however, you can attach to a running instance of a program with VS - ctrl-alt-p allows you to attach to a running process. So start your game in Torsion using F5, then switch to VS and hit ctrl-alt-p. Choose your executable from the list. You are now simultaneously debugging script and source.
#6
12/17/2012 (10:18 pm)
that is new to me.
thanks.

i did a quick try.
but in that way VS10's breakpoint is not working.
nor it can "apply code changes".