mardoch's Recent Forum Activity

  • Could be great. savvito123 I understand that time is precious, I also cannot spend much time as I work during the week. I have a bit more time actually because I work from my place but if you can manage to give me some information I would be glad to write this tutorial if I understand a bit how it works.

    I spend so much time looking for a proper example on the forum… It really deserves to do something now for every guy in the same situation.

  • Well, as I can see non-contextual Leaderboards are still available…

    In any case, I did try first to add my own leaderboard using this tutorial:

    https://www.construct.net/en/tutorials/creating-your-own-leaderboard-highscores-easy-and-free-php-mysql-1032

    It's quite good but not complete. There is no global rank, or pages and it's not using a single score per user (which is quite important for a runner, as I want only to keep the best score).

    Another thing that could be great is to have the possibility to use facebook ID to connect to this leaderboard. I'm quite sure that it's possible.

    Maybe if I get some help I could be able to make this kind of leaderboard and post it as a tutorial for all the people (non-dev) who are just in the same situation.

  • Hi everyone,

    I was searching for hours now how to implement a Leaderboard on my FB Instant Game. It's a very simple runner, so I just need to display the player's rank, ID and score. Everything is done on the facebook for dev page, I can even play my game.

    But, that's crazy, I can find a proper example capx file on the forum or either on the tutorial page.

    I found those topics:

    construct.net/en/forum/construct-3/general-discussion-7/fb-instant-games-leaderboard-133334

    construct.net/en/forum/construct-3/general-discussion-7/fb-instant-games-leaderboard-149192

    But .capx links are broken or there is no example attached.

    I'm not a dev, just a game designer that's why I love to create on Construct but I feel very helpless with this.

    Please if anyone has a file to share I would be very thankful. 🙏

  • Yeah! That's working!

    Thanks so much !!

    So I have to deal with the instance to make the animations works fine! Gotta check that closer…

    About the ghosts, I know that they look pretty much like dead KKK guys …I also have to fix that!

    Thanks again!

  • Thanks , but the issue still persist. Even with your last update…

    When the player object is in the range (or the line of sight as you used) of the both enemies in the same time, only one is playing the right animation. The other one stay in "sleep" animation. Even if it's moving to the player's direction.

    Is there a way to activate the animation trigger for all of the enemies object?

    I thought the problem can be solved with the "for each" condition cause it's working fine with the collision box… but there is something strange with the animation. The condition is only working for only one object per time…

    Any idea?

  • Hi Everyone!

    I’m on a platformer project actually and I encountering some several issues with animations and collision box.

    As you can see in the capx file , I create 2 different kind of enemies.

    The first one, named « Ghost », rise from the floor when the player object is getting too close to them. It is based on the range between the objects, if the player object is going far from an enemy, this one is hiding on the floor again.

    My main problem on this is getting the animation trigger available for all the enemies object. For now, it’s just working fine for one enemy. But it doesn’t work for multiple enemies on the same time (the 2 Ghost in the file)

    For the second kind of enemy called « Skullbat » as you can see, the flying animation only works for one enemy object. The second one is moving but don’t want to play the « Fly » animation and the collision box I have create doesn’t stick on the image point of the Skullbat.

    I think for both of the enemies class, the problem is the same.

    I try the « for each » condition but maybe it doesn’t work very well for this.

    If you guys know how to fix that I’ll be glad!

    Thanks!

    https://www.dropbox.com/s/y7ldq3w0s9mbe ... .capx?dl=0

  • That's exactly what I needed Wisdoms!!

    You rock!!!

    I first try to make the same thing with a function but it doesn't work the same way. I didn't know this behavior, it's seem very useful, thank! Can't wait to try it and explore it!

    I can close this topic know! Thanks again!

    (btw, Sword & Sworcery is really a great game, I'm trying to make some pixelart for my game but still don't know if the result can be as beautiful as Capy's game)

  • Hello talented peoples!

    I was wondering how to make another type of transition between layout.

    This is what I have in mind:

    I tried different kind of blend mode to do that, I guess I have to make an circular object that interacting like a mask with the other layers, then change it size at the end of the layout and at the beginning of the next one.

    The problem is I'm not sure that this kind of mask is working with multiple layers and I also miserably fail to change it's size with the dt.

    Any suggestion? Thanks!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello IndieKiwi,

    Thanks to your help, I finally make it!

    In fact I just remove the Functionand replace it by a "On Every trick" event. Now it properly display the correct node from the XML and also replace the chosen global variable by the XML datas!

    I attached the new file here as an exemple if anyone have the same issue!

    By the way, I get back to the original XML design because it didn't work with your design:

    <stages>
    <stage id="1">
    <name>The First Stage</name>
    <Level1>5</Level1>
    <Level2>500</Level2>
    <Level3>5000</Level3>
    </stage>
    </stages>[/code:rc8apsej]
    
    That could be maybe easier to code but it's working like this, so it's fine.
  • Still don't work. I designed my xml as you recommended IndieKiwi, but it doesn't change anything

  • Alright, thank you guys. I change my xml file and now it's properly loaded.

    However,I get back now to my main question: can I just load the node that is equal to my global variable (named "Stage") ?

    Actually it only load the first node of the xml.

    I try different sting value like

    XML.StringValue("/stages/stage[ID='" & Stage & "']/name")[/code:2ca6fujm]  (I get that from another topic) but i fail...
  • Ah ok! Thanks, I get it.

    But it doesn't solve my issue in fact. My datas aren't loaded yet.

    Is it something in the events I miss?

mardoch's avatar

mardoch

Member since 21 Nov, 2013

None one is following mardoch yet!

Trophy Case

  • 11-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

15/44
How to earn trophies