News:

Function Finder  Find all the functions within source code files

Main Menu

Quick Help?

Started by ScottieB, August 29, 2013, 07:12:31 AM

Previous topic - Next topic

ScottieB

Why is spritescaleing not working right when I try to capture depth to scene?

Some is working right some is not?  Why? is it not doing them all with the proper scaleing I gave them?


stevmjon

hey scottieb

I made a mini example using a few help file samples pasted together, and I got it to work fine (see pic).
the only thing I can think of causing a problem, not seeing your code, is are you using floating point or integer (whole number) values in the scalesprite command?

example 1:
value#=1.5
ScaleSprite index,value#          *value#=1.5 (floating point variable keeps same value)

example 2:
value=1.5
ScaleSprite index,value          *value=1 (integer variable is rounded down)


hope this helps,  stevmjon
It's easy to start a program, but harder to finish it...

I think that means i am getting old and get side tracked too easy.