Main character lives in far future. He will encounter signs of “ancient” civilization, that use mysterious language connected with math and logic. We’ll discover the secret of disappearing the “ancients”, coping with various puzzles, especially when we will meet electronic panels hidden in deep caves or tree trunks. The world of our main character is wild, vast, interesting to explore.

Post news Report RSS Apparatus - tutorial of hacking robots & new controler window

Two updates: tutorial of hacking robots for a player and a very important functionality - the "Controler" window. It allows you to assign your own scripts to buttons with keyboard sketches.

Posted by on

Tutorial of hacking robot

I want to present you a video with tutorial during early gameplay, allows player to learn how to use basic three widnows:

  • Avalible Units - there is a list of robot units which we can link up to camera window or script AI window. Not all units in the level will be avalibe on this list.
  • Camera View - shows what's going on around us or follows the linked robot unit from Avalible Units list.
  • Script AI - this window allows us to send command to the linked robot by pressing "Execute" button. As you can se below on thie video, the player will learn 5 commands to executing thanks to this window:
    • robot.back(); - robot turn back;
    • robot.walk(5); - robot walks 5 steps forward
    • robot.aim(12); - robot aims 12 degrees up
    • robot.shoot(); - robot shoots once
    • robot.action(); - robot does any action if posible e.g. press a button

Window Controler

The fourth window called Controler has 8 buttons. For each button player can save an AI script, also for each button player can define keyboard shortcut. In this kind of script (assigned for one of the buttons) we can use function isPressed("shortcut");. For example if we want robot to walk only when the button with shortcut "W" is pressed, we will create the script for this button:

key = "W";
robot.walkIf("isPressed(key)");

I will remind you that robot.walkIf("code"); means that robot walk while code is returning true. Another example with walkIf function:

max = 1000;
robot.walkIf("robot.getX() < max");

It means that the robot will walk while its x-coordinate is smaller than 1000.

See more on a video below:

And at the end a video with passing the tutorial by one command and a teleport efect:

The command is:

robot.back().walk(5);
robot.aim().shoot();
robot.aim(12).shoot();
robot.aim(-12).shoot();
robot.walk(6).action();

or shorter:

robot.back().walk(5).aim().shoot().aim(12).shoot().aim(-12).shoot().walk(6).action();
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Apparatus
Platforms
Windows, Mac, Linux, iOS, Android
Creator
app2d
Engine
Custom
Contact
Send Message
Homepage
Facebook.com
Release date
Game watch
Follow
News
Browse
News
New
Post news
Report
Report
Share
Related Games
Apparatus
Apparatus Puzzle
Related Groups
Indie Gamers
Indie Gamers Hobbies & Interests with 1,469 members
Linux Gamers
Linux Gamers Fans & Clans with 2,968 members