Skip to content

hydekyle/MO-Legacy

Repository files navigation

RPG Maker System for Unity 3D

Unity Version License Odin Inspector

An event-driven state manager inspired by RPG Maker, bringing the classic RPG event system to Unity 3D.

🎮 Overview

The RPG System library is designed for developers who have worked with RPG Maker and want to implement a similar event system in Unity 3D. It provides a powerful and flexible way to create interactive events in your game world.

✨ Key Features

  • Event-Driven System: Create interactive events similar to RPG Maker
  • Multiple Pages: Each event can have multiple pages with different conditions
  • Condition System: Events trigger based on switches, variables, and local conditions
  • Action System: Execute various actions when events are triggered
  • Performance: Uses UniTask instead of Unity coroutines for better performance
  • Cross-Platform: Works in 3D, 2D, and VR environments
  • Save/Load: Seamless state management at runtime
  • Extensible: Easy to add custom functionality

🚀 Getting Started

Prerequisites

Installation

  1. Download the repository
  2. Open the Sample Scene in the Scenes folder
  3. Add the RPG Event component to any GameObject

🛠️ Core Components

RPGEvent

The main component that allows you to manage GameObjects like RPG Maker events. Each event can have multiple pages with different conditions and actions.

PageEvent

  • Multiple pages per event
  • Only one page active at a time
  • Condition-based activation
  • Customizable actions

Trigger Types

  • Touch: Activates when player touches the event
  • Interaction: Activates when player interacts with the event
  • Autorun: Automatically runs when conditions are met

Visual Features

  • Sprite display
  • Collision detection
  • Directional facing
  • Automatic sprite renderer and collider management

📦 Dependencies

🎯 Usage Example

Just add RPGEvent to any GameObject and you are ready to play with it!

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

Note: You will need a license for Odin Inspector to use this system.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📚 Documentation

For more detailed documentation, please refer to the Documentation folder.

👨‍💻 Author

Ayoze Manuel Fernández Acosta

MO is back.

About

Recreating RPG Maker System in Unity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published