Project

General

Profile

Feature #7

Implement scripting

Added by Jay Gischer over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
04/08/2020
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

Create a page for setting variables. Use those variables and expressions to define values for Enemies.

#1

Updated by Jay Gischer over 5 years ago

  • Assignee set to Jay Gischer
#2

Updated by Jay Gischer over 5 years ago

  • Status changed from New to In Progress

So far, I've created a page for setting and showing variables, and we can export and import files describing variables.

Now, I need to convert our other modules to use expressions rather than numbers, and display that in the UI

#3

Updated by Jay Gischer over 5 years ago

  • Status changed from In Progress to Resolved

First Pass is complete. This includes:

  • Expression parser which handles symbols, addition, subtraction, multiplication, division and parentheses.
  • Variables collection (a singleton collection)
  • Variables page for CRUD operations on variables.
  • Import/export of variables in JSON format
  • Initialization of variables from a checked-in data file at startup
  • Refactoring Card, Enemy and Class to use expressions for numeric fields rather than numbers.
  • Wrote code to fixup older versions of Card/Enemy/Class modules on load.
  • Rewrote Editors to use expressions rather than values.
  • Rewrote Pixi renderers to use expressions rather than values.
#4

Updated by Jay Gischer over 5 years ago

  • Status changed from Resolved to Closed

Deployed in release 0.8

Also available in: Atom PDF