
07-05-2006, 12:43 PM
|
Malorian
|
 |
Join Date: May 2004
Posts: 5,289
|
|
Quote:
Originally Posted by Stefan
For rotating images you can either:
- use the GS2 function findimg(index) and use the attribute "rotation" (see Graal Bible):
PHP Code:
with (findimg(200)) {
x = player.x;
y = player.y;
image = "bush.png";
rotation = pi/2;
}
- set sprite attributes in a gani by editing the gani with a text editor and add a line like this
NPC Code:
ROTATEEFFECT spritenumber angle
|
There you go. |
__________________
Follow my work on social media post-Graal: Updated august 2025.
|
|
|