1.0.19 • Published 3 years ago

sapling-dcl v1.0.19

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Sapling.gg Decentraland Integration

Easily integrate your LAND with brands to sponsor your experience. Get in touch to learn more: contact@sapling.gg.

Install

npm install sapling-dcl -B

-B ensures that the package will be bundled with your DCL setup.

You must already be using decentraland-ecs (npm install -g decentraland-ecs).

API

import { CreateBillboard } from "sapling-dcl";

// Use default params to start
CreateBillboard(engine);

// Then, you can customize the board location, size, and more!
CreateBillboard(
    engine,
    location,
    scale,
    rotation,
    imageUrl,
    clickUrl
)

This command will add a billboard to you scene with the imageUrl parameter as the banner ad. If a user clicks on the billboard, it will redirect them to clickUrl.

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago