ImagePlus
API mod that adds more image formats

от SMJS
Store data alongside a level
Level Storage API — мод для Geometry Dash (Геометри Даш) от автора SMJS. Store data alongside a level
Его скачали 445,9 тыс. раз: это 84-е место среди модов Geometry Dash в нашем каталоге, редкость — «редкий» (топ-50% по скачиваниям). Мод обновлялся в последние полгода, актуальная версия — 1.0.6.
Дополнительных модов для работы не требует.
Текст автора на языке оригинала
An easy to use way to store information within a level without using objects!
It is stored per mod in JSON that is stored in the level data.
All of these must be called after the class init has been called.
The Mod* param is defaulted to Mod::get() so you are accessing your own save container. You can access another mod's save container by passing in their Mod*.
The layer param must be LevelInfoLayer, EditLevelLayer, PlayLayer, LevelEditorLayer, or EditorUI.
To get a saved value:
template
T alpha::level_storage::getSavedValue(CCLayer* layer, ZStringView key, Mod* mod);
To get all saved values:
matjson::Value& getSaveContainer(CCLayer* layer, Mod* mod);
To set a value:
void setSavedValue(LevelEditorLayer* layer, ZStringView str, const matjson::Value& value, Mod* mod);
class $modify(MyLevelEditorLayer, LevelEditorLayer) {
bool init(GJGameLevel* level, bool noUI) {
if (!LevelEditorLayer::init(level, noUI)) return false;
int openedCount = alpha::level_storage::getSavedValue(this, "opened-count");
alpha::level_storage::setSavedValue(this, "opened-count", openedCount + 1);
return true;
}
};
Since levels are downloaded and the data is with that downloaded level, you can't simply have the information ready in init, so this API provides a way to do so. The callback runs whenever the level string is available. So if the level is already downloaded, it will run in init. If it is not downloaded it will run when it is downloaded.
Note that this can be called multiple times, as it runs every time the level is downloaded, such as after a refresh, so be sure to handle any cleanup neatly.
void waitForLevel(LevelInfoLayer* layer, std::function&& callback);
class $modify(MyLevelInfoLayer, LevelInfoLayer) {
bool init(GJGameLevel* level, bool challenge) {
if (!LevelInfoLayer::init(level, challenge)) return false;
alpha::level_storage::waitForLevel(this, [this] {
int openedCount = alpha::level_storage::getSavedValue(this, "opened-count");
log::info("opened count: {}", openedCount);
});
return true;
}
};
Internally, this mod uses the Guidelines string to add data. This is carefully set up such that there is no crashes even in vanilla without the mod.
This mod is an official continuation of the Level Storage API mod from Alphalaneous. SMJS now maintains the mod.
Файл скачивается с официального сервера Geode, без перезаливов и сторонних установщиков
Подробная инструкция для Geometry DashВставьте значок в описание на Geode, в README или в Discord — русскоязычные игроки сразу попадут на страницу с переводом и инструкцией.
[](https://modka.app/geometry-dash/alphalaneous-level-storage-api/)<a href="https://modka.app/geometry-dash/alphalaneous-level-storage-api/"><img src="https://modka.app/badge.png" alt="Описание на русском — Модка" height="44"></a>[url=https://modka.app/geometry-dash/alphalaneous-level-storage-api/]Описание на русском — Модка[/url]Скачайте установщик Geode с официального сайта geode-sdk.org и запустите его — он сам найдёт Geometry Dash. На Android ставится приложение Geode Launcher с того же сайта. Запустите игру: внизу главного меню появится кнопка Geode. Нажмите её, откройте вкладку Download и найдите «Level Storage API» поиском (название — как на странице мода у нас). Нажмите установку, затем перезапустите игру, когда Geode попросит. Настройки мода открываются там же — кнопкой с шестерёнкой на карточке мода.
Файл скачивается с официального сервера Geode, куда его загрузил SMJS. Мы не перезаливаем и не изменяем моды.
27 сентября 2026, актуальная версия — 1.0.6. Дата берётся с официальной страницы мода при каждом обновлении каталога.
API mod that adds more image formats
API for editor tabs
Miscellaneous utilities for Geode Modding
API for working with level files (.gmd)
API mod to integrate badges & optimizing UI
Allows mods to easily add custom stats into the icon kit