![]() |
rotating an image in graalshop?
When I downloded the Developers pack, it noted this:
"The GraalShop.exe has been updated on 2006-01-09 for enabling ATTACHSPRITE2 (attach below), faster startup and it is not deleting EFFECTMODE, ROTATEEFFECT etc. anymore." So where do I find this "ROTATEEFFECT" thing? And what about the others? What do they do to what? If I am misreading or misinterpreting the above message somehow, is there any kind of method in GScript to rotate an image? to use the "rotateeffect" word above... params[2]==rotateeffect("imagefilename"); //or setani("ganifilename",rotateeffect("imagefilename" ); Is there at least some kind of equivalent to this? Would it work if I just put that in the Graalshop Def.param2 slot? The Graal Wiki says nowhere about rotating images (except for an article on Euler rotation, but I don't see any translation to GScript in it), however I've been told that most stuff this new GScript can do isn't altogether released and that only people close to Stefan know stuff before everyone else. |
You're not close enough to be told that :p
...me neither XD |
EFFECTMODE spritenumber 0-2
ROTATEEFFECT spritenumber angle (default 0) STRETCHXEFFECT spritenumber stretchfactor (default 1) STRETCHYEFFECT spritenumber stretchfactor (default 1) ATTACHSPRITE2 spritenumber spritenumber deltax deltay Cough cough. Pretty sure you stick that in the gani .txt like you do with light effects. |
An insider! Quick, torture him, find out what else he knows!
:p Thanks...now I have to get better at ganis XD |
If it hadn't been posted in the New Graalshop.exe thread about ten posts down, you might be able to torture me.
QUICK, RUN BEFORE THEY GET OUT THE STRETCHING RACK! |
For rotating images you can either:
- use the GS2 function findimg(index) and use the attribute "rotation" (see Graal Bible): PHP Code:
NPC Code: |
I must've overlooked. The only rotation thing I was able to find was the particle emitter things.
Nonetheless, danke. |
| All times are GMT +2. The time now is 05:28 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.