Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@excaliburjs/plugin-ldtk

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@excaliburjs/plugin-ldtk

Plugin to support LDtk generated tile maps in Excalibur

  • 0.30.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Excalibur LDtk Plugin

This extension adds support for LDtk tile maps from https://ldtk.io/ in Excalibur!

This plugin supports the latest released version of LDtk, currently 1.5.3.

Installation

npm install @excaliburjs/plugin-ldtk

Create your resource, load it, then add it to your scene!


const game = new ex.Engine({...});

const ldtkMap = new LdtkResource('./path/to/my/cool-map.ldtk');

const loader = new ex.Loader([ldtkMap]);

game.start(loader).then(() => {
    ldtkMap.addToScene(game.currentScene);
});

Read the full documentation at https://excaliburjs.com/docs/ldtk-plugin

Local Development

  • Using nodejs and npm
  • Run the npm install to install dependencies
  • Run the npm run start to run the development server to test out changes

Building bundles

  • Run npm run start to produce javascript bundles for debugging in the dist/ folder
  • Run npm run build to produce javascript bundles for production (minified) in the dist/ folder

FAQs

Package last updated on 26 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc