Development of a 2D Casual Idle RPG Game Using Unity With Integrated Data Storage
Tóm tắt
Idle role-playing games (RPGs) on mobile platforms have become increasingly popular thanks to their low interaction cost and highly replayable progression loops. However, many casual idle RPG titles are implemented with ad-hoc architectures that make it difficult to extend gameplay systems and reliably persist player data across sessions and devices. This paper presents the design and implementation of a 2D casual idle Roguelike RPG developed using the Unity game engine with an integrated data storage mechanism. The game features an autobattle combat system, random skill selection on level-up, item and equipment management, and a lightweight event system for daybased in-run progression. From a technical perspective, we adopt a data driven architecture based on ScriptableObjects and JSON configuration files, combined local JSON file storage for offline persistence with cloud-based data storage through PlayFab for synchronized accounts. The paper describes the overall system architecture, core gameplay loops, combat and upgrade logic, as well as the data persistence layer. We also report evaluation results on performance (frame rate and memory usage) and user experience through small-scale playtests on Android devices. The proposed approach demonstrates that a modular datadriven design in Unity can support an extensible idle RPG while maintaining acceptable performance on low-end hardware and providing reliable player data storage