Skip to content

Releases: EvitcaStudio/vyi

VYI v1.0.1

30 May 16:03
Compare
Choose a tag to compare

1.0.1 - New API

/**
 * Gets all the icons in this vyi.
 * @returns {Array<Icon>}
 */
getIcons() {
    return [...this.icons];
}

This new API will make retrieving all the icons in a VYI alot easier.

Full Changelog: v1.0.0...v1.0.1

VYI v1.0.0

04 May 11:20
Compare
Choose a tag to compare

Initial Release

VYI Module

A lightweight module to read / manage .vyi files created in the Vylocity Game Engine.

Installation

ES Module

import { VYI } from './vyi.mjs';

IIFE (Immediately Invoked Function Expression)

<script src="vyi.js"></script>;
// ...
window.VyiBundle.VYI;

CommonJS (CJS) Module

const { VYI } = require('./vyi.cjs.js');

Global Dependency

VYI relies on the VYLO variable being globally accessible.