logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Hyperpad CPU/Running Speed

    Scheduled Pinned Locked Moved
    Help and Support
    5
    12
    608
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Flame Games
      last edited by

      Hi everyone,
      So recently I've been working a lot on my side scroller game. It has all been good until now. Whenever I open the editor it takes at least a minute. And sometimes the shapes of objects are becoming wierd, or they are going transperant.

      The game itself runs fine, smooth and simple. But the editor is running so slow that I'm struggling to build anymore.

      I've hardly even made any of the level, just the start.
      0_1503806647656_IMG_5788.PNG

      There is about a total of 1,200 Objects. If any knows how I can make the editor run faster I would really appreciate it.
      Cheers,
      Evolution.

      1 Reply Last reply Reply Quote 0
      • F
        Flame Games
        last edited by

        After finally managing to build a small cave, it only got worse. And I nearly jumped when I pressed object boundries and found this...
        0_1503814773099_IMG_5789.PNG
        I don't know why it's struggling to run, I'd be happy to share the project with someone else if it works better for them.

        Jack8680J 1 Reply Last reply Reply Quote 0
        • Jack8680J
          Jack8680 @Flame Games
          last edited by

          @Evolution 1200 objects doesn't sound too much, but it depends on their object types. That last screenshot looks really weird, do you have a collision with loads of points, or strange shaped collisions? I don't know if there's a way to speed up the editor, but for running the game itself:

          • if objects aren't doing anything, make them scenery rather than passable wall objects.
          • avoid importing large images and scaling their size; instead scale the image down outside of hyperPad.
          • avoid having large areas of blank space around your images; crop them where possible.
          1 Reply Last reply Reply Quote 0
          • F
            Flame Games
            last edited by

            I'll try your first suggestion, as it seems like the only normal thing to do.

            1 Reply Last reply Reply Quote 0
            • Aidan_FireA
              Aidan_Fire
              last edited by

              Rather than having tonnes of small objects, I would try to have a few big objects. Is your terrain made out of blocks? Are your trees made out of more than one object?

              1 Reply Last reply Reply Quote 0
              • F
                Flame Games
                last edited by

                Yes, they are all multiple objects.

                1 Reply Last reply Reply Quote 0
                • MurtazaM
                  Murtaza Admin
                  last edited by

                  The tips you've received so far are accurate.

                  The biggest one is the multiple objects being physics objects. The physics engine does a lot of calculations, and if your objects don't need physics then make them scenery. Even Wall objects are a bit better since the engine does optimized calculations for them. But in general avoid having too many physics based objects.

                  A lot of empty space around your graphics takes up more resources as well. You should crop them to be as tight as possible around your main graphic. Because even though there is nothing there, the graphics engine still processes that information.

                  iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                  • iTap DevelopmentI
                    iTap Development @Murtaza
                    last edited by iTap Development

                    @Murtaza if they are scenery objects, would making something with say 5 be worse than with one? Would it make a big difference on a large scale?

                    MurtazaM 1 Reply Last reply Reply Quote 0
                    • MurtazaM
                      Murtaza Admin @iTap Development
                      last edited by

                      @iTap-Development
                      I'm not sure what you mean exactly. Can you elaborate?

                      The performance savings with scenery objects are the lack of physics calculations and collision calculations.
                      Even with scenery objects you should still avoid very large graphics, large/empty transparent spaces etc.

                      iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                      • iTap DevelopmentI
                        iTap Development @Murtaza
                        last edited by

                        @Murtaza sorry I’d didn’t say that clearly. What I mean is, if you make a character or, like @Evolution, a terrain with trees and such...will making them out of multiple SCENERY objects have much performance difference than making them with one?

                        MurtazaM 1 Reply Last reply Reply Quote 0
                        • MurtazaM
                          Murtaza Admin @iTap Development
                          last edited by

                          @iTap-Development

                          I don't think it would make much of a noticeable difference. But that depends on your game, in some situations you may already pushing the limits and certain changes may make a bigger impact on your overall game.

                          iTap DevelopmentI 1 Reply Last reply Reply Quote 0
                          • iTap DevelopmentI
                            iTap Development @Murtaza
                            last edited by

                            @Murtaza ok!

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post