Mazdakfx's Forum Posts

  • Thank you Seasky

    I meant use animation for Item not for new sprite you add! Sure, you are right, it's gona be weird if each item have defferent size, my plan is the same sazi for all items.

    New sprites has to be defferent for each item.

    Also when one of ithems is open, you can't close it without openning the other one?!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Why I don't have Ajax and Function in my object list?!!

  • Seasky

    Thank you.

    If you change sprite frame when it touched, it's gona fix stretch.

    For example, Frame 0>> Ysize=64, and Frame 1>> Ysize= 128>> on touch change animation to frame 1.

    One more thing, when item A is open and item B touched, close item A and open item B,...

    Also I need to pin different sprites in left side of item (instead of Text_Item) as you can see in my screen shot in first page.

    Regards

  • Seasky

    Great job, well done.

    Just one more thing! As I said I need to use image instead of 9_patch, one image for open menu and one for close menu, is there any way to do that?

  • shirokuma

    Yes, there is an strange bounce on close time!

    Actually I think it need too much time to change it! Isn't it better to get back to your way and find a short way for that?

  • It looks great, let see how can add sprite to it as a button!

  • Thank you very much shirokuma

    I just changed 9-patch to sprite becouse I have some image to use in menu,

    Let's just look for easiest way to code that, I have at least 6X10 menu to code, and you can imagine how much time it takes!

    Get back to work please, see you after work

  • One more thing! If there is 20 menu items, do We have to set events for them one by one? Isn't there any short way?!

  • What if I want to use image or animation for menu?

  • May I ask why did you use 9-patch instead of sprite?

  • Something like that, but it has to be a better way!

    Buy sprite is invisible but still is touchable!

    I know you are working right now and I don't want to bother you, lets do it after work!

  • sure, store menu when you choosing Clothes, Jetpack,... then you going next layout, That is the menu what I'm looking for!

  • shirokuma

    Thank you, I did that already!

    But it's not what i meant. Actually I want something like "Jetpack Joyride" menu.

    https://itunes.apple.com/en/app/jetpack-joyride/id457446957?mt=8[/code:pwhx2bnq]
    I made first and second layout but the 3rd one is accordion menu and it also need swap when it's longer than screen.
  • What if it have some sprite pin on it and shows when height changes?!

  • shirokuma

    Do you have any idea?