|
Yeah, I'm serious.
SurfaceGuis have an issue of where you can't offset it from it's actual place in the Z axis, since they're 2D...
And they also have an issue where they don't fit on unions, like decals, right?
But I also came upon this, why do ImageLabels have an ImageRectOffset and ImageRectSize properties? This could be easily invented to Decals perhaps?
TL;DR - Import some properties from 2D UI elements to Decals like stretching and offsetting them |
|
|
Okay, since there's not quite much responses (I think this isn't very active though.)
But let me explain.
This is the decal instance, where it has only the following properties for images.
Content Texture
float Transparency
NormalId Face
http://wiki.roblox.com/index.php?title=API:Class/Decal
While... This ImageLabel/ImageButton instance has many more properties.
Content Image --exists on Decals
Color3 ImageColor3
Vector2 ImageRectOffset
Vector2 ImageRectSize
float ImageTransparency --exists on Decals
ScaleType ScaleType
Rect2D SliceCenter
float Rotation
http://wiki.roblox.com/index.php?title=API:Class/ImageLabel
I believe this should explain the things, let's just say Decals have not any properties at all almost.
I don't like uploading 3 (union) or even 6 (seperated) images just for the sake of 3 parts being seperated by their faces, and meaning I'd have to cut the image from it's center to make it look like it extends to the other side of the face.
|
|
|
I can't understand a thing you're saying, but I guess I support. |
|
|
ok lemme try to explain it as little hardly as possible
So, you've seen some games, went into their texture folder, and seen how they place everything on the same image?
For example, a character has it's body, arms, legs and eyes on the same image,
what they do to seperate it from there is by using an Offset position from top-right (measured in pixels), and they set a Size (also measured in pixels)
It's like cutting out a certain bodypart from an image full of bodyparts. |
|
|
for people that cant understand this:
op wants to add a property to decals that allows you to change their size and other things
for example if you want to add a tiny image onto a block with a decal you cant because decals cant be resized |
|
|
oh my god you explained it so easily
what are you, a magical being? i hope so |
|
CorktailJoin Date: 2012-07-16 Post Count: 17313 |
idc and idk but support
#code print(R$353 Tx514) --M4GGOT/MaggotSoup, the maggot of RT https://www.youtube.com/watch?v=U6AFytrIqE4 |
|
PolariaQJoin Date: 2009-12-08 Post Count: 93 |
Here is a suggestion for a Property:
- WrapAroundEdges - bool or NormalId or NormalIds . Wraps a decal that overlaps a border to the other faces if true or has an Enum or Enums .
|
|
|
yeah that would be great
that means less pain in trying to set sizes and offset to wrap around parts |
|
|
|
Couldnt you just place the decal on a brick, change the brick to the size you want, place it where you want it, then make the brick invisible?
So you could have gui's floating off of objects, you could have a decal thats centered on a face, or off to the side, but not taking up the entire face of the object.
This also allows you to rotate it, angle it, do whatever you want with it at the expense of one more brick.
the ony and only |
|
PolariaQJoin Date: 2009-12-08 Post Count: 93 |
Using a transparent might only work in a block-brick-to-block-brick status . The suggestion is to allow a decal to get a surface while including the properties of a GuiBase2D . Also, the property SliceCenter might still be missing . |
|
PolariaQJoin Date: 2009-12-08 Post Count: 93 |
Transparent bricks would only work so much . |
|
PolariaQJoin Date: 2009-12-08 Post Count: 93 |
Could someone please take a look at this forum? |
|
|
People just don't like good ideas? |
|
PolariaQJoin Date: 2009-12-08 Post Count: 93 |
We could check to see if they like the idea.
"too short;show work." Here .
-Contents:
-A: Idea
-B: Use
-C: Properties
-D: Code
Okay before anyone says just to use a transparent part with a decal to put an image on an opaque part: that would only work if the surfaces selected on both parts are flat .
A: Allow the Decal to keep the attribute of coating or matching the surface of a part while having the ability to be moved .
B: So that a Decal can be used to alter the look of a part in different ways .
Examples are: Rotated textures, pictures with different colors, if scripted then scrolling custom text . Also, the decals might be affected by the Lighting in ways that a SurfaceGui are not .
C: Already mentioned in this ; look at the first or second entry .
D: A script to use triangles and SurfaceGuis might have to be used to wrap an image around a surface such as on the round surfaces of a Cylinder . Also, apparently a SurfaceGui does not get affected by Lighting in a way that a Decal does .
|
|
|
pls respond this is a good idea |
|
|
|
Support. Decals also need something similar to ImageColor3 and ZIndex, this would help a lot. |
|
|
|
Support for better decal support. |
|
|
tl;dr
• Breakfast is my favorite color • |
|
|
Is it too much trouble to just re-size the part you inserted the decal on? |
|
|
Pretty sure you can't change a decal's colors and ZIndex by just changing the part's size. She didn't just mean size and offset, she meant other UI elements too. |
|
|