View Single Post
  #12  
Old 10-13-2011, 05:15 PM
0PiX0 0PiX0 is offline
Coder
0PiX0's Avatar
Join Date: Jan 2011
Posts: 130
0PiX0 is a jewel in the rough0PiX0 is a jewel in the rough
Quote:
Originally Posted by Emera View Post
Are you trying to find the center of the players screen or the center of the players level?

Finding the middle of the players screen would be half of the screen width.

Finding the center of a specific level would be half of the height (62) and half of the width (62) since a levels height and width are both 62
The makescreenshot2 parameters take level x and y. One level (nw) is 64 by 64.
__________________
Reply With Quote