Timeline for Java - 2d Array Tile Map Collision
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 16, 2012 at 20:54 | history | edited | Corey | CC BY-SA 3.0 |
added 82 characters in body
|
Jun 16, 2012 at 13:34 | history | tweeted | twitter.com/#!/StackGameDev/status/213987892979183618 | ||
Jun 15, 2012 at 20:14 | history | edited | Corey | CC BY-SA 3.0 |
added 35 characters in body
|
Jun 14, 2012 at 23:32 | history | edited | Corey | CC BY-SA 3.0 |
added 369 characters in body
|
Jun 14, 2012 at 21:07 | vote | accept | Corey | ||
Jun 14, 2012 at 15:51 | answer | added | larsbutler | timeline score: 2 | |
Jun 13, 2012 at 17:22 | comment | added | Corey | Yes. It was Causing issues with lag so I put it to only 50x50 until I come up with a system for rendering only what is in my viewport. What I wanted to collide with renders on the screen because I have it at the beginning of the array, but it still doesn't collide | |
Jun 13, 2012 at 6:57 | comment | added | msell | Your map is allocated as new int[500][500], but you are rendering only 50x50. Is this intentional? When you are reading the level, you are using x and y differently than in rendering. Same thing with the collision check. | |
Jun 13, 2012 at 4:09 | comment | added | Corey | I have spent the whole day trying to "use a debugger" and I cannot find the problem so I came here, a site where the whole point is asking for help, to see if someone could help me out or point me in the direction of solving my problem. I'm not asking for code to be written for me. I am just asking for a nudge in the right direction. Debugging isn't going to help me when I don't understand how to make it only collide with one item from the array in the first place. I didn't come here after trying for five minutes and beg for people to write me code. | |
Jun 13, 2012 at 3:11 | comment | added | Tetrad | This looks like a "you need to learn how to use a debugger" kind of problem. | |
Jun 13, 2012 at 2:10 | history | asked | Corey | CC BY-SA 3.0 |