Graal Forums

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

haunter 11-16-2003 04:40 AM

translucent polygons
 
I was playing around with polygons, but when i tried to make it translucent, it didnt work... It changes color, but the alpha doesn't change...

Am I doing something wrong? Was it made not to work? Or is it a bug? (if its a bug, would a mod please move this thread)...

NPC Code:
// NPC made by Shadowless
if (created) {
showpoly i,{
x,y,
x+5,y+5,
x+4,y-7
};
changeimgcolors i,1,0,1,.2;
}


DustyPorViva 11-16-2003 04:52 AM

Only graal version3+ supports alpha blending polygons.

haunter 11-16-2003 05:10 AM

Quote:

Originally posted by DustyPorViva
Only graal version3+ supports alpha blending polygons.
Ok, thank you. :)

MrGannondorf 11-16-2003 07:39 AM

likewise for showtext, it can only be transparent in v3, right?

DustyPorViva 11-16-2003 07:41 AM

Yup.

Quote:

----------------------------
New features/bug fixes in v3
----------------------------

v3 has several little improvements over the old Graal,
more will be added soon. Here a list of the
new things:

- polygons and texts can be transparent, so
you can use the script commands showpoly and
showtext together with changeimgcolors and
changeimgmode
- onwall2(x,y,width,height) to test a rectangular area
for blocking things
- more efficient speach support, it should work on Linux
too when microphone support is installed
- support for 24bit-pngs and jpegs

Things that are not supported anymore:
- setbackpal
- playersays()


MrGannondorf 11-16-2003 08:18 AM

oo better png support, finaly.

ForgottenLegacy 11-17-2003 03:24 AM

Quote:

Originally posted by DustyPorViva
Yup.


Well do you have any ides when the benifits of V3 will be avalible for windows users like me?

Johnny_5 11-17-2003 04:17 AM

Quote:

Originally posted by ForgottenLegacy


Well do you have any ides when the benifits of V3 will be avalible for windows users like me?

It is in the windows version of 3.0 ;)

MrGannondorf 11-17-2003 06:29 AM

Actualy, rev1 of it is already out. And you don't need vip anymore. And its not worth you time, just yet. Far to glitchy for my tastes, and the older layout is much easier to use, at this time.

Dach 11-17-2003 07:34 AM

Quote:

Originally posted by MrGannondorf
Actualy, rev1 of it is already out. And you don't need vip anymore. And its not worth you time, just yet. Far to glitchy for my tastes, and the older layout is much easier to use, at this time.
the first installment of the 3 series was intended for linux and mac users anyhow, no biggie, 3.1 will have enough to keep us busy for atleast a month :grin:

ZeLpH_MyStiK 11-18-2003 03:14 AM

Quote:

Originally posted by Dach


the first installment of the 3 series was intended for linux and mac users anyhow, no biggie, 3.1 will have enough to keep us busy for atleast a month :grin:

I doubt ONLY a month, it would be sad if it did turn about to be only a month. Having such a long time of work to go directly to waste after one month.

Dach 11-18-2003 09:03 AM

Quote:

Originally posted by ZeLpH_MyStiK


I doubt ONLY a month, it would be sad if it did turn about to be only a month. Having such a long time of work to go directly to waste after one month.

I meant figuring it all out, for some of us it won't even take that long though


All times are GMT +2. The time now is 12:18 AM.

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