Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Help and Support
  3. Hyperpad CPU/Running Speed

Hyperpad CPU/Running Speed

Scheduled Pinned Locked Moved Help and Support
12 Posts 5 Posters 2.5k Views 3 Watching
  • 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 Offline
    F Offline
    Flame Games
    wrote on last edited by
    #1

    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
    0
    • F Offline
      F Offline
      Flame Games
      wrote on last edited by
      #2

      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.

      Jack de WildeJ 1 Reply Last reply
      0
      • F Flame Games

        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.

        Jack de WildeJ Offline
        Jack de WildeJ Offline
        Jack de Wilde
        wrote on last edited by
        #3

        @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
        0
        • F Offline
          F Offline
          Flame Games
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • Aidan_FireA Offline
            Aidan_FireA Offline
            Aidan_Fire
            wrote on last edited by
            #5

            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
            0
            • F Offline
              F Offline
              Flame Games
              wrote on last edited by
              #6

              Yes, they are all multiple objects.

              1 Reply Last reply
              0
              • MurtazaM Offline
                MurtazaM Offline
                Murtaza
                Admin
                wrote on last edited by
                #7

                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
                0
                • MurtazaM Murtaza

                  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 Offline
                  iTap DevelopmentI Offline
                  iTap Development
                  wrote on last edited by iTap Development
                  #8

                  @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
                  0
                  • iTap DevelopmentI 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 Offline
                    MurtazaM Offline
                    Murtaza
                    Admin
                    wrote on last edited by
                    #9

                    @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
                    0
                    • MurtazaM Murtaza

                      @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 Offline
                      iTap DevelopmentI Offline
                      iTap Development
                      wrote on last edited by
                      #10

                      @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
                      0
                      • iTap DevelopmentI iTap Development

                        @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 Offline
                        MurtazaM Offline
                        Murtaza
                        Admin
                        wrote on last edited by
                        #11

                        @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
                        0
                        • MurtazaM Murtaza

                          @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 Offline
                          iTap DevelopmentI Offline
                          iTap Development
                          wrote on last edited by
                          #12

                          @Murtaza ok!

                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Search