PositionSprite maximum and minimum values

Started by Ian Price, January 30, 2006, 12:20:40 AM

Previous topic - Next topic

Ian Price

I've been playing around with sprites a lot lately and there appears to be a minimum and maximum position of the PositionSprite command - I've been using PositionSprite with an offset value and noticed that if the Sprite X value is less than -100 or greater than 750 (or thereabouts) the sprites are not positioned at all (I don't know if they even get created).

What are the minimum & maximum limits and is there a way to increase these/turn them off?
I came. I saw. I played some Nintendo.

kevin

#1
There are no limits. Position is stored a single precision float.

Can you post some example code ?

Ian Price

#2
Maybe it's my coding (it was 4:00am or thereabouts). I'll have a fiddle and see what I can come up with.


[Tappety tap of keyboard on standalone version of problem]

Nope. You're right, there isn't a min or a max. Means my JetPak code is buggered somewhere  :(


(But at least I know what I wanted to do IS possible and SHOULD work!) Yay :D

Out comes the magnifying glass...




Cheers BTW :)
I came. I saw. I played some Nintendo.