Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Showani's (https://forums.graalonline.com/forums/showthread.php?t=76081)

DustyPorViva 08-03-2007 06:24 PM

Showani's
 
How come showani's don't have all the effects that player. does? I can't change the showani's red,green,blue,alpha. I can't crop it(though you can in GUI's), I'd also like to see the possibility of vflip, hflip, as there's no way to currently do so.
PLEAAAASE :(

HolySheepy 08-03-2007 09:26 PM

yeah, would be nice

DustyPorViva 08-03-2007 09:29 PM

Oh ya, for flipping, I suggest simply changing stretchx/y
stretchy=-1 would flip the image vertically and such.

HolySheepy 08-03-2007 10:52 PM

add this and i can finish my script(cropping showanis)

zokemon 08-04-2007 07:26 AM

That wouldn't allow you to crop showanis, you would just be able to mess with them...

HolySheepy 08-04-2007 08:10 AM

Quote:

Originally Posted by zokemon (Post 1337174)
That wouldn't allow you to crop showanis, you would just be able to mess with them...

i was talking of the first post :(

DustyPorViva 08-04-2007 04:02 PM

Cropping ani's is already possible, but only for the GUI. :(

Angel_Light 08-05-2007 02:46 AM

can't you use "with(findimg(#)) {" then do the commands like changeimgcolors(r,g,b,a); ??? (I havent tested)

zokemon 08-05-2007 02:52 AM

Quote:

Originally Posted by DustyPorViva (Post 1337297)
Cropping ani's is already possible, but only for the GUI. :(

Which is why I said you still wouldn't be able to crop showanis. "The GUI" as you say is just a GuiShowImgCtrl set as an ani. Showanis are just TShowImgs set as an ani. Two different things ;o

Inverness 08-05-2007 03:29 AM

GuiShowImgCtrl inherits all the variables in GuiControl, one of which is the ability to crop so things displayed inside aren't extended out of its extent.

GuiShowImgCtrl.showimg is the variable for the TShowImg object its using.

You can't crop Anis at all but you can crop GUIs.

Admins 08-09-2007 01:27 PM

Use actor.red etc.

DustyPorViva 08-09-2007 01:48 PM

Ooo, that's cool. But there's still the other things that would be nice. Cropping ani's, as well as flipping horizontally and vertically. Rotating doesn't give the results I'm looking for.

Inverness 08-09-2007 07:13 PM

This is a feature suggestion having to do with ganis, would it be possible to make it so you can create new sprites in ganis by simply rotating existing ones?

Admins 08-09-2007 08:01 PM

Well there are commands like player.ani.addsprite(index), so you can dynamically modify or expand ganis, two players with the same ani would both show the modifications though.

DustyPorViva 08-09-2007 08:37 PM

Well I'd love flipping via stretchx/y=-int
Also, no idea, but rotated gani's(one rotated pi for example), will have weird positions. If I have a gani set at the player.ani, the idle, for example will be at the right position. Walk will be a little offset, and sword will be offset by a couple tiles.


All times are GMT +2. The time now is 03:56 PM.

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