npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vlm-dcl-qc

v0.0.1

Published

QuickCreate for Decentraland SDK7 - Developed by Virtual Land Manager

Downloads

4

Readme

QuickCreate by VirtualLandManager

Installation

Step 1: Install VLM QuickCreate Dependency

Using VS Code Extension (Beginner):

  1. Hit the + button in top right of the Dependencies panel.
  2. When asked, "Is this a Decentraland library?" choose Yes.
  3. Type vlm-dcl-qc@sdk7 and press Enter/Return

Via CLI (Advanced Option) Run npm install vlm-dcl-qc@sdk7 from your project folder.

Step 2: Import QuickCreate into your file

import QuickCreate from 'vlm-dcl-qc'

^ COPY THIS IMPORT TO THE TOP OF THE FILE ^

Using QuickCreate

Images

-- Adding an image with Image() --

  • path is the URL of your image
  • Provide position, scale, and rotation coordinates to control its position in space

•·················• CODE EXAMPLE •·················•

new QuickCreate.Image({
  path: 'https://picsum.photos/1920/1080',
  position: { x: 5, y: 3, z: 0 },
  scale: { x: 1.92, y: 1.08, z: 1 },
  rotation: { x: 0, y: 90, z: 0 }
})

•·························•························•

Video Screens

-- Adding a dynamic video screen with Video() --

  • liveUrl will be used when the stream is live.
  • playlist will be looped through when the stream is offline.

•·················• CODE EXAMPLE •·················•

new QuickCreate.VideoScreen({
  liveUrl: 'https://streams.vlm.gg/live/vlm/index.m3u8',
  playlist: ['https://api.vlm.gg/media/demo-video/1.mp4', 'https://api.vlm.gg/media/demo-video/2.mp4'],
  position: { x: 5, y: 5, z: 8 },
  scale: { x: 1.92, y: 1.08, z: 0.1 },
  rotation: { x: 0, y: 90, z: 0 }
})

•·························•························•

3D Models

-- Adding a GLB with Mesh() --

  • By default, looks within the /models folder for the GLB.
  • Just add file name as a string to the path property.

•·················• CODE EXAMPLE •·················•

new QuickCreate.Mesh({
  path: 'building.glb',
  position: { x: 8, y: 3, z: 8 }
})

•·························•························•

Auto-Dance Area

-- Adding an auto-dance area with DanceFloor() --

  • Sets up a cube where people will dance when their feet are inside it.
  • Toggle the auto-dance with VLM.toggleAutoDance()
  • To set a certain auto-dance state, use VLM.toggleAutoDance(true) or VLM.toggleAutoDance(false)

•·················• CODE EXAMPLE •·················•

new QuickCreate.DanceFloor({
      position: { x: 0, y: 8, z: 8 },
      scale: { x: 32, y: 26, z: 16 },
      debug: false, // optional - shows a box where the dance floor to see the position during development
      enabledOnLoad: true // optional - if false, the dance floor will be disabled when the scene loads. 
    })

•·························•························•