![]() |
Custom GUI Image Tutorial
4 Attachment(s)
I figured this fell more into Graphics rather than scripting, so I placed it here. This is a small tutorial to teach you how to create a Graal GUI skin from scratch. Criticisms/Comments welcome. Rep if you like it/found it helpful.
http://www.sympgraal.com/Ian/guitutorial.png |
Very nice :)
Now more pixelers will know how to make guis :p ++rep |
Very nice! :)
|
lol Nice one.
You already taught me this ;) |
Do these support alphatransparencies?
|
Quote:
|
nice tutorial
|
1 Attachment(s)
Here is my take on a loosely vista-themed one.
It made it with Era's gui template so it's much smaller than yours. It looks pretty good in game, but I can't change text colors, etc. so it doesn't fit perfectly. |
Quote:
|
Quote:
I'm just overwriting graphics locally to test them in game. |
I'd love to see a classic one :O! (Default Q Menu like this!)
+rep :) |
i did a classic one on old vs, remember??
rep++ [you don't need the profile= part, btw] |
1 Attachment(s)
I edited the tabs and the scrollbar images a bit too, so this is what the News gui looks like for me now on Era.
|
2 Attachment(s)
I see that you have a single pixel on the bottom left that represents the background. What you're doing is just making Graal's job more difficult because it has to tile a single pixel rather than a larger set, which takes more CPU time.
If you want a solid colored background simply remove the background pixel from the image and set opaque to true in the Window's profile then change fillcolor accordingly. Attached is the image I'm using for the simple gray window theme based on VGUI in the Source Engine. The image has 80 percent opacity. And combined with this profile, it makes the window background to what I want it to be without having to put it in the image file. PHP Code:
|
I don't think Graal is tiling the single pixel. Theres a "tile" variable, I'm pretty sure it's being stretched when this is set to false.
|
| All times are GMT +2. The time now is 01:01 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.