Timeline for Tile map collision is not working properly
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 31, 2012 at 14:14 | history | tweeted | twitter.com/#!/StackGameDev/status/208199881016360961 | ||
May 30, 2012 at 19:04 | vote | accept | Sigh-AniDe | ||
May 30, 2012 at 18:04 | answer | added | John | timeline score: 0 | |
May 30, 2012 at 17:58 | answer | added | House | timeline score: 1 | |
May 30, 2012 at 17:49 | history | edited | Sigh-AniDe | CC BY-SA 3.0 |
added 149 characters in body
|
May 30, 2012 at 17:43 | comment | added | Sigh-AniDe | the problem i am having is that it is detecting that tiles on my map where it is supposed to be 0(sprite not allowed to move on tile with 0 value), its detecting it as 1, which is allowing the sprite to move where it shouldn't be able to. Also some places on the map where it is supposed to be 1(Sprite allowed to move) it doesnt. moveup() just moves the sprite up a pixel. position.Y is the position of the sprite. This is my first game, so sorry for not explaining properly as im still trying to understand and grasp most of the stuff myself. | |
May 30, 2012 at 14:31 | comment | added | House |
It's unclear what the problem is. Some places it works and others it doesn't? What does that mean? Also, what is position.Y > screenHeight / 4 and what is MoveUp() doing? Lastly, questions that are basically just "Here's my code, find my problem" are not good questions, you need to tell us what you've tried and help us help you.
|
|
May 30, 2012 at 14:28 | history | edited | House | CC BY-SA 3.0 |
formatting, and removed code that is not relevant to the isssue
|
May 30, 2012 at 11:10 | history | asked | Sigh-AniDe | CC BY-SA 3.0 |