generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Decal put on any surface but staying a certain size?

Previous Thread :: Next Thread 
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
13 Jan 2014 08:58 PM
Any method of putting a decal on a surface without it stupidly stretching across the entire surface? It's a stupid 'feature' that is making it hard for me to do a blood splatter effect that looks good. Any way to do this?
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
13 Jan 2014 08:58 PM
Try using a texture.
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
13 Jan 2014 09:06 PM
The issue is that I want to put a decal on any surface at will but only have it in that spot. So imagine a drop of blood falling onto the floor. It splatters and stays in that spot. If I made a thin brick that fell in that spot, it would overlap on edges and look weird.

I suppose it's possible to calculate the size of the surface and make sure that the decal brick thing is smaller and wont overlap if it falls in a certain position.

Actually that sounds pretty intensive I'd rather use the script memory somewhere else.
Report Abuse
WebGL3D is online. WebGL3D
Joined: 04 Sep 2013
Total Posts: 28311
13 Jan 2014 09:08 PM
SurfaceGui with an ImageLabel inside?


~ 1Topcop ~ Java3D ~ WebGL3D ~ Hoard3D ~ Thug3D
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
13 Jan 2014 09:09 PM
You could make an invisible part barely ontop of the part that is set to the size oyu want
Report Abuse
shonclub is not online. shonclub
Joined: 05 Sep 2009
Total Posts: 1331
13 Jan 2014 09:10 PM
SurfaceGui, although it still has some bugs.

You can use a transparent brick and put it 'in' the brick.
Report Abuse
StBashkir is not online. StBashkir
Joined: 29 Aug 2008
Total Posts: 26171
13 Jan 2014 09:20 PM
You should still use an overlapping brick. However, you can get rid of the bad z-buffering (the flickering) by moving it on whatever axis by .001. This amount is not noticeable to the characters, but it gets rid of the flicker.
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
13 Jan 2014 09:44 PM
It get's rid of the flicker only in a stable environment. In a large scale unstable environment the flicker will take place up to .2 studs. I've done lots of test and stuff.

This was as of July.
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
13 Jan 2014 09:45 PM
And yes, I'll use surface GUI. It sounds like what I need. What's a method for finding position on a surface gui?
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
13 Jan 2014 09:47 PM
Last thing: I saw this image on the roblox wiki and was wondering how to prevent the text from floating off the brick. I need it to cut off when it gets to the edge. If it wrapped around the part, that would also work.


http://wiki.roblox.com/index.php?title=File:SurfaceGui-Example.png&filetimestamp=20131214193854
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
13 Jan 2014 10:36 PM
ClipsDescendants.
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
14 Jan 2014 06:46 AM
Thanks!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image