v1 #4

マージ済み
rebillar が 50 個のコミットを dev から master へマージ 2023-12-29 21:34:13 +01:00
2個のファイルの変更2行の追加2行の削除
コミット edb568045f の変更だけを表示しています - すべてのコミットを表示

ファイルの表示

@ -46,7 +46,7 @@ let portals = [new Portal(250,457,0,516,789,1),//O
new Portal(1075,421,8,985,520,0), //out map8
new Portal(209,731,8,235,182,8), //troll map8
new Portal(209,110,8,235,730,8), //troll map8
new Portal(500,340,9,500,500,0) //out map 9 (vers suite du donjon)
new Portal(500,340,9,1089,227,0) //out map 9 (vers suite du donjon)
];
let map0Squares = [new Square(1064,371,0,126,125),new Square(1160,113,0,143,126),new Square(1017,113,0,146,80),new Square(1018,192,0,10,47),new Square(1028,227,0,45,12),new Square(1101,227,0,66,12),new Square(791,113,0,176,126),new Square(522,129,0,103,13),new Square(654,128,0,104,15),new Square(747,144,0,12,34),new Square(748,194,0,10,44),new Square(655,224,0,101,15),new Square(520,227,0,106,13),new Square(522,195,0,11,39),new Square(522,131,0,8,46),new Square(588,154,0,10,22),new Square(651,153,0,10,21),new Square(698,188,0,12,19),new Square(697,373,0,318,124),new Square(697,497,0,158,112),new Square(1001,629,0,188,155),new Square(696,626,0,159,158),new Square(281,627,0,173,156),new Square(168,243,0,61,250),new Square(229,259,0,87,218),new Square(311,242,0,62,254),new Square(296,112,0,79,95),new Square(2,0,0,1350,14),new Square(1337,2,0,130,927),new Square(119,909,0,1250,17),new Square(4,1,0,129,923),new Square(543,156,0,16,18),new Square(559,207,0,16,17),new Square(598,179,0,17,29),new Square(721,157,0,13,17),new Square(673,205,0,14,17)];

ファイルの表示

@ -2,7 +2,7 @@ var ctx = document.getElementById("canvas").getContext("2d");
var cv = document.getElementById("canvas");
const fond = new Image();
fond.src = "../../public_html/assets/map/map_principale.png";
fond.src = "../../public_html/assets/map/laby.jpg";
var mapWidth = fond.width
var mapHeith = fond.height
ctx.canvas.width = mapWidth