En junio hice un boceto de mi propia herramienta para un mayor desarrollo de Kolobok usando HTML, Matter.js y JSON.
En el primer artículo sobre "Kolobok" ya mencioné la creación de un juego simple en el curso de enseñar a los niños a programar y sobre el deseo de usar el ejemplo de "Kolobok" en la enseñanza para crear plataformas.
" " GDevelop Phaser, : GDevelop , Phaser — .
, , - - . , "" HTML/CSS/JS Matter.js. JS API Phaser , JSON.
JSON, , :
{ : " ", : { : { : 2000, : 600, : { background: "url(//.jpg)", }, }, }, : { : { x: 100, y: 100, : 70, : 70, : { background: "url(//_.png)", }, : { isStatic: false, inertia: Infinity, }, }, : { x: 180, y: 590, : 355, : { background: "url(//.jpg)", display: "none", }, }, : { x: 430, y: 590, : 135, : { background: "url(//.jpg)", display: "none", }, }, : { x: 1250, y: 590, : 1500, : { background: "url(//.jpg)", display: "none", }, }, : { x: 840, y: 480, : 550, : { background: "url(//.jpg)", display: "none", }, }, }, : { : "", : [5, 15], : ["ArrowLeft", "ArrowRight", "ArrowUp"], }, : { : "", : 0.1, }, }
, , , JS.
, . , , JSON JSON.
P.S.: :