Beginner Programming Lesson (2024)

What's special about this game is that you can actually program your creations with special blocks (called "action blocks"), colors, textures, signals, etc. (see Programming Icons). In this section of the Wiki, you will learn how it works and how to program "super cool" stuff with this awesome iPad app, Blocksworld.

Contents

  • 1 How it Works?
  • 2 The IF side
  • 3 The THEN side
  • 4

How it Works?[]

When you put a block on the map, (by dragging it out of the inventory,) you will see a little box appear with a arrow in that will be write "does" on. This arrow split the programmation into 2 columns: The IF and the THEN. The IF section (on left) is used for a condition, like "if this block is red...". The other side, the THEN, are used for reactions, like "...then explode". So if we mix all this up, it make "if my block is red, then explode", or in the Blocksworld language, "red does explode". That's that simple, but you will noticed that it can become VERY complex if you make bigger worlds.

The IF side[]

If you played a little bit with the programmation panel, you will notice that there are some "GUI squares" (the squares in the inventory) that cannot be placed in the programmation box. Don't panic, that's totally normal and logical: You cannot put another 3D shape for condition! So, all kind of blocks cannot be use for programmation. But the colors, textures and some prefab actions (for the action blocks) can be put in there. There's also some sensors that can be use, such as "bump", "in water" or "tap". If there's no conditions, the program will automatically execute the reaction.

You can also put more than one condition just by putting the squares next to the others on the same side of the arrow. It will always make a mix of all the conditions, and if they are all TRUE, then the reaction(s) will be executed. In Blocksworld's language, it will do "red [AND] in water [AND] bump does ...". That can be very useful if you are using a mix of different kind of squares (like colors and signals), but if you only use one visual kind (such as only colors), your program will never work, because the block can't have more than one color or texture.

Unfortunately, there is no OR or NOT logic gates. The only one that exist in this game is AND and is implied by putting a square next to another. Some players are asking the company for putting at least OR gates, which would make a huge difference.

The THEN side[]

For the THEN side, they are also some kind of blocks you cannot use, and it's again totally normal (you can't teleport an object by telling the program "...then 'in water'! "). As just says, you can't use sensors for the THEN side, but there's some prefab reactions that can be put on any blocks (as the sensors) such as "explode" or "freeze". The biggest problem with these two reactions is that you can't "freeze" a block after it "explodes".

You can again put more than one reaction on this section. If you put a series of multiple reactions, the program will read them one by one, and when it finish the line, it will return to the beginning if the condition is always TRUE. If it's not, it will just wait until it does.

TheAction Blocksare some very interesting blocks in the game: they can do actions, as the name shows. For example, the wheel can "drive" (go forward), "turn right", "turn left" and "reverse" (go backward). These special actions can only be done by their respective blocks. So, the wheel's actions are only for the wheel, the booster's for the boster, etc. They can also be use for a condition, like "drive does turn left". But be careful: if you use the same action on the two sides, it will do an infinite loop on their line ("fire does fire does fire does fire does...)!

Another interesting block on the THEN side is "wait", which is a delay or pause. You can use it to synchronize things such as biped's robot legs or laser shots.

[]

For information on all programming icons, see Programming Icons. For how to build things using action blocks, see next lesson, Beginner Lessons (Action Constructions)

Beginner Programming Lesson (2024)
Top Articles
Classic Bacon Broccoli Salad Recipe
The Best French Onion Soup Recipe | foodiecrush.com
Chren, inaugural chair of the Department of Dermatology, to step down
Touchstar Cinemas - Sabal Palms Products
10 Tips for Making the Perfect Ice for Smoothies
Ray Romano Made a Movie for Sports Parents Everywhere
O'reilly's In Monroe Georgia
Toro Dingo For Sale Craigslist
Cold War Brainpop Answers
Mark Johnson Weather Salary
Does Teddy Swims Have A Wife? Exploring The Life Of The Rising Star
Craigslist 5Th Wheel Campers For Sale
2 værelses hus i Ejby
Strange World Showtimes Near Harkins Metrocenter 12
Ta Travel Center Las Cruces Photos
Dtlr On 87Th Cottage Grove
Estragon South End
8 Casablanca Restaurants You’ll Want to Fly For | Will Fly for Food
My Sagu Blackboard
Best 2 Player Tycoons To Play With Friends in Roblox
Stafford Rotoworld
Shop - Mademoiselle YéYé
Aussiebigdaddik
Thermal Pants Mens Walmart
Aaa Saugus Ma Appointment
Journal articles: 'Mark P. Herschede Trust' – Grafiati
What happened to Gas Monkey Garage?
25Cc To Tbsp
Connection | Scoop.it
Busted Paper Haysi Regional Jail
Everything to know on series 3 of ITV's The Tower starring Gemma Whelan
02080797947
Koinonikos Tourismos
Tackytwinzzbkup
Dl Delta Extranet
Anmed My Chart Login
Hispanic supermarket chain Sedano's now delivering groceries in Orlando
New R-Link system and now issues creating R-Link store account.
Phoenix | Arizona, Population, Map, & Points of Interest
Dumb Money Showtimes Near Cinemark Century Mountain View 16
Roseberrys Obituaries
Babyboo Fashion vouchers, Babyboo Fashion promo codes, Babyboo Fashion discount codes, coupons, deals, offers
Craigslist Pets Inland Empire
'It's huge': Will Louisville's Logan Street be the next Findlay or Pike Place market?
50 Shades Of Grey Movie 123Movies
Melisa Mendini Wiki, Age, Boyfriend, Height, Career, Photos
Craigslist.com Hawaii
水餃 家園
Fapello.ckm
Salmon Fest 2023 Lineup
Live TV | Halifax | CBC Gem
South Florida residents must earn more than $100,000 to avoid being 'rent burdened'
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 5478

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.