Sunday, 22 November 2015

5.0.34 out now

The latest version of ADRIFT is now available for download.  This contains the following changes:

Export Module (ID 19011)

When exporting a module, you can now opt to export only a particular folder, or just the items you currently have selected.  This means you can easily create modules for particular parts of your game.  There are two ways to do this - either right-click on a folder and select Export folder like so:

Or if you select Export Module from the main menu and if you have items selected, you will be prompted whether you wish to export just the selected items.

Runner Window Size Settings for Individual Adventures (ID 18913)

Last Window Size and position are now stored within a Blorb/EXE, so you can distribute your game with your preferred layout.

Advanced task option - Prevent merging of task outputs (ID 18824)

The default for ADRIFT, is to aggregate the output of tasks.  So for example, if you type "get all" and there are two objects in the room, it will state "You pick up the red ball and the green ball" instead of "You pick up the red ball.  You pick up the green ball."

You can now change this behaviour on a task by task basis by deselecting the Aggregate output, where possible checkbox on the Advanced tab of tasks.

Loops (ID 18479)

Loops can now be created around task calls, allowing for much greater flexibility.

A no repeat RAND() function (ID 18384)

I have added a new URand (Unique Random) function, which takes the same parameters as the Rand function (i.e. a single value, or a Min and Max values), but which will return Unique values within the range until all values are exhausted.

e.g. URand(1, 5) might return 3 the first time you call it, then 2 the next time, then 5, then 1 then 4.  On the next call it will return any random number from the range and uniquely work through them again.

As well as the above enhancements, the following bugs have also been fixed:

  • Restriction string in PlayerMovement task returns "nothing" (ID 19039)
  • Copy/paste in the runner causes images vanish (ID 19038)
  • Locking down/password protect Blorb files (ID 19037)
  • Custom Player Name not saved/restored (ID 19036)
  • Interrupting looping audio can crash the runner (ID 19035)
  • "Locking" graphics in games (ID 19029)
  • Map Bug (ID 19027)
  • Cancel button when exporting window executable (ID 19026)
  • EVENT will not continue if game is saved/restored (ID 19024)
  • Extra quotes added in restrictions when using Copy & Paste (ID 19022)
  • Undo do not undo ProperName changes for the player character (ID 19020)
  • Standard library-PutObjectOnOther restrictionerror (ID 19019)
  • Extra window panes cannot display graphics (ID 19016)
  • Standard library "Wear all" failure message (ID 18465)

Monday, 4 May 2015

5.0.33 out now

Again, it has taken me quite a while to get this release out, having squeezed in development as and when I can, but hopefully it will be worth the wait.  There are some exciting enhancements, amongst which is the ability to make debugging your games easier and more enjoyable.

Support <bgcolour> tags (ID 19010)

ADRIFT 4.0 supported the ability for the game designer to change the background colour.  This functionality is now available in ADRIFT 5.0, allowing background colours to be changed at any point within the game.  The background will remain this colour until changed again, or set back to the default.

The format is:

   <bgcolour = "colour">

Where colour is a named colour (e.g. red, green, blue etc), a hexadecimal colour code (e.g. #FF8800, #123456) or simply "default" to set back to the default colour.

Add default background colour in Developer (ID 19009)

Default colours for the game can now be set in Developer.  This allows the author to set the game colours appropriately for the atmosphere of the game.  It also allows them to set a suitable background colour for any font colour changes within the game.

To set default colours, go to Options > General > Default Colours

The person playing the game can choose whether to allow these colours, or to use their own preferred colours.

Allow more than one of all reference types (ID 18985)

All reference types now support multiple references per task command.  This means you can have %location1% and %location2% in the same command.  Same goes for Number, Text, Direction and Item (previously only Object and Character supported multiple references).

Ability to copy-paste restrictions/actions (ID 18844)

Actions and Restrictions can now be copied and pasted within Developer.  To access this feature, right-click on any Action or Restriction, where the new options will be available on the menu:

Debugger Enhancements (ID 18387)

The debugger has been significantly improved, providing visibility and the option to change all property values of each of the item types.  To see the properties, select the individual item within the debugger tree view, where they will be listed like so:

The property values can be changed by either selecting a new value from the dropdown, or by over-keying the value currently there.  Changes will be reflected immediate within the game currently being played in Runner.

Player controlled wait command (ID 8125)

A new task action has been added, allowing a particular task to cause a certain amount of time to pass.

As well as the above enhancements, the following bugs have also been fixed:
  • Variables set to strings with spaces (ID 18994)
  • %object% %object1% %objects% confusion (ID 18986)
  • Saving array values does not work (ID 18984)
  • Cancel Open File can still load file (ID 18979)
  • IF expression not resolved before actions execution (ID 18973)
  • Restriction: reference must exist, does not check type (ID 18971)
  • Pop-up for adding restrictions to new task appears twice (ID 18968)
  • Character not known & indefinite (ID 18964)
  • Character1.Known function generate a error dialog (ID 18963)
  • Undo fail to UNDO unselect property (ID 18962)
  • Player.Held.OpenStatus(Closed/Open) does not return value (ID 18961)
  • %object2% reference with no %object1% fails "exists" restriction (ID 18957)
  • Old games load new libraries (ID 18946)
  • ToDo: Selection only item functions (ID 18925)
  • reference parameters scrambled if order changed (ID 18924)
  • Property restriction comparing < kills debugger (ID 18858)
  • Set default user dictionary location (ID 18422)