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. Convert empty object into asset/graphic

Convert empty object into asset/graphic

Scheduled Pinned Locked Moved Help and Support
16 Posts 6 Posters 3.3k 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.
  • LupoL Offline
    LupoL Offline
    Lupo
    wrote on last edited by
    #1

    I have made a prototype with empty objects only instead of using assets/graphics.
    But now I would like to replace the empty objects with graphics, but it comes a message that empty objects cannot be changed to graphics...
    How can I reuse all my behaviours of the empty objects to be applied to the graphics?
    I do not want to rewrite everything from scratch.

    Cryptic Level StudiosC 1 Reply Last reply
    0
    • LupoL Lupo

      I have made a prototype with empty objects only instead of using assets/graphics.
      But now I would like to replace the empty objects with graphics, but it comes a message that empty objects cannot be changed to graphics...
      How can I reuse all my behaviours of the empty objects to be applied to the graphics?
      I do not want to rewrite everything from scratch.

      Cryptic Level StudiosC Offline
      Cryptic Level StudiosC Offline
      Cryptic Level Studios
      wrote on last edited by
      #2

      @Lupo in the Main Editor, select the empty object and make sure it's Color Opacity is turned up to white 100%. Select Behaviors, then select Transform. Within Transform, select Set Graphic, then select New Graphic. You should then be prompted to choose a graphic for your empty object.

      iTap DevelopmentI 1 Reply Last reply
      0
      • Cryptic Level StudiosC Cryptic Level Studios

        @Lupo in the Main Editor, select the empty object and make sure it's Color Opacity is turned up to white 100%. Select Behaviors, then select Transform. Within Transform, select Set Graphic, then select New Graphic. You should then be prompted to choose a graphic for your empty object.

        iTap DevelopmentI Offline
        iTap DevelopmentI Offline
        iTap Development
        wrote on last edited by
        #3

        @Cryptic-Level-Studios and @Lupo, actually that doesn't work....empty objects cannot be changed to a graphic.

        Cryptic Level StudiosC 1 Reply Last reply
        0
        • iTap DevelopmentI iTap Development

          @Cryptic-Level-Studios and @Lupo, actually that doesn't work....empty objects cannot be changed to a graphic.

          Cryptic Level StudiosC Offline
          Cryptic Level StudiosC Offline
          Cryptic Level Studios
          wrote on last edited by
          #4

          @iTap-Development My mistake, I thought he wanted to "Apply" a graphic to his empty object, because he stated that he still wanted to use the behaviors of the empty object . . . if so, this method still works for me. I just tested it on two new empty objects, added behaviors, set a graphic, and good-to-go.

          Jack de WildeJ LupoL 2 Replies Last reply
          0
          • Cryptic Level StudiosC Cryptic Level Studios

            @iTap-Development My mistake, I thought he wanted to "Apply" a graphic to his empty object, because he stated that he still wanted to use the behaviors of the empty object . . . if so, this method still works for me. I just tested it on two new empty objects, added behaviors, set a graphic, and good-to-go.

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

            @Cryptic-Level-Studios I don't think set graphic works with empty objects.

            Jack de WildeJ 1 Reply Last reply
            0
            • Jack de WildeJ Jack de Wilde

              @Cryptic-Level-Studios I don't think set graphic works with empty objects.

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

              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'

              MurtazaM 1 Reply Last reply
              0
              • Jack de WildeJ Jack de Wilde

                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'

                MurtazaM Offline
                MurtazaM Offline
                Murtaza
                Admin
                wrote on last edited by
                #7

                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.

                Jack de WildeJ Aidan_FireA LupoL 3 Replies Last reply
                0
                • MurtazaM Murtaza

                  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.

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

                  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
                  0
                  • Jack de WildeJ Jack de Wilde

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

                    @Jack8680 how are you changing it?

                    Jack de WildeJ 1 Reply Last reply
                    0
                    • iTap DevelopmentI iTap Development

                      @Jack8680 how are you changing it?

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

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

                        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.

                        Aidan_FireA Offline
                        Aidan_FireA Offline
                        Aidan_Fire
                        wrote on last edited by
                        #11

                        @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
                        0
                        • Jack de WildeJ Jack de Wilde

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

                          @Jack8680 that's cool!

                          1 Reply Last reply
                          0
                          • Aidan_FireA Aidan_Fire

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

                            @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
                            0
                            • Cryptic Level StudiosC Cryptic Level Studios

                              @iTap-Development My mistake, I thought he wanted to "Apply" a graphic to his empty object, because he stated that he still wanted to use the behaviors of the empty object . . . if so, this method still works for me. I just tested it on two new empty objects, added behaviors, set a graphic, and good-to-go.

                              LupoL Offline
                              LupoL Offline
                              Lupo
                              wrote on last edited by Lupo
                              #14

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

                              1 Reply Last reply
                              0
                              • MurtazaM Murtaza

                                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.

                                LupoL Offline
                                LupoL Offline
                                Lupo
                                wrote on last edited by
                                #15

                                @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
                                0
                                • LupoL Lupo

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

                                  @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
                                  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