Закрыть
×
=0) { let js = text.slice(pos1, pos2); + '<\/' + "script" + '>'; arrText.push(js); // next pos1 = pos2; continue; } } } break; } return arrText; } function OpenDialog(parentDiv, urlContent) { parentDiv = document.getElementById('modal-background'); // new !!!!!!! parentDiv.appendChild(document.getElementById('modal-template')); document.getElementById('modal-background').style.display = "flex"; // !!!!! block document.getElementById('modal-template').style.display = "flex"; // !!!!! document.getElementById('modal-body').innerHTML = ""; post_url(urlContent, "", function(text_from_server) { var element = document.getElementById('modal-body'); element.innerHTML = text_from_server; // add scripts var arrJSText = get_scripts(text_from_server); for (var i=0; i
dir.by
Праздники ...
Праздники ...
Рождество (Католическое) 25 Декабря
Концерты, выставки ...
Концерты, выставки ...
Спектакль драма "Маскарад"|||г. Минск 11 октября, 18 ноября 2026
Афишу
Спорт занятия ...
Спорт занятия ...
Катание на коньках
Спорт занятие
Компьютер, программы...
Компьютер, программы...
Объявления ...
Объявления ...
Автополив
Объявление
Новости ...
Новости ...
Форум ...
Форум ...
обсуждение...
<<
Поиск >>
Поиск
Концерты
Спорт
Форум
Компьютер
Компьютер, программы
→
Разработка игр | для телефонов на Unity, MonoGame | для браузера Google Chrome на JavaScript, HTML | рисуем графику
→
My game development in HTML, Javascript, Typescript
Habr рассказ "Сетевая игра на HTML, CSS и JavaScript"
посмотрели
7933
раз
обновлено: 13 March 2020
В Javascript игре используются:
• nodejs
• socket.io для сети
• HTML canvas для графики
• игровые карты задаются в Javascript файле
Читать на habr
habr.com/ru/post/225669
← Previous topic
My Game "Wizard World" | HTML, JavaScript
Next topic →
Habr story [kavichka]Network game Tanks in HTML, JavaScript[kavichka] (nodejs, socket.io for the web, PixiJs library for graphics)
Your feedback ...
1
Comments
Кирилл
7 September 2021 18:34
А где игра?
answer
Your Name
Your comment
(www links can only be added by a logged-in user)
+ Picture
Новость
"Черная пятница" Dreame в Беларуси – две недели скидок до 3400 рублей
My game development in HTML, Javascript, Typescript
•
Writing a game using HTML, JavaScript, TypeScript in Visual Studio Code. I"ve created some ts files. That"s why I use Webpack (collects all files into one js)
•
Animation of the little man on the spot. For <div>animation, we use CSS styles: "animation", "background-image", "background-position", "keyframes"
•
Animation of a man in motion (sprite). For <div><img>animation we use CSS styles: "animation", "background-image", "background-position", "keyframes"
•
My Game "Wizard World" | HTML, JavaScript
•
Habr story [kavichka]Network game in HTML, CSS and JavaScript[kavichka] (nodejs, socket.io for the web, HTML canvas for graphics, game maps in js are set)
•
Habr story [kavichka]Network game Tanks in HTML, JavaScript[kavichka] (nodejs, socket.io for the web, PixiJs library for graphics)
My game "Animal Go". Technologies: C#, MonoGame, Windows, Android, iOS
•
My game is "Animal Go". How to play. Description | The game is written in C# using MonoGame (runs on platforms: Windows, Android, iOS)
•
How do I write a game "Animal Go" on a computer Windows. I compile, get the exe file and run it | C#, MonoGame
•
How to compile and run the game "Animal Go" on your phone or in emulator mode Android on your computer (Windows) | C#, MonoGame
•
How to compile and run the game "Animal Go" for the system iOS | C#, MonoGame
Creating graphics, animation for a 2D game
•
Which picture to draw for a 2D game: a raster png image by dots or a vector svg image by lines?
•
2D animation for the game
Ваши вопросы присылайте по почте:
info@dir.by