2014-09-23 16:52:08 +02:00
|
|
|
{
|
2014-09-24 13:33:12 +02:00
|
|
|
start_init(300,300);
|
2014-09-23 17:22:20 +02:00
|
|
|
|
2014-09-23 16:52:08 +02:00
|
|
|
var wall = [];
|
|
|
|
|
|
|
|
wall.push(Crafty.e("Wall").wall(240,0,10,250));
|
2014-09-24 13:33:12 +02:00
|
|
|
//wall.push(Crafty.e("Wall").wall(0,240,240,10));
|
2014-09-23 16:52:08 +02:00
|
|
|
wall.push(Crafty.e("Wall").wall(0,0,10,240));
|
|
|
|
wall.push(Crafty.e("Wall").wall(10,0,230,10));
|
2014-09-24 15:44:00 +02:00
|
|
|
|
|
|
|
var cur_sel;
|
|
|
|
|
2014-09-24 15:16:10 +02:00
|
|
|
var player={};
|
2014-09-24 17:16:07 +02:00
|
|
|
player["Gesina"]=new Player({"pname":"Gesina", "cname":"Aknya", "class":"Zauberin", "level":0,
|
|
|
|
"experience":0, "race":"Mensch", "size":2},
|
2014-09-24 15:16:10 +02:00
|
|
|
{"body":6, "agility":6, "spirit":8},
|
|
|
|
{"strength":0,"hardness":2,"movement":0,"skill":3,"mind":3,"aura":3},
|
2014-09-24 17:16:07 +02:00
|
|
|
{"x":40,"y":40,"w":40,"h":40,"col":"blue"});
|
2014-09-24 15:16:10 +02:00
|
|
|
|
|
|
|
// player.push(Crafty.e("Creature").player(40,40,40,40,'red'));
|
|
|
|
|
2014-09-24 15:44:00 +02:00
|
|
|
|
2014-09-24 17:16:07 +02:00
|
|
|
player["Gob1"]=new Beast({"pname":"Gob1", "experience":71, "race":"Goblin", "size":2},
|
|
|
|
{"body":11, "agility":6, "spirit":3},
|
|
|
|
{"strength":2,"hardness":3,"movement":0,"skill":3,"mind":2,"aura":0},
|
|
|
|
{"x":90,"y":90,"w":30,"h":30,"col":"red"},
|
|
|
|
{"life": 8, "defense": 7, "ini":9, "walk":4.5, "melee":7, "shoot":0, "chant":0,
|
|
|
|
"shoot_chant":0});
|
2014-09-24 15:44:00 +02:00
|
|
|
|
|
|
|
/*.push(Crafty.e("Creature").creature("Hobgob1",100,100,30,30,'red'));*/
|
2014-09-23 16:52:08 +02:00
|
|
|
|
|
|
|
end_init();
|
|
|
|
}
|