News:

Function Finder  Find all the functions within source code files

Main Menu

Is there a limit to x and y posistioning off screen

Started by micky4fun, April 05, 2010, 07:48:03 AM

Previous topic - Next topic

micky4fun

Hi kevin ,
ment to ask this question a while back , is there a limit to
x any y position off screen ,
ie at 1024 x 768 screen say , how far is it safe to got off screen with say
a sprites x and y posistioning

Mick

kevin

#1
 Sprites  X#,y# coordinates are 32bit floats.     Floats can approximate massive numbers, but they're more accurate with values bellow 2^24.            

PlayBASIC Code: [Select]
 MaxWidth= 2^24

print MaxWidth/1024 // max range divided by the screen width, give the number
// of screens

sync
waitkey



Ps. Please don't direct questions at me.  This is a PB user forum.  Every question/post on here is directed at all users, not me.

micky4fun