encountered a weird code glitch

0 favourites
  • 3 posts
From the Asset Store
Tweakable and easy to use effects for your projects.
  • Ok so If you were following my other post yes its from the same game that ive been working on. So I got the inventory to a anchor style because who doesnt like to anchor their UI. Anyway I got my selector and my arrow picker all working just perfect.

    Except for one small problem the Arrow picker is like 300px from where it should have been anchor after the anchor is enable. But it correct itself when I press down or up button.

    Which is ok for game mechanic goes but I would like if anyone can tell me why its doing that there like no event to tell to do that and I am even using strict variable to control it all with variables

    To see the glitch just move around open n close inventory a bunch of time and you will notice strange behavior with the arrow. cant pin down the problem or why its doing that.

    Is there a special event i need to add in-order to make it stop doing that ?

    heres the capx (https://www.dropbox.com/s/sjb07o9d3i24o ... .capx?dl=1)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have to put the origin Image-Point of your arrow in the middle, then it should work.

  • I cant use that origin in the middle because it will throw off my snap to grid and my other sprite for the Grid 32. this isnt the issue with Origin point. Even if i were to put it in the middle it wouldnt change the fact that its way off its location mark of where to anchor.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)