Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Feature request
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-21-2014, 04:50 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
GuiDrawingPanel functions

Hey there,

I'd love to have these two functions for the GuiDrawingPanel:

PHP Code:
  //an addition to GuiDrawingPanel.maskimage(...)
GuiDrawingPanel.maskimagepart(intintintintintintstrstr) - draws an image (x,y,partx,party,partw,parth,filenameon top with a special mask operation (add or multiply)
  
//an extension to GuiDrawingPanel.drawimage(), GuiDrawingPanel.drawimagestretched(), ....
GuiDrawingPanel.drawimage(...).rgb = {floatfloatfloat} - the RGB of the drawn image can be changed 
of course they should be available clientside, as well as on serverside, so when saving images both would work.

Why those could be useful? When creating images or templates, you dont need to use several sprites when you're about to mask an image, you can just use one template. Also, you can use only one template of an image when drawing it into the GuiDrawingPanel and just change it's color via script. That way, when you're making an editor or similar stuff (let's say for images, signs, customes etc) where players can edit stuff on, you could change the image colors via script without having it limited to only a few colors with thousands of template images staff had to create earlier. Gives us a bigger variety of scripts to create!
__________________
MEEP!
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:41 PM.


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