How can I really get started scripting?

Hello everyone,

I started scripting a while ago, and I know the basics. However, I cannot find any projects that can be completed with just the knowledge of basic scripting. Do any of you have any suggestions, or ways that I can move on to more advanced topics?

I think TheDevKing’s Advanced Scripting Tutorials series would be beneficial:

2 Likes

You can start with Lua Learning by @boatbomber
https://www.roblox.com/games/1334669864/Lua-Learning?refPageId=599a64c3-0af0-478a-9dd0-9703af3d0f8c

2 Likes

Also, do you have any suggestions on how to remember all the different terms?

1 Like

Kinda of like math theres PEMDAS Parenthesis Exponents Multiplication Division Addition Subtraction
Try something with all the scripting terms.

2 Likes

Heyo!

I’ve answered this question before in this forum topic, where I go over what I would consider an optimal path to learning Lua from the beginning to the more advanced stuff.

The downside to Roblox scripting is that most modern games that developers want to create are very complicated and require extensive knowledge of both Roblox’s API and general programming knowledge. Any game that has stats will generally require some sort of save system, which is one of the biggest hurdles for newer developers.

In regards to remembering different terms, I wouldn’t say that it’s that necessary. Most of the time the information that you need is 1 Google search away anyways, so I wouldn’t stress out too much over it.

3 Likes

A very basic game like a strength sim or sword fighting game is good for beginners. If it’s your first time making any project, I recommend following a tutorial to get you in a better mindset when it comes to making a game (organization). Other than that, just make basic projects and don’t commit to something huge, since your dream game is most likely too hard to accomplish right now.

3 Likes

Yes, I am finding that my game ideas need extensive knowledge about scripting, and pretty much every aspect really. Otherwise, I’ll try to learn more and start from easier projects as you suggested.

Also, you could just completely forget making a game. I consider myself an ok scripter, and I’ve never finished a game. I gained my experience by making stuff like shop GUI’s, player abilities, and pet systems. It might not be your style, but it is a great way to learn.

3 Likes

Thank you, I never thought of that before. I may consider that.

I already have a post on where you can go to get started for scripting. Check it out!

3 Likes

You should just take learning Lua at your own pace. Trying to keep up to other people will just demotivate you and you will be rushed through core practices.

I have been going at my pace and I now know JavaScript, Lua (Somewhat), and I am learning C++. Just don’t give up. You will get demotivated at sometimes and you just want to quit, but we all go through those. We have a great community here that is willing to help you with anything! :grin:

3 Likes

As you do it more and more, you will remember, you can always look things up, such as: “How to pick a random number lua”. Hope it helps!

2 Likes

Memorize the logic and keywords. There are only about 20 you need. Even experienced scripters (not me) don’t memorize the functions, properties, and events of every instance. You can use the object explorer or, like me, have a separate window with the dev hub api open.

3 Likes

I’ve finished the Alvinblox 2020 beginner scripting series and I’m kinda advanced at scripting but where should I go next? Should I make showcase games or experiment?

2 Likes

I’m slowly learning C++ and it’s so much different from Lua. I still don’t understand this void update thing

2 Likes

Since you know a lot now, maybe try and do some commisions to see what you need to work on/start actually working. They will probably require you to do more specific topics, so you can apply your knowlege. People are always looking for scripters do “this specific task.” I reccomend you start off with offering your services for free, then later you can explain the experience you had with scripting when being hired.

I’ve working for months on a 2.5D platformer and struggle with Game Design. I’ve created the level system and most of the levels but it’s the Data Store that intimidates me. My first 2 games didn’t have Data Stores and I’m wondering how would a Data Store work for a platformer. The level finishes when a big coin is collected at the end changing your position to the world map and giving you access to the next level. Would I use a Data Store that tracks all those coins collected?

1 Like

Try thinking up something you want to make and go for it no matter how hard or easy, I never knew how to make fps games but within a few hours of testing and messing around with it, I already had a pretty nice prototype. If you would like I can send over a fps system I made (my first ever one) and you might be able to learn some new advanced things from it.

You should avoid asking unrelated questions in topics. Anyways, one very easy way to do this is to store the levels in the data stores as an int. However, this would only work if your gameplay is linear. If your gameplay isn’t linear then another very simple way is it give every big coin a name then store those names in the datastore and use the string.contains method to see if the name is in the datastore. Ex. Level1.Name = “basic jumps”, Level2.Name = “laser grid”, when the player beats level1 their datastore would be “basic jumps-“. Then when they beat the next level it would be “basic jumps-laser grid-“. You can also use the split method(or what ever the lua equivalent is) to get a table of the completed levels. Good luck!
Edit: For positions, find a way to convert them into a string and save them in another datastore.

Written on an iPad, probably typos.

1 Like