1 / 9

Just Logic

Just Logic. Introduction. Vlad Taranov http://www.aqla.net wvlad.dev@gmail.com. Key features. Designed to create the game logic without programming Setting the logic directly in the inspector Using sequences (easier than visual programming with graphs)

grazia
Download Presentation

Just Logic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Just Logic Introduction Vlad Taranov http://www.aqla.net wvlad.dev@gmail.com

  2. Key features • Designed to create the game logic without programming • Setting the logic directly in the inspector • Using sequences (easier than visual programming with graphs) • Logical units –expression and action • Simple concept “from general to specific" • Ability to use other plug-ins • Integrated yielding (similar to coroutines) • Reusing • Extensibility

  3. Applied for • Developers without programming skills can create their own game logic. • Possibility to quickly implement new ideas and select the best solution. • Allows game designers to easily use existing logic units created by project programmers, • Improves your skills so you can easy learn how to write scripts in C# and UnityScript. • Makes programming tasks more understandable by the game designer

  4. Logic units Every unit has its parameters. There are two types of unit: • Action – parameter values can use another unit of any kind. • Expression– an action that has return value. Also its parameter values cannot use units of an “expression” kind.

  5. From general to specific The process of construction with logic units is asking yourself these questions: • What do I want to do? • What do I need for it? • And what do I need now?...each time choosing a suitable unit.

  6. Constructing example The “main” action is bold. Unit name is specified in brackets. • Change color (SetColor) • of the object (Object = Object Value) • (specify an object) • using previously saved color value (Color = GetVariable) • (select a variable name) • Start a timer (Wait For Game Time) • for10 seconds (set time period after which continue the execution) • Spawn(Spawn) • an enemy (Prefab = (selectprefab)) • in the position of (Position = Get Position) • the game object (Object Value) • «Respawn Location» (specify an object)

  7. Control-flow actions • Their parameters may contain actions.For example, the Ifaction starts one of the two sub-actions. • Such actions can’t be “main”. • The “main”action is inside. • The condition of the “main” action execution should be specified before and outside of that action.

  8. Upgraded example • Repeat (Simple For): 5times • a sequence(Sequence) • Change color(SetColor) • of the object (Object = Object Value) • (specify an object) • using previously saved color value(Color = GetVariable) • (select a variable name) • Start a timer (Wait For Game Time) • for 10 seconds (set time period after which to continue the execution) • Spawn (Spawn) • an enemy(Prefab = (select prefab)) • In the position of (Position = Get Position) • the game object (Object Value) • «Respawn Location» (specify an object)

  9. Just Logic Thanks for watching! Vlad Taranov http://www.aqla.net wvlad.dev@gmail.com

More Related