Added meters

This commit is contained in:
Oliver Rümpelein 2014-10-18 15:59:11 +02:00
parent d0d427c616
commit 982cdc4140

View file

@ -14,6 +14,8 @@
wall.push(Crafty.e("Wall").wall(390,0,10,387));
var cur_sel; // "Pointer" to current selected creature
var meters=50; // px/m, should be set such that the size of a player is ~ 0.4m x 0.4m
var player={};
/* initialize Players ("Player") and creatures ("Beast") */