Сохранение и загрузка состояния в js, html для игры
Всех приветствую! Создаю текстовый квест Используя TWINE и формат истории Trialogue тот же SNOWMAN-> документация .
Это интерактивная книга в формате чата.
В общем работает всё хорошо, но нужно как-то реализовать систему сохранений, и загрузки
СИСТЕМА СОХРАНЕНИЙ ЕСТЬ НО ОЧЕНЬ СТРАННАЯ -> ТЫК
Она вполне себе работает но дублирует всё что можно и нельзя.
А должна работать следующим образом:
Тк как игра тут это HTML - CSS -JS то когда человек закрывает окно, по факту закрывается и игра и после перезапуска всё нужно проходить сначала.
ЗАДАЧА: Сделать так, что-бы даже после закрытия окна, сессия продолжалась и можно было сохранить или загрузить игру.
-
943 35 0 Предлагаю такое решение
Сохранение пользователя мы будем хранить на сервере, на стороне пользователя будет лежать куки файл который будет ссылаться на его сохранение.
Current freelance projects in the category Gaming Apps
DCS World programmer needed help with connecting Clickable.
33 USD
I need help connecting a clicker to my module, I will explain everything in private messages I need a programmer based on LUA for the game DCS World Gaming Apps ∙ 1 day 2 hours back ∙ 4 proposals |
Game Designer for a mobile gameGame Designer for a mobile game We are looking for a game designer for a game that is already published for further development. The game is available at the link: https://play.google.com/store/apps/details?id=com.hundredducks.cozypackingGeneral information Project type: mobile… Mobile Apps Design, Gaming Apps ∙ 2 days 6 hours back ∙ 13 proposals |
Creation of a full-fledged quest branch for the mod Industrial Upgrade (Minecraft 1.12.2)
20 USD
Project Description It is necessary to develop and implement a fully ready quest branch for the mod Industrial Upgrade in Minecraft 1.12.2. As an example of structure, use existing quest trees like Forestry (see examples), where the player gradually progresses from basic… Script Writing, Gaming Apps ∙ 3 days 10 hours back ∙ 4 proposals |
Customization of the loading screen and menu for Minecraft 1.12.2 (Tech Survival)
20 USD
Need to refine the ready client Minecraft 1.12.2 with mods and implement a custom interface design in the style of technical survival (Industrial / Tech Survival).What needs to be done1. Custom mod loading screen It is necessary to replace the standard Minecraft/Forge loading… Java, Gaming Apps ∙ 3 days 11 hours back ∙ 6 proposals |
Development of simple 2D games (Snake, Galaxy, etc.) for Google Play MarketHello! I am looking for a developer (or a beginner with a good foundation) who can create several simple classic 2D games for the Android mobile platform with subsequent publication in the Play Market.To start, one or two games need to be developed. Examples of settings and… Java, Gaming Apps ∙ 5 days 15 hours back ∙ 19 proposals |