mardoch's Forum Posts

  • Still don't work. I designed my xml as you recommended IndieKiwi, but it doesn't change anything

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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?

  • Well, I got a syntax error if I don't put them... How can I put the Xpath without the quotes?

  • Hi there!

    I trying to make something very specific.

    For example, I have different objects supposed to be stage. Each stage has a unique variable number(1 for stage 1, 2 for stage 2,... ). I also have a xml file that contains multiple value for each stage (its name, the cost of level 1, 2 and 3 (yes, you can upgrade Stage)).

    So, I want to load that xml file, then get a value (stage name and/or Level cost) and add to the selected stage all those informations. the name should appear in the Text object and to cost to a global variable.

    The problem is that I'm not sure that it's even possible. I think of this method to get all the stages values in a single xml file, so I won't have to change everything in the capx file.

    (The capx file I create is attached)

    If anyone have a solution for this...

    Thanks for your help!

  • Thaks LittleStain! You rock!!

  • Hi everyone!

    I'm working on a stage select layout and I encounter an issue with my layer. In fact I would like to put a lot of stage on this layer and finally, it ll be larger than the layout. So when I move to the next stage, I would like my layer (the current stage selected) to be always in the middle of the screen.

    I don't really know how to make it, or if it's possible.

    Here is my capx attached if you want to take a look

    Thanks a lot!

  • Problem Description

    When I use the Warp Mask effect (both on a particle or on a sprite), my entire layout has a display problem (see image). It duplicate some sprite with the camera movements.

    The issue stay even if I delete the particle or the sprite on the layout. I came back to normal if I delete the effect.

    Steps to Reproduce Bug

    • Create a sprite or a particle
    • add the warp mask

    Observed Result

    Display duplicated sprites

    Affected Browsers

    • Chrome: Y
    • FireFox: Y
    • Internet Explorer: -

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    Construct 2 r169

  • Hi guys,

    Ok so here is the capx file I created about the hang & climb action.

    It's still need some adjustments (the animation don't really fit for now) but the main idea is there.

    In fact I created a new group for the climb action, it's used when the player enter in collision with a small trigger on the platform. It set the player sprite collision on the trigger point instead of the player controller.

    Check the file to get what I mean

  • Hi everyone! I'm Mardoch. I just release my game a few weeks ago ().

    Now I'm trying to do a game on my own with Construct 2. It's a really cool software and it change my life because I'm not a dev (I'm a graphic designer ).

    Hope to see a lot of game here!!!

  • Hi slanw

    I just replace the file, you'll find it here

    Good luck!

  • Thanks a lot 5Type!

    You just save my day ^^

  • Ok this is my fault. Maybe it was not clear enough.

    So here's a picture to illustrate my problem:

    <img src="http://www.mardoch.com/construct/runner002.jpg" border="0" />

    The player hang on my sprite "edge" and then continues to run once the animation is complete. I change its position thanks this code:

    Player1 : set position to "edge" (image point 1)

    But when there are several sprite "edge" in my layout, my character is put on the first sprite "edge" of the layout! It should remain at its current position instead.

    Is there a way to fix this bug?

    Thank you if you have the answer to this problem

  • Ok so I made some change, I create another sprite who is the controlled sprite and I change the position of the animated sprite to the controlled sprite.

    It's working much better now but there is a new problem: at the end of the climb animation, I want the controller sprite to be place just after the platform edge. But when there are several, it always comes back after the first one.

    How to place the controlled sprite just after the last platform edge which it collided with?

    Any help would be really appreciable because I'm getting mad with that!

    Here is the new file

  • Thanks a lot LittleStain, but on the end of the climb animation, the player is falling from the platform. I try to change the X position (Player1.X+10) on the end of the animation but it doesn't really work...

    Do I have to change the origin point on the climb animation?