1.0.19 • Published 4 years ago

sapling-dcl v1.0.19

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 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

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago