For Programmers: Free Programming Magazines  


Home > Archive > Java Help > February 2006 > Re: Please help - "starAnimation.txt" 5357 Bytes yEnc









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Please help - "starAnimation.txt" 5357 Bytes yEnc
Rhino

2006-02-26, 7:57 am


<andrewtitus@alltel.net> wrote in message
news:buOdnQBlGeFjBJzZnZ2dnUVZ_v-dnZ2d@giganews.com...
> Iam writing a animation program that lets a star move accross the screen
> and
> bounces off the edges of the display. The problem Iam having is getting it
> to let me creat a rectangle and test to see if it hits border. I get six
> errors with this one problem. Can someone please point me in the right
> direction.
>

Source code would be a lot more helpful than bytecode in diagnosing your
problem....

Also, have you considered walking through your code with a decent debugger?
The problem should become clear if you step through the code carefully;
you'll probably find a variable that has the wrong value at a given point in
time and then deduce what you did to give it the wrong value, fix the code,
and then see that it works.

[snip bytecode or what that was]

--
Rhino


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com