-
Bumper car boundary fix
I've been working on this program for a while now, and I can't seem to get it to work right.
Classes here
My problem is that I cannot get the cars to stay inside the "grid" no matter what I do. I've tried different methods to do it, the one I have now works "in theory" but I cannot produce the results on screen that I do when I run through the numbers in my head.
If someone could run through it and see if there is a logic error in there or if "in theory" just won't do it with this particular set-up, that would help a bunch.
You don't even have to spell out what it is, give me an idea as to where to begin and I will hopefully will be able to learn more and figure it out my self. Right now, I need some guidance becuase it's got me stumped. Thanks in advance guys!
-
I am not able to download the files, could you just zip the java and send as an attatchment in an email to me, and I will have a look at it.
eschew obfuscation
-
no go zone
You could make a method, letting the coordinates know what area is inaccessbile, Havn't read your files have time to read them later, but some ideas, Make sure your bumper cars are on the grid.
heres a good website on java gaming
http://fivedots.coe.psu.ac.th/~ad/jg/index.html
-
I have included a link on that same page to download all the files instead of just looking at all the code..
Thanks for the ideas, I will look into that site. Basically, this isn't necessarily a game, it's just a project using random number generation and the different uses of classes.
-
-
One more bump- anybody get the chance to look at it and find anything wrong?
-
I would like to have a go at your code but I am not able to get all the source files, two of them comes through, the others just 'appear' like this:
"You do not have permission to access http://theguy.8m.com/carclass.txt
Data files must be stored on the same site they are linked from."
You could zip the whole thing and mail it to me at:
sjalle@start.no
and I'll fix it...
eschew obfuscation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|