MonoGame-szabályok és mentések
Grafikai objektumoktól függetlenül tárolja az előrehaladást, és visszatöltés előtt ellenőrzi. Megtervezi a régi formátum átalakítását és megszakadt írás helyreállítását az előző használható mentés megőrzésével.
monogame-gameplay-save
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha sebzést, jutalmat vagy tartós előrehaladást valósítasz meg.
Miben segít neked?
- Stabil entitásazonosítót és kifejezett állapotátmenetet használ.
- Élő állapotcsere előtt ellenőrzi a mentett adatot.
- Megőrzi az előző érvényes mentést írási vagy migrációs hibánál.
Például ezt kérheted
A farmjáték növényeit, felszerelését és napszámát stabil azonosítókkal mentsd. Próbálj megszüntetett növény előtti mentést és félbeszakadt fájlcserét. Összefüggő világot állíts vissza, vagy mutass helyreállítási lehetőséget a játékos utolsó érvényes évadának csendes törlése nélkül.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
MonoGame — gameplay save
Use when implementing MonoGame rules, collision state, progression or versioned saves.
Version and project gate
Inspect Project and .NET target, MonoGame package/backend, Game loop settings, MGCB files/tool versions, content root, GraphicsProfile, platform libraries and existing screen/state architecture. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.
Work
Separate domain state from GraphicsDevice and Content objects. Use stable item/entity identifiers and explicit transitions for damage, death and rewards. Version persisted data and validate it before replacing live state. Keep a previous valid save during write/migration failure.
Deliver
A rules/save module whose behavior can be exercised without the renderer, plus clear recovery behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
Do not serialize graphics handles or treat client-local save data as authoritative online entitlement.
Acceptance scenario
Duplicate a hit event, reload an older save, interrupt a copied save write and restart without awarding a result twice. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.
Scope and sources
This skill belongs to Mox. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.
Csomagban lévő fájlok 1
SKILL.md
