Showing posts in Category: Tutorials

RoGo Magazine - Tutorials

.

Beginner Lua Lesson 5: “if” statements & “end” explained

Posted 3 years ago by DerAtomik

Previous Lua Lesson

First Lua Lesson

If you’ve read other scripts to practice your skills, you’ll very commonly see in bold, blue letters the words “if” and “end.” But what exactly do these mean?


if

“if” is used to check the parameters of a certain value, whether it be a string, object, or number. You can use it to check nearly everything. After “if,” you write what value you wish to check. Then, you will use == to see if that value matches with another value, which comes after the “==.” As well, you can do the opposite: check if two values do not match, by instead typing “~=”.…

.

Beginner Lua Lesson 4: Loops

Posted 3 years ago by DerAtomik

Previous Beginner Lua Lesson

First Beginner Lua Lesson

Today, we’re learning about Loops. There are 4 types of Loops. Each can serve their own purpose, but all can perform certain functionality.


while true do

A while Loop will keep going as long as the value in between while and do is true. This means you can do this with number values, and even this if you’re bored: while not false do. Be sure to use a wait with this loop, otherwise your server will lag very hard.…

.

Beginner Lua Lesson 3: Services/API’s and Methods

Posted 3 years ago by DerAtomik

Welcome back to Beginner Lua! Today, we’re going to discuss Services (A.K.A. API’s) and Methods.

Methods

A method is what’s called on an Instance (Basically any object in your game, from Parts to Scripts), or a Service. A method is used by putting a colon (:) on a particular Instance, followed by what method you want to call upon. There are a lot of different methods, almost every Instance and Service has their own unique ones. However, every ROBLOX Instance and Service shares the following methods: ClearAllChildren, Clone, Destroy, FindFirstChild, GetChildren, GetFullName, IsA, IsAncestorOf, & IsDescendantOf.…

.

Have NPC’s walk around your game!

Posted 3 years ago by DerAtomik

Basic Lua knowledge required to understand this Tutorial.

Introduction

Have you ever wanted to put NPC’s in your game that can walk around? You may have known about this, through the use of Positions and Humanoids, but unfortunately, your NPC’s will often walk into walls and other objects blocking its path. But there’s a solution to that! The PathfiningService API!

How to use Pathfinding

Now, this is a bit more complicated than just using the MoveTo method on a Humanoid. However, this service does require that to use it to its fullest extent.…

.

Beginner Lua Lesson 2: Functions and Events

Posted 3 years ago by DerAtomik

I am continuing what SpongebobWorldOnline started; so, here we are. Prints are easy, and take only one line of code. Now, are you ready for Functions and Events? I sure hope so, because here we go!

A function is what happens when an event happens, or can be called in another function. You can also call a function at the bottom of a script for it to be the first running function, such as in a Minigame script. As for an event, it’s what is triggered by a certain action in a specific Instance.…

.

RST – Part 2: Explorer and Properties

Posted 3 years ago by JenniferHartson

RST - Part 2: Explorer and Properties

This is Part 2 of a seven-part tutorial on the basics of ROBLOX Studio 2013. Note: This will not delve into extremely advanced properties of ROBLOX Studio – this tutorial is only meant to teach beginners and newcomers the most basic principles and concepts of using this program.

In the event that ROBLOX makes more updates to Studio and changes the layout around, these basic principles will most likely stay. You’ll just see their implementation, or their appearance in a different way.…

.

Torture- I mean, show your mobile device players a video ad!

Posted 3 years ago by DerAtomik

Torture- I mean, show your mobile device players a video ad!

Disclaimer: Basic Lua knowledge required to interpret this tutorial.

About two weeks ago, ROBLOX added a new API that allows users to show players on a mobile platform a non-ROBLOX related video advertisement. They may also implement it onto computer platforms. This is a revenue tool, in case you’re wondering or couldn’t figure it out. Silly goose.

Statistics and limits

A video ad will be up to 30 seconds long, and during it, the player cannot see or hear anything from the game they’re playing.…

.

RST – Part 1: Navigating Studio

Posted 3 years ago by JenniferHartson

RST - Part 1: Navigating Studio

This is Part 1 of a seven-part tutorial on the basics of ROBLOX Studio 2013. Note: This will not delve into extremely advanced properties of ROBLOX Studio – this tutorial is meant to teach beginners and newcomers the most basic principles and concepts of using this program.

In the event that ROBLOX makes more updates to Studio and changes the layout around, these basic principles will most likely stay, you’ll just see their implementation, or their appearance, in different places.


Before we get started, we need to ask ourselves a simple question: why do we use Studio?…

.

Get your game on that front page!

Posted 3 years ago by DerAtomik

Get your game on that front page!

Welcome to another tutorial by me. But instead of making a Lua tutorial, let’s discuss how to successfully get your game to the front page. We’ll be going over two topics: Financial (which has to do with making money off your game) and Advertising (how to make a successful ad and how much you’d want to bid).

Financial

If your goal is to earn a good amount of money off of your game so that you could buy a bunch of Catalog items and/or use DevEx, you got to know how to price your games’ financial components.…

.

Preload your decals, audio, and more to reduce lag!

Posted 3 years ago by DerAtomik

Disclaimer: No beginners. This requires basic ROBLOX Lua knowledge.

Introduction

Ever wanted to have your decals and audio preloaded so they start/load faster and reduce lag for your players? You can do it! Keep reading to learn how!

How-to

To do this, you will use an API called “ContentProvider.” This API only works in LocalScripts. Anyways, you preload an asset using the Preload method. The asset must be a string. There’s also a property that you can use to wait until the assets have preloaded: RequestsQueueSize.…


.

Posts in this category cannot be found.