Files
docker-compose-hatthieves/testing/magicworld/web/maps/map01/map01.js
2020-05-28 10:46:51 +00:00

55 líneas
759 B
JavaScript

var map = {
background: {
url: '/img/landscape.jpg'
},
front: {
url: '/img/front.png'
},
size:{
x: 960,
y: 633,
},
limits: {
x: {
min: -433,
max: 232
},
y:{
min: -220,
max: 50
}
},
objects:[
{
name: "tree",
url: '/img/tree.png',
xv: null,
yv: 25,
x: 344,
y: 211
},
{
name: "tree",
url: '/img/tree2.png',
xv: null,
yv: 15,
x: 211,
y: 165
}
],
player:{
url: "/img/player.png",
lives: 3,
dvx:250,
dvy:750,
scale: 3,
scale_ratio_divisor: 50,
velocity_divisor: 50,
sprite: sprite
},
players:[
//otros jugadores...
]
}