greenleafvt's Recent Forum Activity

  • So I'm having some weird results with mirroring an object behind a multiply effect. The middle has the image not overlapping completely and you can see the background image is loading the correct direction but goes in revers when it is covered like in the other image. What could be causing this effect?

    Guessing its the on overlap function but how can it be fixed?

    drive.google.com/file/d/1PyuX-mKy704IQqMOfnkm9q0gNipkfAde/view

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • OK I'll try that. I'll see if I can fix it in a simple version. I stripped down the 36 other layouts in the on the project to post this problem but their are lots of "leftovers" - sorry about that. Thanks for taking a look.

  • Thanks dop2000

    So this should probably be a new thread but I tried moving the top right charm_multiuply and its loading the right image however if you look at the bottom right bird its as soon as the multiply covers the correct image it flips the displayed image back. Is this an error in construct. Has anyone else experienced this?

    Updated CAPS

    drive.google.com/file/d/18GHbtNOVJTcQ7y4ZNo6p7MRL7UGwjg1x/view

  • "This is one of the most popular questions here"

    Yeah I have have had problems with it a few times :)

    Figured some of it out. Thanks Dop2000. I Think using IID is not the best practice. Ended up passing some variables through another holder sprite. And it works however I am getting a weird result with mirroring the color sprite I was using underneath the "charm" Seems like even when mirrored it wants to display in the other direction as well and You get this weird image ripping effect.

    See the attached picture:

    Also what would be a more elegant way of doing this:

    drive.google.com/file/d/1h77J33J8Omd9qe1rD_EupFdYRkJpHBuo/view

  • So I have a sprite that is part of a instance group of itself. 4 instances per group.

    Example:

    1 2

    3 4

    5 6

    7 8

    I have a group_id variable for each set. and 1 and 5 have a Var1 = -1 all the others have -2

    I made all instances with a var-1 set to a random number that corresponds to a animation frame.

    I want to instances 2,3,4 to copy the random 1 frame

    6,7,8 copy 5

    Trying to make the var=-2 just copy the random value var=-1 creates

    Can make it work easy using two different sprites but is their a way to do it with one sprite? Some operations with the 2 sprite method are not working. Example: mirror and flip - when copying the animation frame VS making another sprite with all the same frame and doubling the project size. It would make my project development much smoother to use just the one sprite that could be used with behaviors or modified in additional ways with more variables in one sprite.

  • OK that worked. Thank you! I didn't get good results when I first tried it but I realized that you have to enable collisions for every instance VS just the master and it worked great.

    Haven't had any problems with the C3 runtime but I will set it back to C2 if you think that makes things more stable.

    Thanks.

  • Hmmm yeah going to try that. Not sure how the collisions got turned off. So if I don't have have an event in an on start of layout it happens every tick - so its constantly pinning the sprite thats why it wont work? Didn't know that.

    "Finally, why are you using Construct 3 runtime for this game? It doesn't even support debug mode."

    Construct 3 has a debug mode - its hidden under the play button drop down, or are you saying that it will show up in debug better if its in the onload function

    Thanks

    Nope, and tried selecting on Group_ID that they both share...

    Duped BALL1 and it works fine with multi instances of that so something must be wrong with BALL2

    All items have collisions on now too.

  • Not Working. Tried pick all - ball2 +overlapping PACKSelector and it still wont pin.

    Tried even pick all - ball2 without any conditions and it wont pin to PACKSelector :(

    I'm going to go through the whole event sheet something else must be happening. Also its interesting that he other codes work for BALL1 and the Post... Though it might be because of the multi instance of BALL2 to but post has the same and it works.

    Thanks for checking

  • So I have 3 objects:

    2 balls and 1 post all different objects.

    I have a box sprite I want to pin them too. The first two objects work fine but with the same logic (overlapping) the 2nd ball just wont pin.

    Also tried with group ID var to see if I couldn't get it to pin using a same var number an still is buggy.

    Any suggestions?

    Thanks

    Cp3 Attached

    drive.google.com/file/d/1iVP5Miy28SjXCl9n8n0hsiB7m_Cw9wQZ/view

  • Not sure if I understand you correctly. But sounds like maybe you should look into the global checkbox on the properties panel for the objects you want to make the same on duplicate layouts?

  • Thanks Maverick,

    Figured out how to use the "Selected item text" and that works fine.

    So if "Selected item text" = "Layout 1" / SYSTEM goto Layout 1

  • Hey Sqiddster, can you update the link its broken. Interested in how you did this.

greenleafvt's avatar

greenleafvt

Member since 23 Apr, 2015

None one is following greenleafvt yet!

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies