1. RPG in a Box
  2. News

RPG in a Box News

Release Notes for v0.5.7

[h3]Happy New Year, everyone! ːwinter2019happyyulː[/h3]
  • Added ability to define default scripts for tiles and objects in the Voxel Editor (which will be assigned for those newly added to a map)
  • Added ability to iterate over an entity's model tags in "For" loops (e.g. for tag in entity["xyz"].tags do ... end)
  • Added ability to check for values in tag arrays using the "contains" conditional operator (e.g. if self.tags contains "human" then ... end)
  • Added ability to check if a group contains a specific entity using the "contains" conditional operator (e.g. if group["xyz"] contains entity["abc"] then ... end)
  • Added ability to reference or modify a character's experience points in scripts (e.g. if player.xp > 1000 then ... end)
  • Added ability to use compound assignment operators (+=, -=,
  • =, /=) in scripts (e.g. global.property["counter"] += 1, which adds 1 to the counter property)
  • Added ability to reference and modify character stats via scripting (e.g. player.stat["attack"], supported stats in this release include "hp", "max_hp", "xp", "attack", "defense", and "move_range")
  • Added ability to reference tile entities in scripts by their coordinates (e.g. tile[0, 0, 0])
  • Added new scripting function "Remove Item From Container" which removes one or more of an item from a container object and returns a numeric value indicating how many were successfully removed (e.g. remove_item_from_container(entity["chest"], "ITEM_0001", 2))
  • Added new scripting function "Assign Entity ID" which assigns an ID to an entity, or clears it if an empty string ("") is used, and returns true/false indicating whether ID assignment was successful (e.g. assign_entity_id(entity["xyz"], "New ID"))
  • Added a counter variable to the scripting language for getting the number of tiles a character has walked (e.g. player.counter["tiles_walked"] to get how many tiles the player has traversed)
  • Added a button to the Item Editor for opening a usable/consumable item's script in the Script Editor
  • Added a confirmation dialog when deleting platform waypoints from the Entity Properties panel in the Map Editor
  • Added "and" and "or" keywords to syntax highlighting logic for scripts (e.g. in source code text boxes)
  • Added "X" button to clear the "Available Functions" filter in the Script Editor when text is entered into the field
  • Added "X" button to clear the item list in the Item Editor when text is entered into the field
  • Added confirmation popup when removing a project from the "Recent Games" list on the Game Manager dialog
  • Added script syntax highlighting to appropriate visual script node fields (conditions, variable expressions, direct entry, etc.)
  • Updated display of entities in scripting (via Print, Display Message, etc.) to output descriptive text (e.g. [Entity:goblin@(0, 0, 0)] instead of scene node name
  • Updated object placement logic in Map Editor to automatically change "Walk and Interact" navigation paths to "Interact Only" when placing impassable objects with a default script
  • Updated "Entity by ID" option of the Entity Expression Builder dialog with a checkbox for using just the ID string instead of the full entity["..."] syntax
  • Updated "Add Item To Container" scripting function to also support entity references (e.g. self) instead of just an entity ID string
  • Updated UI elements for "Moving Platform" setting to open the built-in documentation when dragging and dropping Justin guide
  • Updated Conditional/Entity/Variable Expression Builder dialogs to use script syntax highlighting in expression field
  • Updated "Add Item To Container" scripting function to return a numeric value indicating how many of the item were successfully added to the container (allowing usage in conditions, arithmetic expressions, etc.)
  • Updated "Give Item" and "Remove Item" scripting functions to return a numeric value indicating how many of the item were successfully added/removed
  • Updated "Copy Properties" feature in the Map Editor to allow pasting properties to multiple entities at once
  • Fixed issue where platform waypoints where not able to be deleted from the Entity Properties panel in the Map Editor
  • Fixed issue where changed maps other than the one from which a game was saved were not being properly restored upon loading and returning to the other maps
  • Fixed issue where a custom interaction cursor assigned to a tile would incorrectly show when hovering over it if the player was already standing on that tile
  • Fixed issue with NPCs not properly being destroyed/removed from the game when killed by a damaging tile script
  • Fixed issue where existing quick scripts could fail after adding others to a map and then loading a previously saved game
  • Fixed issue where "initiator" reference was not being connected to the player for "on close" scripts of item containers
  • Fixed issue with pause menu not completely displaying sometimes when a game was running at lower frame rates
  • Fixed issue where Script Editor logic nodes were appearing in the "Available Functions" list after the filter was used
  • Fixed "signal already connected" errors when re-opening a container in-game that was already open
  • Fixed issue with the .coord script syntax not working properly for tiles
  • Fixed issue with Asset Library not being properly reset upon closing
  • Fixed issue with certain fields of visual script nodes not being visible after generating graph from source code
  • Fixed vertical placement of certain visual script nodes following If/While nodes when generating graph from source code
  • Fixed issue where "Start" node of visual scripts would be too wide sometimes
  • Documentation: Added built-in documentation for the "Platforms" functionality
  • Documentation: Added built-in documentation for the "Move Platform" scripting function

Release Notes for v0.5.6.4

  • Updated Asset Library to display visual grid of models instead of a text list
  • Updated Asset Library to support filtering on multiple tags (comma-separated)
  • Updated Asset Library to display grid dimensions for models within the preview box
  • Added popup dialog to Asset Library for selecting from a list of available tags
  • Added several tiles, objects, and characters from the Dungeon in my Pocket assets to the Asset Library (more to come)

Release Notes for v0.5.6.3

  • Fixed issue with "Execute Script" function not working properly

Release Notes for v0.5.6.2

  • Added option for "Initiator Property" to the Conditional Expression Builder dialog
  • Added options for ID of "self" and "initiator" references to the Conditional Expression Builder dialog
  • Added operator option for "contains at least" to the Conditional Expression Builder dialog
  • Fixed issue where custom properties were incorrectly being shared between entities of the same type in the Map Editor
  • Fixed issue with the "Start Dialogue" scripting function not triggering properly in some cases

Release Notes for v0.5.6.1

  • Added check for unsaved changes to the Stats Editor when exiting to the Game Manager or closing the application
  • Added "Stats" item to the Game Explorer for quick access to the Stats Editor
  • Added "initiator" as an option to the Entity Expression Builder dialog
  • Added ability to assign/remove an entity's ID using assignment statements (e.g. self.id = "new_id" to assign or self.id = "" to remove)
  • Updated Stats Editor tab to be marked as having changes when appropriate
  • Updated sound effect for enemy death in the bundled demo game
  • Fixed issue with map pre-load scripts no longer working properly (causing the game to hang during the map load)
  • Fixed issue where Stats Editor was not being properly cleared out when exiting to the Game Manager
  • Fixed issue where reference to an entity's ID (e.g. self.id) was not able to be used in conditional expressions or right-hand side of assignment statements