23 reputation
6
bio website
location
age
visits member for 1 year, 4 months
seen Jan 12 '13 at 4:47

Jan
6
awarded  Peer Pressure
Dec
28
revised Why does this collision detection & resolution code only work for one side?
added 2 characters in body
Dec
27
comment Why does this collision detection & resolution code only work for one side?
Can anybody please help me? I am really stuck, and don't know how to fix this.
Dec
25
revised Why does this collision detection & resolution code only work for one side?
added 164 characters in body
Dec
25
comment Why does this collision detection & resolution code only work for one side?
OK, I did this and the same problem still occurs. I'll update the post with what I have now.
Dec
25
comment Why does this collision detection & resolution code only work for one side?
Thank you. I fixed the code and edited my question with what I did, but it behaves exactly the same way... so I'm not sure I understand what you're saying. Position is a vector, that looks like this: public static Vector2 position = new Vector2(43.0f, 79.0f);
Dec
25
revised Why does this collision detection & resolution code only work for one side?
added 9 characters in body
Dec
25
asked Why does this collision detection & resolution code only work for one side?
Dec
18
awarded  Supporter
Dec
18
comment How can I implement collision detection for these tiles?
You're correct, GetTile() only gives the ID (1 or 2) and the name ("dirt" or "background"). I'll give that a try.
Dec
18
comment How can I implement collision detection for these tiles?
What do you mean by tile object? In the XML file that is loaded from, the tile positions are obfuscated.
Dec
18
comment How can I implement collision detection for these tiles?
Is there any way to do collision detection without making a rectangle for every single tile?
Dec
18
awarded  Scholar
Dec
18
comment How can I implement collision detection for these tiles?
Thank you so much! This is very helpful. :)
Dec
18
accepted How can I implement collision detection for these tiles?
Dec
17
comment How can I implement collision detection for these tiles?
After some thought, maybe a jagged array would be better instead of a 4D array?
Dec
17
comment How can I implement collision detection for these tiles?
Well, the tileSize's are for the length and width of the Rectangle. As for collision, I am unable to complete it until I get this part working.
Dec
17
asked How can I implement collision detection for these tiles?
Dec
17
awarded  Editor
Dec
16
awarded  Custodian