![]() ![]() Visually forcing a new line in a script window requires to press shift+return or control+return. Note: After each command line, a colon needs to be added to mark the end of a command line, unless there is a closing bracket. = e.pos - assigning the position at which the event occured to the variable, ending the command with an Pos - using the pos variable, which is responsible for the position of an object Referring to the data that was collected at the beginning of the event There are two ways of using variables inside of objects.Ī user can use an already existing variable, which is used for certain attributes of your current object.Į. You can find a full list of property variables here. ![]() An example is, which is the name of the variable storing the position of the camera. Using a properties variable of the current scene requires the user to know the name of the variable. Loading a scene will load any assigned global variable with its last value. Writing variables properly will make sure that your Algodoo scenes using Thyme will work.Īny assigned scene.my variable (example: scene.my.theNumber) will be saved in the scene. Note: Writing variables incorrectly will result in the variable being a temporary variable instead of a permanent variable. The variable can either be a global variable, which has properties for the entire scene (written as scene.my.nameHere), or an local object variable, stored inside an object (written as _nameHere). Using Thyme to do anything meaningful requires a simple syntax basing on variable manipulation: update - Like postStep, but it triggers every time, even when the simulation is not running.postStep - Triggers while the simulation is running according to the HZ level of the simulation.Without further scripting, this will trigger no matter what key it was. onKey - Triggers every time a key is used.onSpawn - Triggers every time the object is loaded into Algodoo.onLaserHit - Triggers when the beam of a laser hits an object.onHitByLaser - Triggers if the object is hit by a laser beam.onDie - Triggers upon the deletion of the object.onCollide - Triggers when this object collides with another.onClick - Triggers when the object is clicked.It can change values of objects during the occurrence of certain events. Thyme is the proprietary programming language in Algodoo. 1.7 List of useful Thyme Variables and Expressions.1.4 Changing the Properties of Other Objects. ![]() We imply that you have the basic knowledge of Thyme script. This part will help you about how to run the core concept of Multiply or Release. Instead of spreading bullets like the original, the cannon release a single shot that have the same destruction ablity as multiple bullets.Īssociated with Core Destruction, the Repair function allows to repair the walls surround the core just as powerful as the Release function.īeside Multiply, marbles can choose Add to increase the number of bullets faster when it is low. This is the list of variants based on Multiply or Release which you can find on Youtube:Īdd an unwanted option to reset the point back to 1.īullets now have an ability to explode large area. The rule is simple: choose either Multiply to multiply the point (usually double), or Release (deplete points to produce bullets.), randomly. It has the battle field, which is as MIKAN said, "partly inspired by Carson Jay Marbles 's Territory Wars", and the bases with initially contain 1 marble each and 2 basic pads with x2 has a smaller size than R. MIKAN uploaded the first video on Multiply or Release in July 15th in 2021. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |