RPG Crisis Community Forums: Gadget And Layer question - RPG Crisis Community Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Gadget And Layer question Gadget movement

#1 User is offline   weapon121 

  • Member
  • PipPip
    • Group: Members
    • Posts: 20
    • Joined: 20-August 10
    • LocationTampa, FL
    • Time Online: 1h 5m 53s

    LEVEL: 3
    HP: 0/160
    Hit Points
    MP: 1/50
    Magic Points
    EXP: 33%
    Experience
    RANK: NOVICE

    Posted 22 November 2010 - 02:47 PM

    Hello

    Are all Gadgets automaticly linked to the first layer? I created a simple animated tree to place on layer 3. However, once the layer starts scrolling the tree scrolls along at the speed of the first layer instead of Layer 3's speed. Im stumped, is this by design?

    Any replies would be appreciated, thx in advance :)
    0

    #2 User is offline   telles0808 

    • Advanced Member
    • PipPipPip
      • Group: Members
      • Posts: 58
      • Joined: 30-June 10
      • Time Online: 3h 25m 52s

      LEVEL: 5
      HP: 3/300
      Hit Points
      MP: 7/120
      Magic Points
      EXP: 32%
      Experience
      RANK: NOVICE

      Posted 22 November 2010 - 03:54 PM

      weapon121, on 22 November 2010 - 02:47 PM, said:

      Hello

      Are all Gadgets automaticly linked to the first layer? I created a simple animated tree to place on layer 3. However, once the layer starts scrolling the tree scrolls along at the speed of the first layer instead of Layer 3's speed. Im stumped, is this by design?

      Any replies would be appreciated, thx in advance :)


      First you need to check if you placed it really on layer 3. another thing if how you configures his gadget, it's static, with no conditional? try to change his speed for something like the layer speed, another thing is about it to export in flash, it will bug, be careful
      0

      #3 User is offline   weapon121 

      • Member
      • PipPip
        • Group: Members
        • Posts: 20
        • Joined: 20-August 10
        • LocationTampa, FL
        • Time Online: 1h 5m 53s

        LEVEL: 3
        HP: 0/160
        Hit Points
        MP: 1/50
        Magic Points
        EXP: 33%
        Experience
        RANK: NOVICE

        Posted 22 November 2010 - 04:36 PM

        telles0808, on 22 November 2010 - 03:54 PM, said:

        First you need to check if you placed it really on layer 3. another thing if how you configures his gadget, it's static, with no conditional? try to change his speed for something like the layer speed, another thing is about it to export in flash, it will bug, be careful



        Yes, Ive placed it on all available layers. It shows correctly on whatever layer I place it on, so it is covered by whatever layer is in front of it. However, the gadget scrolls as if on the first layer. It is animated, but it has no conditional whatsoever, since it only has one action. When you say speed, do you mean the speed under
        the action tab "under movement speed" ? if so, Ive tried everything from 0-100...still with the same results.
        0

        #4 User is offline   telles0808 

        • Advanced Member
        • PipPipPip
          • Group: Members
          • Posts: 58
          • Joined: 30-June 10
          • Time Online: 3h 25m 52s

          LEVEL: 5
          HP: 3/300
          Hit Points
          MP: 7/120
          Magic Points
          EXP: 32%
          Experience
          RANK: NOVICE

          Posted 23 November 2010 - 01:14 PM

          humm, I see, it really look like a glitch.
          0

          #5 User is offline   crayonbako 

          • Member
          • PipPip
            • Group: Members
            • Posts: 21
            • Joined: 11-November 10
            • LocationCanada
            • Time Online: 2h 23m 4s

            LEVEL: 3
            HP: 0/160
            Hit Points
            MP: 2/50
            Magic Points
            EXP: 40%
            Experience
            RANK: NOVICE

            Posted 23 November 2010 - 05:08 PM

            Have you tried making the gadget's Layer for Display match the layer you put it on in the Canvas?

            That is, if you have it on layer 2 on the canvas, make sure its Layer for Display is also set to 2?
            0

            #6 User is offline   weapon121 

            • Member
            • PipPip
              • Group: Members
              • Posts: 20
              • Joined: 20-August 10
              • LocationTampa, FL
              • Time Online: 1h 5m 53s

              LEVEL: 3
              HP: 0/160
              Hit Points
              MP: 1/50
              Magic Points
              EXP: 33%
              Experience
              RANK: NOVICE

              Posted 23 November 2010 - 06:46 PM

              crayonbako, on 23 November 2010 - 05:08 PM, said:

              Have you tried making the gadget's Layer for Display match the layer you put it on in the Canvas?

              That is, if you have it on layer 2 on the canvas, make sure its Layer for Display is also set to 2?




              sadly, yes....The only workaround I found was actually scrolling the gadget to the right and left at a certain speed that matches the speed of the layer, whenever the player character is moved. This gives the impression that it is scrolling with the specific layer, howeveer, if the player runs into a wall and the layers stop moving, the gadget continues to scroll towards the pressed direction...

              i tried with the supplied gadgets in the demo files, and it also does the same....so im guessing its by design. Can anyone else confirm this with their own copies?
              0

              #7 User is offline   telles0808 

              • Advanced Member
              • PipPipPip
                • Group: Members
                • Posts: 58
                • Joined: 30-June 10
                • Time Online: 3h 25m 52s

                LEVEL: 5
                HP: 3/300
                Hit Points
                MP: 7/120
                Magic Points
                EXP: 32%
                Experience
                RANK: NOVICE

                Posted 24 November 2010 - 08:31 AM

                you're right, I never did something like this before, so, I was not prepared to answer you right. After looking around, I learned a little more about this glitch and your workaround will work perfectly if you do some "next poses" where you detect when the player "will collide" with a wall, telling the "tree" to stop moving, etc.

                I'm certain that the gadgets are not for use without interaction with the player, so, everything with interaction with the player will keep his config aspect, speed, etc.

                Like I said here:

                Quote

                First you need to check if you placed it really on layer 3. another thing if how you configures his gadget, it's static, with no conditional? try to change his speed for something like the layer speed, another thing is about it to export in flash, it will bug, be careful


                and looking what you did to workaround, I think this is the only way to make your workaround.

                In the player gadget, do the follow steps.
                - Pose:
                * "colliding with a wall";
                - next action for every other poses from this one will have the condition of "next step hit a wall" or "collided with a wall";

                When in "colliding with a wall" make this pose to chance a switch, Switch "Collided", so, in the tree gadget, make it to move to right/left like you did, using the same speed, etc, and now, make a next action to stop, with the condition looking for that switch.

                I think this will solve your problem.

                Animated trees maybe looks nice, I understand why you would use it =]
                0

                #8 User is offline   weapon121 

                • Member
                • PipPip
                  • Group: Members
                  • Posts: 20
                  • Joined: 20-August 10
                  • LocationTampa, FL
                  • Time Online: 1h 5m 53s

                  LEVEL: 3
                  HP: 0/160
                  Hit Points
                  MP: 1/50
                  Magic Points
                  EXP: 33%
                  Experience
                  RANK: NOVICE

                  Posted 24 November 2010 - 08:40 AM

                  telles0808, on 24 November 2010 - 08:31 AM, said:

                  you're right, I never did something like this before, so, I was not prepared to answer you right. After looking around, I learned a little more about this glitch and your workaround will work perfectly if you do some "next poses" where you detect when the player "will collide" with a wall, telling the "tree" to stop moving, etc.

                  I'm certain that the gadgets are not for use without interaction with the player, so, everything with interaction with the player will keep his config aspect, speed, etc.

                  Like I said here:



                  and looking what you did to workaround, I think this is the only way to make your workaround.

                  In the player gadget, do the follow steps.
                  - Pose:
                  * "colliding with a wall";
                  - next action for every other poses from this one will have the condition of "next step hit a wall" or "collided with a wall";

                  When in "colliding with a wall" make this pose to chance a switch, Switch "Collided", so, in the tree gadget, make it to move to right/left like you did, using the same speed, etc, and now, make a next action to stop, with the condition looking for that switch.

                  I think this will solve your problem.

                  Animated trees maybe looks nice, I understand why you would use it =]



                  Cool, its good to know Its by design then. Cool Ill create that extra pose to complete my workaround, ill let you know how it turns out...THX!
                  0

                  #9 User is offline   crayonbako 

                  • Member
                  • PipPip
                    • Group: Members
                    • Posts: 21
                    • Joined: 11-November 10
                    • LocationCanada
                    • Time Online: 2h 23m 4s

                    LEVEL: 3
                    HP: 0/160
                    Hit Points
                    MP: 2/50
                    Magic Points
                    EXP: 40%
                    Experience
                    RANK: NOVICE

                    Posted 30 November 2010 - 07:55 PM

                    I've been messing around with layers myself recently, and run into a similar problem as you have, weapon121. If your work-around is too time-consuming, you might want to consider making the trees into animated tiles, rather than gadgets. That way they will move with the layer at the correct speed.

                    I'm currently having trouble with gadgets on the same layer as the Player. Does anyone know if there is a way to force a gadget on the Player's layer to be in front or behind?
                    That is, if you have an NPC who the player can talk to on the same layer as the Player, is it possible to make the NPC always clip behind the Player?
                    As far as I can tell, the gadget being in front or behind the Player is completely random, which is very frustrating.
                    Any thoughts?
                    0

                    #10 User is offline   telles0808 

                    • Advanced Member
                    • PipPipPip
                      • Group: Members
                      • Posts: 58
                      • Joined: 30-June 10
                      • Time Online: 3h 25m 52s

                      LEVEL: 5
                      HP: 3/300
                      Hit Points
                      MP: 7/120
                      Magic Points
                      EXP: 32%
                      Experience
                      RANK: NOVICE

                      Posted 01 December 2010 - 03:33 AM

                      crayonbako, on 30 November 2010 - 07:55 PM, said:

                      I've been messing around with layers myself recently, and run into a similar problem as you have, weapon121. If your work-around is too time-consuming, you might want to consider making the trees into animated tiles, rather than gadgets. That way they will move with the layer at the correct speed.I'm currently having trouble with gadgets on the same layer as the Player. Does anyone know if there is a way to force a gadget on the Player's layer to be in front or behind?That is, if you have an NPC who the player can talk to on the same layer as the Player, is it possible to make the NPC always clip behind the Player?As far as I can tell, the gadget being in front or behind the Player is completely random, which is very frustrating.Any thoughts?

                      hello crayon,

                      that case is not about tiling with animated tiles, but to have a iteration between gadget and player later, like the player exploding the tree.

                      Your problem is not random, it's clear defined. Do you know the origin point?

                      The most lower point will appear in the front, the most higher will appear behind the gadget.

                       Untitled-1.png (251.13K)
                      Number of downloads: 1
                      0

                      • IG Maker

                      Share this topic:


                      Page 1 of 1
                      • You cannot start a new topic
                      • You cannot reply to this topic

                      1 User(s) are reading this topic
                      0 members, 1 guests, 0 anonymous users