Added meters
This commit is contained in:
parent
d0d427c616
commit
982cdc4140
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
||||||
wall.push(Crafty.e("Wall").wall(390,0,10,387));
|
wall.push(Crafty.e("Wall").wall(390,0,10,387));
|
||||||
|
|
||||||
var cur_sel; // "Pointer" to current selected creature
|
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={};
|
var player={};
|
||||||
/* initialize Players ("Player") and creatures ("Beast") */
|
/* initialize Players ("Player") and creatures ("Beast") */
|
||||||
|
|
Loading…
Reference in a new issue