![]() |
useasgui() ?
I was thinking (this would also solve Knight's issues with using different types of gui layouts for gui controls) what if we had a useasgui() function? Where in the params you must specify by string and x and y on the image how which part of the image should be used. :o
|
Wtf are you talking about? There are already variables for showing only parts of images if thats what you mean.
|
Do you want to make a zombie gui from different sources? x_x
|
I think he's talking about the layout in a GUI profile bitmap. How would you implement this kind of function though Stan? Like what object(s) would have it?
|
Well, I was meaning in terms of making any part of a regular image and having it able to be used as a gui. Like take for example, an image you want to use as you would gui but it cannot fit within the gui profile bitmap outline.
I figure it'd be something like showimg(100, "block.png", player.x, player.y).useasgui(5, 5, 10, 10); First two params as starting coordinates and last as width, height. I'm probably giving a bad example. But a best explanation would just be, taking an image that can't fit within the normal gui profile bitmap sizes and using it almost like a gui window along with the functions available to it. Edit: Such as being able to resize it and stretch the chosen piece of image. Ugh, I suck at explanations. |
GuiShowImgCtrl
? GuiStretchCtrl ? |
You can move those red lines on profile bitmaps Stan. There should be an example of how I did it on Maloria with the Maloria GUIs.
|
Quote:
Well, I'm done with suggestions. Also, thanks Zero. |
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 05:59 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.