This is probably a bad idea.
This commit is contained in:
parent
1fcd8dd5e1
commit
755c236d95
3 changed files with 40 additions and 6 deletions
|
|
@ -279,6 +279,24 @@
|
|||
"size": 128
|
||||
}
|
||||
}
|
||||
}]
|
||||
}
|
||||
}],
|
||||
"shoot": {
|
||||
"src": "./resources/BulletHole.png",
|
||||
"z": 2,
|
||||
"anchor": {
|
||||
"x": {
|
||||
"absolute": true,
|
||||
"position": 0,
|
||||
"offset": "Math.random()*imgWidth",
|
||||
"size": "123*5"
|
||||
},
|
||||
"y": {
|
||||
"absolute": true,
|
||||
"position": 0,
|
||||
"offset": "Math.random()*imgHeight",
|
||||
"size": "130*5"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue