mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
working paralax (not for zoom)
This commit is contained in:
parent
357ef181d9
commit
85867f92af
10 changed files with 117 additions and 15 deletions
BIN
static/img/Backgrounds/clouds.png
Normal file
BIN
static/img/Backgrounds/clouds.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 225 KiB |
BIN
static/img/Backgrounds/starnight-small.png
Normal file
BIN
static/img/Backgrounds/starnight-small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 287 KiB |
|
|
@ -3,9 +3,28 @@
|
|||
"layers":[
|
||||
{
|
||||
"height":0,
|
||||
"image":"..\/..\/img\/Backgrounds\/starnight.png",
|
||||
"image":"..\/..\/img\/Backgrounds\/starnight-small.png",
|
||||
"name":"background",
|
||||
"opacity":1,
|
||||
"properties":
|
||||
{
|
||||
"parallaxSpeed":"-1.0"
|
||||
},
|
||||
"type":"imagelayer",
|
||||
"visible":false,
|
||||
"width":0,
|
||||
"x":0,
|
||||
"y":0
|
||||
},
|
||||
{
|
||||
"height":0,
|
||||
"image":"..\/..\/img\/Backgrounds\/clouds.png",
|
||||
"name":"clouds",
|
||||
"opacity":0.3,
|
||||
"properties":
|
||||
{
|
||||
"parallaxSpeed":"-0.3"
|
||||
},
|
||||
"type":"imagelayer",
|
||||
"visible":false,
|
||||
"width":0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue