Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Rotateimg? (https://forums.graalonline.com/forums/showthread.php?t=52750)

projectigi 05-18-2004 01:43 PM

Rotateimg?
 
I heard of a rotateimg command
something like
rotateimg index,degrees;

is there one?

Python523 05-18-2004 02:07 PM

no.
<insert letters enough to post here>

DIABLO2099 05-18-2004 09:59 PM

I think this was suggested; but yeah as Jagen says, nope.

zokemon 05-19-2004 02:33 AM

where or who gave you that idea? O_o

XxDarkrazorxX 05-19-2004 05:46 PM

someone ever made a NPC that rotated, i think it was giltwist,
though it was a large script, not a command :P

Crono 05-19-2004 06:22 PM

http://forums.graal2001.com/forums/s...ad.php?t=50064

Galdor 05-19-2004 06:38 PM

Quote:

Originally Posted by Gerami

wow thats a cool script =O

Dach 05-19-2004 07:36 PM

Horribly laggy though, but then again my flag isn't much better... that should be fixed in 3.1 with the better image handling (I'm assuming from what I've heard from various sources)

it works fine for not-so-dynamic imag rotating of course *hint**hint* don't put in a timeout like it is, actually you can get off making your own script since you don't really need that much power in effect

Crono 05-19-2004 07:48 PM

hey check out my leet rotation script

if (created) {
rotateplz;
}

GoZelda 05-19-2004 11:26 PM

Very nice indeed :whatever:

But that won't work, because people will think it's just an image.

osrs 05-21-2004 03:18 AM

Cool friends -> sin(), cos(), brain. :)

Polo 05-21-2004 09:52 AM

The ganis for 'Earth to Dust' on Kingdoms and 'Skull Summon' on Classic both crumble an image by first splitting them in to smaller granules, which is the same technique used in the rotation NPC above, if I remember correctly. Its a nice method, but is slow on anything more that 100 or so granules, especially with sin and cos thrown in.

zokemon 05-21-2004 09:57 PM

Quote:

Originally Posted by osrs
Cool friends -> sin(), cos(), brain. :)

+ Pentium 4, 2.00 GHz or more processor (sp?)
+ 1024 MB Memory
+ AGP Graphics Card with 256 MB Memory

Dach 05-21-2004 11:16 PM

Quote:

Originally Posted by zokemon
Quote:

Originally Posted by osrs
Cool friends -> sin(), cos(), brain.

+ Pentium 4, 2.00 GHz or more processor (sp?)
+ 1024 MB Memory
+ AGP Graphics Card with 256 MB Memory

I prefer the brain out of all of those tools, especially since I can get away without most of them with just a brain ^^

Polo 05-21-2004 11:36 PM

I think if you need that powerful machine then theres a lot of optimising you can do.

HoudiniMan 05-22-2004 12:29 AM

If you add changeimgzoom this.i,1.025;
in the loop with the showimg on either of those scripts in the linked thread it improves the image quality... Makes it slower though ;(

WanDaMan 05-22-2004 10:45 AM

to rotate an aimage, use sin' and cos' or just use paint or somet

osrs 05-22-2004 03:14 PM

Quote:

Originally Posted by WanDaMan
to rotate an aimage, use sin' and cos' or just use trigonometric functions or somet

I did change your post a bit to explain better :)

Loriel 05-22-2004 05:25 PM

It is completely impractical to rotate anything but smallest sprites with your puny gscript skills.

osrs 05-22-2004 06:55 PM

Quote:

Originally Posted by Loriel
It is completely impractical to rotate anything but smallest sprites with your puny gscript skills.

Who was that comment appointed to?

jake13jake 05-22-2004 07:02 PM

Quote:

Originally Posted by projectigi
I heard of a rotateimg command
something like
rotateimg index,degrees;

is there one?

i would rather have rotateimg index,radians;

Dach 05-23-2004 08:51 PM

Quote:

Originally Posted by osrs
Who was that comment appointed to?

everyone, he means that gscript is a very inefficient language to be rotating any image that isn't small

you're much better off doing the rotating in your favorite gfx editor than relying on gscript, especially for static animations x_x

zokemon 05-23-2004 11:56 PM

Quote:

Originally Posted by Dach
everyone, he means that gscript is a very inefficient language to be rotating any image that isn't small

you're much better off doing the rotating in your favorite gfx editor than relying on gscript, especially for static animations x_x

It is agreed.
So now this topic is pointless ;)


All times are GMT +2. The time now is 03:33 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.