| Mirage Source http://miragesource.net/forums/ |
|
| Wrong Coordinates http://miragesource.net/forums/viewtopic.php?f=201&t=3369 |
Page 1 of 1 |
| Author: | Tony [ Sat Feb 09, 2008 11:45 pm ] |
| Post subject: | Wrong Coordinates |
So I'm blitting to the form(instead of picScreen), tiles are 16 by 16 Part of the game is in negative coordinates. Whats the problem? |
|
| Author: | Lea [ Sun Feb 10, 2008 2:17 pm ] |
| Post subject: | Re: Wrong Coordinates |
WEll, on the form (0,0) is the top left corner. If you're going into negative coordinates, you're going off the screen to the left or right. This can happen because of scrolling maps or what-not... |
|
| Author: | Tony [ Mon Feb 11, 2008 2:10 am ] |
| Post subject: | Re: Wrong Coordinates |
I don't have scrolling o___o" God, I'm noob. |
|
| Author: | Lea [ Mon Feb 11, 2008 4:24 am ] |
| Post subject: | Re: Wrong Coordinates |
Oh I think I get what you're saying. Check your clicking subs and such... When you click it shows negative? or your player loc? (is that possible?) what's negative? |
|
| Author: | Tony [ Mon Feb 11, 2008 4:34 am ] |
| Post subject: | Re: Wrong Coordinates |
As in I can move up one tile which is out of bounds/form. Sorry Dave D:< |
|
| Author: | Coke [ Mon Feb 11, 2008 8:31 am ] |
| Post subject: | Re: Wrong Coordinates |
Drag your picscreen down? xD |
|
| Author: | Tony [ Mon Feb 11, 2008 9:33 am ] |
| Post subject: | Re: Wrong Coordinates |
Fox wrote: Drag your picscreen down? xD I'm blitting to the form instead of the picture box. [edit] Also when I'm map editing, it doesn't spot the place I'm clicking? |
|
| Author: | Coke [ Mon Feb 11, 2008 11:35 am ] |
| Post subject: | Re: Wrong Coordinates |
I had that trouble when I 16x16'd wrong |
|
| Author: | Lea [ Mon Feb 11, 2008 3:51 pm ] |
| Post subject: | Re: Wrong Coordinates |
Yeah, it must be your clicking subs, or your boundary checks or something. Maybe start over and be more careful, or go through and recheck everything carefully. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|