Video player



  • I think you should have video players in the HyperPad editor. It woruld be cool as some people may chose to animate cutscenes rather than make them in HyperPad. I think videos should be like particles and have options wether they start on play or not.


  • Admin

    Bit confused on what you're asking here. Do you want to play videos in the editor, or from within your project when it's playing?

    We've had this request before. And the main reason why we haven't added it is because we don't see many people using it, or using it very well.
    Your idea of cutscenes is cool, but most people struggle with making a game, let alone creating a video cut scene! That's pretty challenging. Then comes the problem of importing videos, formats and codecs to support. File sizes is another huge problem...

    As it is right now, a lot of our users are not using still images correctly.. Don't think video would help. Not now at least.

    It is a good idea though, and something we'd like to revisit in the future.



  • @Murtaza some for documentation on how to use images correctly would actually be useful!
    I feel like I don't actually know how to use images correctly.


  • Admin

    @iTap-Development Well, we do have page on supported asset types:

    Which does pretty much explain most things that you need to know.
    The main points are that you should design for retina and make everything fit in a retina screen.

    Though what's not included is things like:

    • Avoid large empty areas around your graphic. Try to crop as close as possible to your object removing any empty transparent space.
    • Avoid very large graphics.
    • Avoid large graphics for particle.


  • @Murtaza ok thanks! I didn't realize this page was there! I guess I should've looked closer!



  • @Murtaza would using sprite sheets also let you spawn more objects without as much lag?



  • I do think hyperpad should have the option to set the resolution of images numerically (the crop feature doesn't allow you to be precise). Perhaps the last crop size should be stored too, to make the process quicker when dealing with multiple images. Or perhaps a (apply to all frames) option?


  • Admin

    @iTap-Development said in Video player:

    @Murtaza would using sprite sheets also let you spawn more objects without as much lag?

    Yes and no. It depends on how you're doing animations. If you do the "add animation" function from the asset library, then no. Since hyperPad will create a sprite sheet for you when you do this.

    If you're just using the Play animation behaviour and adding each image individually from the asset library you may notice some performance improvements. What happens is instead of loading each image into memory one by one when needed, it will load the entire sprite sheet at the beginning of the level load.
    This increase load times, but decreases any performance hiccups.

    @Hamed will correct me if I'm wrong though (which is possible) :)

    @TutorialDoctor said in Video player:

    I do think hyperpad should have the option to set the resolution of images numerically (the crop feature doesn't allow you to be precise). Perhaps the last crop size should be stored too, to make the process quicker when dealing with multiple images. Or perhaps a (apply to all frames) option?

    Interesting idea. Can you make this a separate post so it's easier to find/see later?
    Thanks!



  • @Murtaza ok thanks!


  • Admin

    @Murtaza said in Video player:

    If you're just using the Play animation behaviour and adding each image individually from the asset library you may notice some performance improvements. What happens is instead of loading each image into memory one by one when needed, it will load the entire sprite sheet at the beginning of the level load.
    This increase load times, but decreases any performance hiccups

    This is mostly true, but having it not but a single image is better. It takes up less memory when it is setup as a sprite sheet (I forget what we call this in the asset library... i think its an animation?) because there are optimizations in place to use as much space as possible.