Sprite.SetPosition Syntax
Author |
Message |
eggplant_burger
|
Posted: Wed Jul 02, 2003 11:39 pm Post subject: Sprite.SetPosition Syntax |
|
|
I'm using sprites for this program (obviously), but I forgot how to use Sprite.SetPosition (in 3.1). Can someone please refresh my memory?? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Mazer
|
Posted: Thu Jul 03, 2003 9:31 am Post subject: (No subject) |
|
|
Sprite.SetPosition (spriteID, x, y, true/false)
spriteID is the variable for the sprite you're using.
x and y are the x and y coordinates
true/false is just a boolean: true if the sprite is centered on the coordinates, false if the coords are at the bottom left of the sprite. (i think)
it's actually been quite a while (more than a year) since i've even done anything with sprites. you're actually better off without them. switch to turing 4.0 if you can so you can use View.Update which looks much better. |
|
|
|
|
|
Andy
|
Posted: Thu Jul 03, 2003 9:47 am Post subject: (No subject) |
|
|
if ur in doubt of what a command does or how to use it, type it in the editor and press F9 |
|
|
|
|
|
eggplant_burger
|
Posted: Thu Jul 03, 2003 1:07 pm Post subject: (No subject) |
|
|
I usually use the editor reference (F9), but for some reason, nothing in the Sprite class has a reference page. |
|
|
|
|
|
|
|