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

    Convert empty object into asset/graphic

    Scheduled Pinned Locked Moved
    Help and Support
    6
    16
    969
    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.
    • MurtazaM
      Murtaza Admin @Jack8680
      last edited by

      Currently no way to do it within the app. We've discussed adding this functionality, but never really concluded on it (requires some interface changes, and some work on how the app handles the object).

      @Jack8680 said in Convert empty object into asset/graphic:

      It is possible to edit the level.sqlite file inside the .tap file and change the object type of each of the empty objects, but I don't know how safe this is.
      @administrators could the following query be a problem? It works in my test project with a single empty object with some behaviours:
      UPDATE ZOBJECTDATA
      SET ZOBJECTTYPE = 'Graphic'
      WHERE ZOBJECTTYPE = 'Empty'

      This will do it, and should be completely safe.

      Jack8680J Aidan_FireA LupoL 3 Replies Last reply Reply Quote 0
      • Jack8680J
        Jack8680 @Murtaza
        last edited by

        In that case, if anyone wants all their empty objects converted to graphics, message me a link to the project and I'll do it for you.

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

          @Jack8680 how are you changing it?

          Jack8680J 1 Reply Last reply Reply Quote 0
          • Jack8680J
            Jack8680 @iTap Development
            last edited by

            @iTap-Development the .tap file is actually a zip file with a different name, so I open it as a zip and then open the level.sqlite file and run the above query to replace all the 'Empty' object types with 'Graphic'.

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

              @Murtaza Maybe just add a way to copy all the behaviours over to another object, could allow highlighting a bunch of behaviours, copying them and pasting them somewhere in that object or another object?

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

                @Jack8680 that's cool!

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

                  @Aidan-Oxley said in Convert empty object into asset/graphic:

                  @Murtaza Maybe just add a way to copy all the behaviours over to another object, could allow highlighting a bunch of behaviours, copying them and pasting them somewhere in that object or another object?

                  This kind of suggestion sounds simple in theory. But it's actually really difficult just because HyperPad is so big.
                  It takes months of planning and development to make sure it's happening safely and your behaviours or objects don't get deleted or corrupt in the process.

                  Additionally UI is very difficult. One of the hardest parts of making HyperPad is coming up with a UI that works on iPad where it is easy to understand, doesn't get in your way, is useful and doesn't look bad. All while not taking a very very long time to develop/ without changing the entire interface and use experience.

                  There's a lot of stuff like this we want to add... we just haven't come up with the best way of making it usable by users.

                  1 Reply Last reply Reply Quote 0
                  • LupoL
                    Lupo @Cryptic Level Studios
                    last edited by Lupo

                    @Cryptic-Level-Studios Solution would be good but unfortunately doesn't work (just tested)

                    1 Reply Last reply Reply Quote 0
                    • LupoL
                      Lupo @Murtaza
                      last edited by

                      @Murtaza In GamePress you could easily set a new graphic to an empty object. I don't understand why this is not available the same way in Hyperpad? What is the issue to set a graphic to an empty object?

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

                        @Lupo HyperPad isn't GamePress. It was rewritten from scratch. Certain changes were made for performance reason, and other changes for usability.

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