Skip to content

battlefield-portal-community/BF-Portal-Code-Unleashed

Repository files navigation

Battlefield Portal Community's Code Unleashed

Code interpreter for Battlefield 2042 Portal's Rule Editor, allowing rules to be written in JavaScript, Python and Lua syntaxes with aditional toolset.

This project was bootstrapped with Create React App and TypeScript and rely on Monaco Editor same as in VSCode.

Join us at Discord

This project is under development

  • Aditional menu options to access the desired editor
  • Monaco editor integration
  • Blockly to JavaScript code generation
  • Blockly to Python code generation
  • Blockly to Lua code generation
  • JavaScript to Blockly converter
  • Python to Blockly converter
  • Lua to Blockly converter
  • Object definition snippets
  • Variables extension (Use named and unlimited variables with array)
  • Function params input and return output code snippets
  • Code comments

A Plugin for BF2042 Portal Extensions

This project can be used as a Plugin for BF2042 Portal Extensions.

Installation

  1. Install the BF2042-Portal-Extensions
  2. Open the extension Options
    • Chrome: Click on the extension icon > Options
    • Firefox: Click on the extension icon
  3. On the extension page, click on Add plugin
  4. Enter the following url, and click on Review then Confirm To be defined.

Usage

To be defined.

Coding rules

JavaScript

Python

Lua

Legacy project

This project is a revival of Ludonope original project of similar name, which has been discontinued.

About

Editor tool to use JavaScript syntax with the Blockly editor.

Resources

License

Stars

Watchers

Forks