jance0405's Recent Forum Activity

  • Im also looking for a tutorial

  • I dont know if its correct but you can buy Andreas R template. He has everything what you are looking for.

    Btw, i have the same problem as yours, also been looking for a tutorial for Google Play Leaderboard this past few weeks but mostly outdated or paid tutorial (template).

  • I think they close the registration on their website. Any update?

  • > Hello, can you explain the "Link" and "Image/File"

    >

    > can i import a png file on my capx then use it to that "Image/File". If yes, how can i do that exactly?

    >

    > Image/File: "Logo.png" <<<<< is this correct?

    >

    > If i cant do that. Can i upload the logo on facebook then put the link on "Image/File"?

    >

    You must use the image path or an url, like "www/Logo.png" or "https://www.yourhosting.com/logo.png"

    I guess it is better to upload my picture on a website

    and by the way, what is an ideal size for the image?

  • Is there any complete tutorial for Google Playstore Leaderboard?

  • Hello, can you explain the "Link" and "Image/File"

    can i import a png file on my capx then use it to that "Image/File". If yes, how can i do that exactly?

    Image/File: "Logo.png" <<<<< is this correct?

    If i cant do that. Can i upload the logo on facebook then put the link on "Image/File"?

  • Still hoping for a solution........

  • >

    > > Just use a for loop and name your loops

    > >

    > > For "loop1" from 1 to 12000 -> for "loop2" from 1 to 12000 -> if sprite2.animationframe = loopindex("loop1") -> if sprite1.animationframe = loopindex("loop2") -> do this

    > >

    >

    > Thank you but it doesnt work.

    >

    Why doesn't it work?

    The only frames being compared is from sprite1 frame 0 and sprite2 frame 1

  • > i think there is no other way but to compare it 1 by 1

    >

    Might not

    Depends on what you are trying to achieve.

    The only reason I can see you wanting to use the | expression, is if you wanted to compare both sprites, like this:

    Sprite1.frame = 0 | Sprite1.frame = 1 = Sprite2.frame = 0 | Sprite2.frame = 1

    But in most cases I would still think using simple conditions like "Is between" and basic "Sprite1.Frame = 0" would make it easier to work with. Personally I haven't used | a lot, as I haven't really run into something where it would be extremely useful, but maybe someday

    I dont understand that "Is Between" can you make a capx for me

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > I tried this | "Pipe" symbol, construct 2 accepts it but when i run it, the other frames doesn't work.

    >

    > Example:

    >

    > Event:

    > sprite1frame = 0

    > sprite2 frame = 0 | 1 | 2 | 3 | 4 | 5

    >

    > Action:

    > System go to layout 2

    >

    > On this example, only the frame 0 of sprite1 and frame 1 of sprite2 will work. The other frames seems to not work

    >

    Its because you think the | works in a different way than it does.

    The | will return true or false depending on whether one of the Or conditions are correct.

    So it should look like this:

    If Sprite.frame = 0 | Sprite.frame = 1 | Sprite.frame = 2

    = 1

    Then it will return true and therefore condition is true as well. If Sprite.frame is not 0, 1 or 2 then it will return false.

    So its not a functionality where you can ask in the sense of whether Sprite.frame is 0,1,2.....100 and if that's that the case do something. Well you can but you have to write it as I did above and compare it to either 0,1 (False, True)

    i think there is no other way but to compare it 1 by 1

  • I tried this | "Pipe" symbol, construct 2 accepts it but when i run it, the other frames doesn't work.

    Example:

    Event:

    sprite1frame = 0

    sprite2 frame = 0 | 1 | 2 | 3 | 4 | 5

    Action:

    System go to layout 2

    On this example, only the frame 0 of sprite1 and frame 1 of sprite2 will work. The other frames seems to not work

  • Just use a for loop and name your loops

    For "loop1" from 1 to 12000 -> for "loop2" from 1 to 12000 -> if sprite2.animationframe = loopindex("loop1") -> if sprite1.animationframe = loopindex("loop2") -> do this

    Thank you but it doesnt work.

    I dont know how can i do this in construct 2 but how can i do the "Or statement" in construct 2?

    Example:

    0 or 1 or 2 or 3 or 4 or 5............or 100

jance0405's avatar

jance0405

Member since 31 Oct, 2016

Twitter
jance0405 has 1 followers

Trophy Case

  • 8-Year Club

Progress

8/44
How to earn trophies