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 » Scripters
Home Search
 

Re: How would I make a drawing tool?

Previous Thread :: Next Thread 
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 12:58 AM
Basically I am trying to make a tool that just creates a brick every .1 second wherever my mouse is IF I am holding my left mouse button down and it is on a certain brick. I haven't done anything like this before, so I am wondering how I could do it. I think it may use raycasting, but I tried and failed to understand it from the wiki.

Yes I do know how to script, but I am only intermediate.



| devTools || You can't flame a man on fire |
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 01:02 AM
b1
Looking to learn here please. If someone wants to explain raycasting better than the wiki too, that'd be great lol.



| devTools || You can't flame a man on fire |
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 01:08 AM
b2
Help please



| devTools || You can't flame a man on fire |
Report Abuse
PearSprite is not online. PearSprite
Joined: 02 Jul 2015
Total Posts: 230
17 Jul 2015 01:09 AM
A ray is essentially a vector with an origin. A vector is a dimensional object that has a magnitude and a direction. An analogy for a vector is pointing your hand towards an object: the length that your hands heads towards the object is the magnitude, and the angle your hand is pointing at is the direction. Vectors themselves are independent of any position in the world, but they can travel an infinite distance in a direction. Rays start at a certain point and can travel an infinite amount of space in a direction. In your case, you can imagine that where your mouse is pointing is your origin and that there is a ray (or, while not technically correct, a line ) going from your mouse and traveling through the world.
Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
17 Jul 2015 01:11 AM
use a clickingDetector and filtering enabler i heard is good in script with clicking and local idk
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 01:12 AM
@Pear
Okay... but like, what would the syntax be for creating a ray and pointing it somewhere, and how would I be checking when they are holding their mouse down?

Things I don't know yet:
-Raycasting syntax
-Detecting when they're holding the mousebutton1 and when they release it
-Creating a brick on the end of a raycast

Can anyone explain these maybe?



| devTools || You can't flame a man on fire |
Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
17 Jul 2015 01:14 AM
^ idk maybe Google it, ,idiots... wrong forum reported go to SH and get out you,re not even allowed back people disrespecting rule to get what they want. disgusting you are why the site community is said bad
Report Abuse
PearSprite is not online. PearSprite
Joined: 02 Jul 2015
Total Posts: 230
17 Jul 2015 01:14 AM
-Raycasting syntax
-Detecting when they're holding the mousebutton1 and when they release it
-Creating a brick on the end of a raycast

Do you want me to explain that from a server or client perspective?
Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
17 Jul 2015 01:16 AM
dont bother loser will not come back if he does report him he must learn hardway for his ways
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
17 Jul 2015 01:17 AM
There is no Scripting Helpers anymore...

People really need to learn that.

This IS the place to ask for help.
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 01:17 AM
@j1my
Please check your subforums, SH is gone.

@Pear
I would say server-side so that it can create a brick at the end of a raycast, idk if that can communicate from client to server with making new Instances.



| devTools || You can't flame a man on fire |
Report Abuse
TheTrueRias is not online. TheTrueRias
Joined: 12 Aug 2014
Total Posts: 1015
17 Jul 2015 01:18 AM
@dev

no sh is right there cant you see it
Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
17 Jul 2015 01:19 AM
tell to wiki am not stupid you is

http://wiki.roblox.com/index.php?title=Scripting good bye script talent u not deserve
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 01:19 AM
@TheTrue
Yeah right next to the "j1my fans" subforum



| devTools || You can't flame a man on fire |
Report Abuse
PearSprite is not online. PearSprite
Joined: 02 Jul 2015
Total Posts: 230
17 Jul 2015 01:20 AM
I'll make an example for you. It would be easier if you partied/skyped me than foruming though.
Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
17 Jul 2015 01:20 AM
disrespect? personal attack? not joke am triger report and bie
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 01:21 AM
@Pear
Can you turn on your parties real quick so we can party?



| devTools || You can't flame a man on fire |
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 01:21 AM
@j1my
You're funny, you should move to Clans and Guilds, they would appreciate you.



| devTools || You can't flame a man on fire |
Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
17 Jul 2015 01:22 AM
stop spam bump OUT i say
Report Abuse
PearSprite is not online. PearSprite
Joined: 02 Jul 2015
Total Posts: 230
17 Jul 2015 01:22 AM
Alright, send the request
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
17 Jul 2015 01:23 AM
@j1my
I am replying to your replies, so you are forcing me to spam bump it lol. Try out C&G or LMaD, they appreciate your behavior.



| devTools || You can't flame a man on fire |
Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
17 Jul 2015 01:23 AM
ok yes you is troller wrong post section not script good bye i will report to moderator already pm three you are laugh at by the staff good bye humilite youself elesewhere
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
17 Jul 2015 01:27 AM
j1my

Can you please stop trolling? You are worse than the OTers that attack this sub forum now and then.
Report Abuse
Bawbie22 is not online. Bawbie22
Joined: 18 Dec 2014
Total Posts: 815
17 Jul 2015 01:28 AM
^ can u pls learn how 2 go 2 sh? this isn't sh dont treat it like it you idiot


http://www.roblox.com/buy-for-your-father-item?id=264678471
Report Abuse
j1my3p1x is not online. j1my3p1x
Joined: 16 Jan 2010
Total Posts: 978
17 Jul 2015 01:29 AM
trolling,.... you subredit is of joke. u treat like that after I help clean? Disgrase.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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