Lab Module 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 78

Lab Module

Coding and Big Data

Week 1 - Introduction to
Coding and Big Data Lab
Welcome!!
Why am I here?
What Will We Do?
What is Roblox: A Beginner Guide

Roblox is an online game platform and game creation


system developed by Roblox Corporation.

It was launched in 2007, and has 64 million players every month, with an
estimated total 178 million accounts on the platform. Roblox is an online
platform and storefront where people can play games created by other
developers. Other than that roblox also enable anyone to imagine and create
their own games also socialize, chat, play, interact and relate with others in
many ways.
Why Roblox?
Roblox is not only
online game
platform but also a
game creation

In Roblox you can bring to life almost


any idea you have within Roblox. You
are given the tools you need to create
your own custom maps and games.
There’s also a thriving community of
developers that you can ask for help.
Available Across
Multiple
Platforms
Roblox is available on a wide range of
platforms such as App Store, Google
Play, Amazon appstore, XBOX ONE,
Microsoft.
Developers get
rewarded for their
work in a Big and
Friendly Community.
Roblox offers a massive community of
people to interact with and play games
with. With nearly 200 Million total users
and over 42 Million daily active users as
of March 2021, it’s one of the biggest
communities around. Because the most
popular games in Roblox were created by
the community. Well, Roblox rewards
developers whose creations are
successful within the community.
Guide to Install Roblox
Click and Download the Following Links

Download Link

Download Roblox Studio


Fill in your data, but don’t use your real name.
There will be 5 verifications for your account.
When you are in, click “Create”.
And click “Start Creating”.
Download Studio.
Run the Roblox studio you have downloaded and it will install it immediately.
Log in to your account that you have created before. Again, there will be 5 verifications.
Your Roblox Studio are ready to use.
Roblox - Studio Interface
When we first open Roblox Studio, we can see the
interface as shown below. Roblox studio has many
template that can be used as a starter.
Studio Interface
Workspace Window
This is where most of your game design happens. Here you can build,
playtest, and move the virtual camera around your Roblox world.
Window Explorer
The Explorer window shows a
hierarchical list of every object inside a
place. This list is an essential aspect of
organizing, viewing, and testing a
Roblox game.
Properties
The Properties window shows every
detail about how an object looks and
behaves. For example, a Part has
properties such as Position, Color, and
Size which define where the part is
located and how it appears.
Output Window
The Output window (View → Output) is a simple but powerful debugging tool.
It displays errors captured from running scripts, messages from the Roblox
engine, and user-defined messages/errors generated by print() and warn()
commands.
Menu Bar
Menu bar display tabs that change when you click on the Home, Model, Test,
View, and Plugins tabs. All of these tabs contain tools and object that can be
used to build and test the game.
For more detailed explanations, please refer to this link:
Roblox Studio Interface
How to Save and Publish Game
Save

Click on the FILE tab on the top left, then click on Save to File. Find the folder in
which you want your file to be saved. Name your file and then click save. This will
let you save your file in your local computer.
Publish
Click on the FILE tab on the top left, then click on Publish to Roblox.
This action will open a window as shown below.

Enter the name of your file


(For example Learning
Roblox) then fill in the
description

For the Devices, you can


check on any devices that
can be used to play with your
game.

The last thing is click create,


then it will process and
create your game.
Your game has successfully published into Roblox.
You can find your saved game by opening your roblox player
application, then go to create tab.
Click on Manage my experiences.
Then, it will show your game that have been saved
previously.
How to Use The Camera
Place your cursor inside main window then press any of these keys below to
control the camera.
How to Move, Rotate, and
Scale Object
View Selector Tool
First, there is a tool named View Selector Tool. In Roblox Studio, this
tool can help us to easily navigate to and get to see the direction of our
object.

You can find the tool on the right corner of the main window.
In Roblox Studio, there is also an object named
SpawnLocation. SpawnLocation objects are used to
position player characters when they start the game
or respawn.

To add it into your game, you can find it in Model tab


then go to Gameplay column. Click on the spawn
icon and the spawnlocation is added to your game.
Add Objects
To add an object, go to Model tab and click on Part
dropdown. You can choose any object to add in your
game.

Then, an object will be added to your game.


Move Objects
To move an object, go to Model tab and
click on Move icon in Tools section.

Then arrows of direction will appear around your


object. The directions are up, down, left, right, to
front, and back. You can move it easily by clicking
on one direction then drag it to that direction.
Scale Objects
Scale tool is used to resizing your object. To
scale an object, go to Model tab and click on
Scale icon in Tools section.

Then, circles will appear around your


object. You can resize your object by
clicking on one circle then drag it.
Rotate Objects
Rotate tool is used to rotating your object. To
rotate an object, go to Model tab and click on
Rotate icon in Tools section. Then your object
will appear as shown in the picture below.

After you click on the Rotate tool,


