Done! Now it takes longer for the map to show up but it's okay, I
guess. How do I move the screen just a few pixels at a time in any
direction. I have the arrow keys loaded in NextFrame event. But each
time I try to move the map, it won't update with the new coordinates.
I am so lost how he did that in the RPG. It still doesn't make any
sense to me.
And I really appreciate your help on this.
Mark
On Jan 23, 2007, at 1:51 PM, joe at strout dot net wrote:
On Jan 23, 2007, at 18:40 UTC, Mark Barnett wrote:
But something is asking for -1=Xpos and
-1=Ypos and I have gotten a 81=Xpos too.
Well, sure, the SpriteSurface does that. It often needs you to paint
tiles that aren't on the screen yet, in case they are scrolled into
view. Just modify your code to check that the Xpos and Ypos are in the
bounds of your array before you attempt to use them.
Best,
- Joe
--
Joe Strout -- joe at strout dot net
Verified Express, LLC "Making the Internet a Better Place"
http://www.verex.com/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|