View Single Post
  #6  
Old 06-15-2006, 10:49 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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)) {
  
player.x;
  
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

Reply With Quote