1.0.19 • Published 2 years ago

sapling-dcl v1.0.19

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

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago