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