I would like to make a big thanks to Scratch. Why? Before I found Scratch, I had no idea of what I was going to do when I grow up. After playing Scratch for a year or so, I was inspired to become a become a Computer Programmer and Scripter. I know how to code Lua, so other languages won't be too hard to learn. I am taking a Cisco Networking Course next year in High School, and I will possibly go to College at MIT. (Since I live in Massachusetts already...) Who knows? Maybe I'll even go to MIT and join the Scratch Team! So, thank you, Scratch, for giving me a start on my future!
Offline
Also, I got experience in Lua Scripting on roblox, like this:
while true do
e = Instance.new("Explosion")
e.Parent = game.Workspace
e.Position = game.Workspace.ExplodingBrick
endOffline
That's great that Scratch helped you discover the joys of programming! And that lua script is interesting...clearly Object Oriented from the looks of it. Would you recommend Roblox as a good "next step" for Scratchers looking for a new challenge?
Offline
Paddle2See wrote:
That's great that Scratch helped you discover the joys of programming! And that lua script is interesting...clearly Object Oriented from the looks of it. Would you recommend Roblox as a good "next step" for Scratchers looking for a new challenge?
Definitely! Roblox scripting is harder than Scratch, I know because I haven't mastered it yet... but If they want a career in scripting, they should try Lua Scripting. It uses some of Scratch's techniques, like:
Scratch: Forever
Roblox: while true do
Scratch: Set [variable] to [1]
Roblox: variable = 1
Scratch: broadcats [hello]
Roblox: print("Hello!")
Offline
joeyman wrote:
Paddle2See wrote:
That's great that Scratch helped you discover the joys of programming! And that lua script is interesting...clearly Object Oriented from the looks of it. Would you recommend Roblox as a good "next step" for Scratchers looking for a new challenge?
Definitely! Roblox scripting is harder than Scratch, I know because I haven't mastered it yet... but If they want a career in scripting, they should try Lua Scripting. It uses some of Scratch's techniques, like:
Scratch: Forever
Roblox: while true do
Scratch: Set [variable] to [1]
Roblox: variable = 1
Scratch: broadcats [hello]
Roblox: print("Hello!")
That seems very similar to the programming language python. (python.org) I recommend that if you want to move in the direction of being a programmer because it is considered a more advanced/powerful language even though it isn't that hard to learn.
Offline
joeyman wrote:
Paddle2See wrote:
That's great that Scratch helped you discover the joys of programming! And that lua script is interesting...clearly Object Oriented from the looks of it. Would you recommend Roblox as a good "next step" for Scratchers looking for a new challenge?
Definitely! Roblox scripting is harder than Scratch, I know because I haven't mastered it yet... but If they want a career in scripting, they should try Lua Scripting. It uses some of Scratch's techniques, like:
Scratch: Forever
Roblox: while true do
Scratch: Set [variable] to [1]
Roblox: variable = 1
Scratch: broadcats [hello]
Roblox: print("Hello!")
Does Lua Scripting have definable functions?
Offline
demosthenes wrote:
joeyman wrote:
Paddle2See wrote:
That's great that Scratch helped you discover the joys of programming! And that lua script is interesting...clearly Object Oriented from the looks of it. Would you recommend Roblox as a good "next step" for Scratchers looking for a new challenge?
Definitely! Roblox scripting is harder than Scratch, I know because I haven't mastered it yet... but If they want a career in scripting, they should try Lua Scripting. It uses some of Scratch's techniques, like:
Scratch: Forever
Roblox: while true do
Scratch: Set [variable] to [1]
Roblox: variable = 1
Scratch: broadcats [hello]
Roblox: print("Hello!")Does Lua Scripting have definable functions?
I'm guessing so. Most serious programming languages have definable functions.
Lua Scripting looks somewhat like a BASIC language... My favourite of which being Just BASIC. It's brilliant, check it out.
Offline
demosthenes wrote:
joeyman wrote:
Paddle2See wrote:
That's great that Scratch helped you discover the joys of programming! And that lua script is interesting...clearly Object Oriented from the looks of it. Would you recommend Roblox as a good "next step" for Scratchers looking for a new challenge?
Definitely! Roblox scripting is harder than Scratch, I know because I haven't mastered it yet... but If they want a career in scripting, they should try Lua Scripting. It uses some of Scratch's techniques, like:
Scratch: Forever
Roblox: while true do
Scratch: Set [variable] to [1]
Roblox: variable = 1
Scratch: broadcats [hello]
Roblox: print("Hello!")Does Lua Scripting have definable functions?
Yes, they're called Functions, I think.
As for ROBLOX Lua, I only know basic stuff about it.
Offline
YEs, lua has definable funtions. For a boutton that a player can click would be somethink like:
Funtion-OnClicked() <script goes here> end script.Parent.Clicked:connect(OnClicked)
Offline
joeyman wrote:
YEs, lua has definable funtions. For a boutton that a player can click would be somethink like:
Code:
Funtion-OnClicked() <script goes here> end script.Parent.Clicked:connect(OnClicked)
For that script to be applicable, the brick has to have a ClickDetector object inside it. Just sayin'
Offline