Sprite.SetPosition Syntax
Author |
Message |
eggplant_burger
![](http://www.gatt.co.tt/forums/avatars/gaming/Final_Fantasy_IX_-_Black_Mage_1.gif)
|
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?? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Mazer
![](http://compsci.ca/v3/uploads/user_avatars/1323750815476d9f446d80c.png)
|
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. |
|
|
|
|
![](images/spacer.gif) |
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 |
|
|
|
|
![](images/spacer.gif) |
eggplant_burger
![](http://www.gatt.co.tt/forums/avatars/gaming/Final_Fantasy_IX_-_Black_Mage_1.gif)
|
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. |
|
|
|
|
![](images/spacer.gif) |
|
|