File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need help on collision detection.

 
Aaron Collins
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My game is fairly advanced. you can move in all 2D directions and the land moves as well as you do.
These must be factored in because otherwise it wouldn't work.
Any ideas on this would be happily accepted. (hopefully)

Please help me.

Here is the paint method:



here is another method:


Pre alpha 3.0 sandbox.PNG
[Thumbnail for Pre alpha 3.0 sandbox.PNG]
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12022
25
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess is that you've not gotten any responses because it is unclear what exactly you need help with. Further, you code is poorly documented...150ish lines of code, and ONE comment. My first reaction on seeing something like that is to just say "Next!".

So..ask specific questions. Don't post any irrelevant code. Tell us what does happen, what doesn't happen, what you expect to happen, and what you want to happen. As it is, you are asking the reader to do way too much work on their own, and at best, they can only guess what you want or need help with.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic