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: Currently just an idea but would help scripting drastically

Previous Thread :: Next Thread 
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
21 May 2016 07:42 PM
so iv recently sprung an idea about how to make Scripting with lua 1000x easier and to be perfectly honest with you the idea originates from a GTA5 mod menu Creator but in earlier years when i first started getting into building games i used a server emulator program called EOSource and they had a Quest Writer Program that did basically what im looking for but it uses some different code language

so on to the idea
what if you had a Gui with every possible generic statement/call and when you clicked a specific call such as "if" it would then give you a menu of every possible thing you could use with "if" and so on until you cant do anything else or until your done

this personally i think would make scripting in lua 1000x easier cause it eliminates the recollection time of remembering all the correct Syntax/Code-block's since whenever you would use a statement it would eliminate every incorrect combination only leaving you with the correct ways to use the code generically

again like i said idk if I'm just searching the wrong words or the wrong phrase but i cant seem to find something like this anyways the research has already been done a program like this would dramatically increase productivity in scripting cause before EOSource made their Quest Writer it would take 30mins-2 hours to complete a small quest and now u can finish a quest 100 times larger in less then half the time

now this program doesn't have to be able to write into another program it could just simply write into a stand-alone notepad-ish thing attached to the program and you could then simply copy and paste your finished Code/Code-blocks from the Writer to your Script
Report Abuse
Zawie is not online. Zawie
Joined: 04 Jul 2010
Total Posts: 6338
21 May 2016 07:43 PM
hoenstly this is harder than just learning the language
especially since Lua syntax is very self explanatory...


if (condition) then
-- do stuff
end
Report Abuse
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
21 May 2016 07:54 PM
how so?

its true you could spend your time learning the language or what im proposing is something that will only give you the correct syntax after clicking "if,for,repeat,do,else,and" and so on i know i missed a few there but this program would only give you a menu of the calls you could actually use after selecting one of those main calls so you wouldn't be looking for the correct wording because it would already be there with the exception of any incorrect phrases
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
21 May 2016 08:03 PM
This would make coding soooo slooow


Report Abuse
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
21 May 2016 08:06 PM
also i don't disagree with you that Lua is pretty self explanatory tho what isn't explained very well is the combination's of possible Phrases
Report Abuse
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
21 May 2016 08:08 PM
well not saying you would be required to use it 24/7 -.-' jesus but it would be helpful when you get stuck in places or your trying to work with something your just learning about
Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
21 May 2016 08:13 PM
No, LUA is actually pretty easy if you take the time anyway.


Current Robux: 5,044
Report Abuse
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
21 May 2016 08:15 PM
like i said in one of the above posts

also i don't disagree with you that Lua is pretty self explanatory tho what isn't explained very well is the combination's of possible Phrases
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
21 May 2016 08:18 PM
Also known as syntax, of which the basics are essentially the easiest part of any language.


Report Abuse
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
21 May 2016 08:18 PM
so... man i feel like im just talking in circles here -.-'

soo if a program could guide you through every possible correct phrase/syntax you could use with every piece of the code your creating and excluding every incorrect phrase would it be

1 easier to figure out what your trying to write
or
2 harder to figure out what your trying to write
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
21 May 2016 08:25 PM
That's called information overload.

There's NO SUCH THING as as list of "every possible correct phrase/syntax you could use with every piece of the code" because there are INFINITE POSSIBILITIES.





Report Abuse
magnalite is not online. magnalite
Joined: 18 Oct 2009
Total Posts: 2467
21 May 2016 08:25 PM
If you are struggling with syntax you are doing something wrong. It's like writing a story, English is the syntax but its the story you should be thinking about, much like in programming you shouldn't be worrying about the syntax but about the program structure.
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
21 May 2016 08:27 PM
It's not even comparable to English, because there is no ambiguity in code. Computers don't have the ability to understand the gray area in what we say.


Report Abuse
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
21 May 2016 08:43 PM
*sigh* maby infinite in total but when its only the block that your currently working on there's less

idk why i even tried i was kinda expecting this -.-' i know its possible i know its quicker but maby im just not explaining myself clear enough i find i have trouble voicing the ideas in my mind in a way that's easy to understand looking at the 1st post now im seeing i missed alot of things that may have made this make a bit more sense

the structure of it would be like 2 half's 1 side would be the program box with the menus and the other side would be the blank document

the menus would be like buttons that when you click them they write the phrase then it would change to drop-down menus of what could be used immediately after that phrase and so on until you wanted to end that line

idk maby its just wishful thinking of a Smart Lua Writer.
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
21 May 2016 08:49 PM
Your idea already exists. There are websites that help people "learn how to code" by using what I call the "analog synthesizer" method where you just grab and drag chunks of pre-written code that go together and make something spin, or turn green, or play a sound, or dance around in a sequence of moves.

You can do virtually nothing with that.


Report Abuse
Internecivus is not online. Internecivus
Joined: 31 May 2011
Total Posts: 2784
21 May 2016 09:52 PM
The ROBLOX script editor already has the closest you're going to get to something like this. But humor me for a moment, imagine they actually made this.

You click the if button. Now to display every possibility, here's what that dropdown menu would contain:

Every single variable you have defined that is accessible to the current scope
Every single global variable
Every single instance in the game, including every node in it's hierarchy.
(That means if you made a game with nothing but a brick inside a model inside Workspace, you'd have these options: game, game.Workspace,game.Workspace.Model,game.Workspace.Model.Part,game.Players,game.ReplicatedFirst, etc...)
Every single defined function (after all, you may be whether one returns true or false)
Every single method that can be evaluated - e.g. pcall

And I'm sure there's even more stuff that is not coming to me right now. You could either take the time to scroll through every single one of these every time you want to use an if statement, which, by the way, is pretty high even in a simple script... or you could just learn the god damned syntax.

PS: This whole idea falls apart when you're operating on something that does not exist yet, such as a function that is called when a Touched event is fired. How will this magical tool know what options to offer you when it doesn't even know the classname of the instance you're going to be performing those options on?
Report Abuse
DarthStrantax is not online. DarthStrantax
Joined: 31 May 2011
Total Posts: 2610
21 May 2016 09:55 PM
@op you mean something like scratch?

( https://scratch.mit.edu )
Report Abuse
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
22 May 2016 01:00 AM
well like as i said earlier it might just be wishful thinking, but as you stated Internecivus it yea would kinda have a huge fallback if you were to make a larger script with it instead of just in sections

but its not like you couldn't work around making local and global variables appear in their own personal drop-down menus i mean think seriously here its not like your going to have everything in 1 menu

DarthStrantax
yea something like Scratch where you have a basic set of things that you can use to create the basis of something bigger

not saying roblox doesn't feature things such as BodyGyro but those things work about as good as a "Rusty Push Mower" and trying to figure out the correct settings to use with each one -.-' that's like pulling fingernails not to mention the unreasonable lag they seem to cause for some reason

its not like its an impossible concept and its not like it would make learning where to correctly use a Phrase harder in any way but i guess its to be expected that if something like this does exist its not being shared simply because it would then make Scripting/Coding trivial so i guess il just have to keep assimilating into my own personal library of working snippets until iv gathered just about every basic code function
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
22 May 2016 01:19 AM
You mean Scratch for Lua?

How about we just say fU Lua and get Python3.5?
Report Abuse
ElectroTM is not online. ElectroTM
Joined: 23 Nov 2012
Total Posts: 1135
22 May 2016 01:21 AM
why don't you just take the time that you're trying to find your statement/function (which wouldn't work anyways) to type it into the script. Better yet, learn scripting.


y-you too...
Report Abuse
GetTheJobDone is not online. GetTheJobDone
Joined: 20 Apr 2016
Total Posts: 3008
22 May 2016 01:23 AM
No. Intellisense is the closest to this we could really get.


Report Abuse
Aethex is not online. Aethex
Joined: 16 Oct 2011
Total Posts: 2193
22 May 2016 01:39 AM
@GetTheJobDone Correction: Intellisense is the closest to this we would ever want to get.
Report Abuse
judess69er is not online. judess69er
Joined: 11 Oct 2009
Total Posts: 1132
22 May 2016 03:25 AM
its not like the thing they got for scripting isn't helpful it just kinda goes on vacation most times when your in the middle of a large line and your stuck searching up the correct next phrase

wellp it seems assimilation is where i need to go, i guess some people find trying to retain and recall information to be a better storage system i personally find little snippets work better for me
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
22 May 2016 03:29 AM
Okay, let's do an analysis.

Time it takes me to type "if"

.2 seconds


Time it takes me to find, and click on "if"

>.2 seconds


Private Drive - Residents Only
Report Abuse
WolfgangVonPrinz is not online. WolfgangVonPrinz
Joined: 24 Oct 2013
Total Posts: 4656
22 May 2016 03:30 AM
You understand you'd have to scroll down a huge list to find it, right??? I can't think of one good way to do this, unless you had a search bar -_-


Private Drive - Residents Only
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