grab on the direction you want to
rotate then drag it. Your object will
be rotated into that direction.
Make an Object - Practice
As a practice, try make the object below. You can use the tools by adding,
moving, scaling, and rotating the object and make the object appear as
shown below.
Anchored Properties
Roblox Studio have gravity so every object placed
on the base will be falling down. To have your
object stand and unaffected by gravity, you can
click on that particular object and go to properties
window. Go to behaviour section and check on
Anchored.

The Anchored property determines whether the


part will be immovable by physics. When enabled,
a part will never change position due to gravity,
other parts collisions, overlapping other parts, or
any other physics-related causes.
Create a Model
Models are container objects, meaning they
group objects together.
Let’s Make a Bridge!
We will use our previous object to create a model then add a lake and grass just
as shown on the picture below.
Properties - Appearance
You can change the appearance of your object by changing its
appearance in properties window.
Firstly, change the appearance of all the objects.
Change its color to Brown and the material is set
as WoodPlanks. then the objects will appear like
this.
To convert it into a Model:
Select all of the objects (Click shift and select the
object) in Explorer window then right click on your
mouse, click on Group so all of the objects will be
grouped as a Model.
To create the lake, we can use the Cylinder object that can be found in Parts
section in the Model tab.

First, after we add the


cylinder, rotate the side of
cylinder for 45° until the side
part face the top.

Scale the size of the


cylinder, then place it
below the bridge area.
Change its appearance on Properties window, then your object will appear
as shown below.
Create the base part also by the same way using a Block. Change its
appearance then place it right around the lake.
Before grouping all the objects and change them
into a Model, do not forget to set all of the objects
behaviour and check on the Anchored.

Lastly, group the objects into Model then


rename the Model as bridgeModel.
Import and Export Files
Export Files
First, choose the model that will be exported or
saved into our local computer. Then, right click
on your mouse then click on Save to File.

After clicking Save to File, a window will


be opened. Save the model into the folder
you want, fill the name of the file, then
save it as Roblox Model FIles. If done, click
save and your model is saved in your
computer.
Import Files
If you want to import a model into your game. Go to
Explorer window and right click on Workspace.
Scroll down then click Insert from File. This action
will allow you to export model from a file.

Choose the file you want to import


into your game then click Open.
Finally, you have imported a file into your game. The model will appear on your
main window.
Python
What is Python: A Beginner Guide

Python is a powerful general-purpose


programming language
Python was created in 1991 by Dutch programmer Guido Van Rossum. It is an
interpreted language. This means that it has an interpreter to execute the
program directly. Van Rossum wants Python to eventually as understandable
and clear as plain English. He has also made the language open source, which
means that anyone can contribute to it.
Why Python?
Python is the
most popular
programming
language
According to PYPL (PopularitY of
Programming Language), Python is the
most popular programming language
per December 2021 with 30.21% share.
Extensive
libraries 343,924
According to Python Package Index Active libraries that are constantly
(PyPI), Python has over 300.000 developing
libraries in various fields to simplify
coding for anyone who wants to
participate using python.
The best data
science tool
According to a survey held by Kaggle,
Python is the most commonly used
programming language to tackle data
science challenges.
Where is Python Implemented?

Web and Internet development Software Development

Scientific and numeric computing Business applications

Education Games

Desktop GUIs And many others!


Guide to Install Python and
Visual Studio Code
Click and Download the Following Links
A. Visual Studio Code

Download Visual Studio Code - Mac, Linux, Windows

B. Python

Download Python for Windows


Download Python for macOS (Non M1 Chip)
Download Python for macOS (M1 Chip)
Steps to Install Python

1. Run the Python installer you have downloaded


2. Make sure to check Add Python 3.xx to Path. Refer to the
following figure
3. Click Install Now. Refer to the following figure
Have you seen this? Python Installation is Done!
Steps to Install Visual Studio Code

1. Run the Visual Studio Code installer you have downloaded


2. Select I accept the agreement, click Next
3. Check all of the options, then click Next. Refer to the
following figure
4. Click Install
Have you seen this? Visual Studio Code Installation is Done!
Set Up Your Visual Studio Code

1. Open your Visual Studio Code


2. Go to Extensions page. Refer to figure below
3. Type Python in the search bar. Refer to figure below
4. Select the top result Python by Microsoft
5. Click Install. Refer to figure below
A: Extensions
Page

B: Search Bar

C: Install Python
by Microsoft
Roblox

6 Reasons Why Roblox is so Popular - Brite

Developer Awards! Phase 2: Virtual Items - Community & Events - DevForum | Roblox

Python Tutorial for Beginners: Learn Programming Basics

About Python

Usage of Programming Languages by Data Scientists: Python Grows while R Weakens |

PyPI · The Python Package Index

PYPL PopularitY of Programming Language index

References
Any Questions?

Ask Me

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy