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

Video Plugin Enhancements #478

Open
2 tasks done
CrackHub opened this issue Feb 20, 2025 · 0 comments
Open
2 tasks done

Video Plugin Enhancements #478

CrackHub opened this issue Feb 20, 2025 · 0 comments

Comments

@CrackHub
Copy link

Reviewed guidelines

  • I have read and understand the suggestion guidelines

Checked for duplicate suggestions

  • I checked for existing similar suggestions

Summary

Currently, video plugin is too limited. I'm using a spritesheet for animations, but all the animations combined take up around 15 MB. I tried using transparent WebM, and the size was reduced to about 1.5 MB. This is really powerful because online platforms like Poki and CrazyGames want the game size to be under 5-10 MB. It’s really challenging to create quality games with these limitations.

Ref: https://www.construct.net/en/forum/construct-3/general-discussion-7/issue-spritesheet-size-pixel-185379

Why we need?
We want create high quality games but some features really limited in C3.

For Example: Good Job Games using video animations for this scenes. You can't use spritesheet for this, it is waste of memory.
https://youtu.be/dWGPunHZgzw?feature=shared&t=14

Possible workarounds or alternatives

I don't think there is any alternative. I don't want to lose quality. I'm trying to change sprites with videos where possible.

Proposed solution

  • Change origin point in properties panel (Like TiledBG) (This is really important making tweens easy with center origin)
  • Set looping mode in properties panel
  • Support Hierarchy
  • Play Reverse (Play Video Backwards)
  • Stop video (Currently set resource action with empty parameter "" will do this)
  • Load/unload actions for memory management
  • Play/Pause videos with tags (Different from "Change tags" action) (This is for what video running currently. We can do this using instance variables but it takes extra steps. This will helpfull if it supports in plugin. It looks like sprite plugin has "change animation" action)

Why is this idea important?

  • Reduce game size
  • Reduce RAM usage
  • Easy deal with online platforms

Additional remarks

This is not really fix: #319 (comment)

Alternatively, you can tell me to use animation creation tools like Spine. However, it requires a lot of things to learn.
To give an example; https://assetstore.unity.com/packages/3d/characters/creatures/monsters-ultimate-pack-01-cute-series-167028
Many assets like here come with ready-made animations and all I have to do is export them as videos. Then I want to use them in the game without any performance loss. For example, it is very suitable for puzzle and idle games. And videos really reducing download size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant