Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Text Animation Feature to TextMeshProMax #5

Open
kwan3854 opened this issue Dec 3, 2024 · 0 comments
Open

Add Text Animation Feature to TextMeshProMax #5

kwan3854 opened this issue Dec 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kwan3854
Copy link
Owner

kwan3854 commented Dec 3, 2024

Description

Introduce a text animation feature to TextMeshProMax to provide dynamic visual effects for text. The implementation direction is currently under consideration, and the goal is to balance flexibility, performance, and ease of use. Three potential approaches are being evaluated:

  1. Tag-Based + C# Scripting Support
    • Utilize tags within the text (similar to markup) combined with C# scripting to define and control animations.
    • Example: {move:x=100,y=50,duration=2s} or {fade:duration=1s} would trigger specific animations.
    • Pros: Intuitive for developers familiar with TextMeshPro's existing tag system.
    • Cons: Limited flexibility for complex or timeline-based animations.
  2. Support for External ASS or Similar File Formats
    • Enable compatibility with external subtitle/animation files such as ASS (Advanced SubStation Alpha) or other text animation formats.
    • Pros: Reuse of existing file formats and tools like Aegisub for animation design.
    • Cons: Adds a dependency on parsing external files, may require significant effort to integrate with Unity’s rendering pipeline.
  3. Custom Text Scripting Language
    • Develop a dedicated scripting language tailored for text-based games or advanced animation scenarios.
    • Pros: High flexibility and control, allows for features tailored to text-heavy applications (e.g., visual novels).
    • Cons: Higher development complexity and learning curve for users.

To-Do

  • Evaluate the trade-offs between these approaches in terms of performance, ease of integration, and user experience.
  • Determine the primary use case (general animations, text-heavy games, external tool compatibility).
  • Draft an initial implementation plan based on the chosen approach.
@kwan3854 kwan3854 added the enhancement New feature or request label Dec 3, 2024
@kwan3854 kwan3854 self-assigned this Dec 3, 2024
@kwan3854 kwan3854 moved this from Backlog to Ready in TextMeshProMax Dec 18, 2024
@kwan3854 kwan3854 pinned this issue Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready
Development

No branches or pull requests

1 participant