magicworld
Este commit está contenido en:
55
testing/magicworld/web/maps/map02.js
Archivo normal
55
testing/magicworld/web/maps/map02.js
Archivo normal
@@ -0,0 +1,55 @@
|
||||
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...
|
||||
]
|
||||
}
|
||||
Referencia en una nueva incidencia
Block a user