Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Future improvement for GraalScript (https://forums.graalonline.com/forums/showthread.php?t=59061)

calani 05-23-2005 08:49 AM

Future improvement for GraalScript
 
one word: rotateimg
or, textured triangles so you can custom-texture 3d polys and make a graphics engine inside graal. this would also get rid of the need for multiple sprites in weapons, vehicles, etc, and would be easy to implement, as it would be a direct wrap to driectx.

Rick 05-23-2005 08:52 AM

Why? You have Graal3D. Use it.

Evil_Trunks 05-23-2005 09:13 AM

there is a function for rotating images in GScript2

Rick 05-23-2005 11:02 AM

Quote:

Originally Posted by Evil_Trunks
there is a function for rotating images in GScript2

What is it?

Ajira 05-23-2005 01:55 PM

Quote:

Originally Posted by Rick
What is it?

It is the 'rotation' property used along with findimg(). However, I'm not sure if this is part of GScript2, or the particle engine included in v4.

Kaimetsu 05-23-2005 02:29 PM

Quote:

Originally Posted by Ajira
I'm not sure if this is part of GScript2, or the particle engine included in v4

Huh? GScript itself doesn't contain implementation for any of its functions. It's just a language used to invoke the engine's functionality.

Admins 05-24-2005 08:09 PM

You can rotate showimgs right. That is mainly interesting for projectiles or particles though, because rotating the player would mess up the perspective I guess.
It is planned that you can use showpoly with images, eventually also specifying the texture coordinates.

Ajira 05-24-2005 09:19 PM

Quote:

Originally Posted by Kaimetsu
Huh? GScript itself doesn't contain implementation for any of its functions. It's just a language used to invoke the engine's functionality.

Then I guess it is included with the particle engine.

calani 05-24-2005 09:21 PM

I'm talking about using it for weapon sprites or other such things... possibly vehicles also.

I've never even heard of being able to rotate images though o.O anyone care to explain how / point me to where I can learn?

Ajira 05-24-2005 09:36 PM

Quote:

Originally Posted by calani
I've never even heard of being able to rotate images though o.O anyone care to explain how / point me to where I can learn?

NPC Code:

findimg(index).rotation = # of radians;



All times are GMT +2. The time now is 08:32 PM.

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