-
Notifications
You must be signed in to change notification settings - Fork 0
Working with Scroller
bapquad edited this page Feb 20, 2022
·
3 revisions
[Home] > Working with Scroller
This content we learn how work with a scroller in Element5JS API.
element5js allow you create the scroller with an image.
let scroller = motion5.Scroll(200, 140, "nightcity.png");
After you had created the scroller, you would like to play the scroller.
// Create the play button
let playBtn = $.create("button").text("Play").on("click", () => {
city.MotionScroll.Run(10);
});
Bapquad Games since 2015
- Get Started
- Working with DOM
- Constructing the StyleSheet
- Working with Sprite
- Working with Timeline
- Working with Scroller
- Working with Camera
- Working with Microphone
- Making the Ajax Request
- Opening a Websocket
- Working with Storage
- Checking User Agent
- Working with GPS
- Working with Router
- Playing the Stream