mathie's Recent Forum Activity

  • Me again.... I still not chaive to make it work.

    I think the problem might come from the XML path but i'am not sure.

    I try different stuff and create a text to test if it's wotk,, but no.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes that's exactly what i want to do.

    I ended with a formula like that:

    XML.StringValue("/Niveau/"Self"/text()")

    The self is probably wrong, i try different way but i don't find how type correctly the spritename.

  • So, firstly, you need to load your XML file using AJAX. And then you can use one of the XML expressions (NumberValue or StringValue) to retrieve your data. For example: Xml.StringValue("/Niveau/1/A/text()").

    I struggle with the XML road.

    Instead of "1" and "A" I want to put the name of the sprite in the XML line.

    For exemple i want to compare the instance variable of the sprite "1a". So it will search in the XML file the answear of 1A. But if i'am on the sprite B2.

    How i do?

  • Thanks for your answear.

    Even if it use ajax. The game can be play offline?

  • Hello,

    I have an XML files where i will stock the correct answear of a game.

    The XML will be organyze like that:

    <Niveau>

    <1>

    <A>open</A>

    <B>open</B>

    <C>close</C>

    <D>open</D>

    </1>

    <2>

    <A>open</A>

    <B>open</B>

    <C>close</C>

    <D>close</D>

    <E>close</E>

    </2>

    </Niveau>

    I wonder how i can extract the data to check what the player have done in the game?

    Sorry i don't find anything like that. Thanks

  • No, not preview. I meant your C3P project file. Please upload it to file sharing service (Google Drive, Dropbox etc.) and post the link.

    Here it is sorry.

    https://drive.google.com/open?id=1iL9OwgALZUZlTOA_30cEKX8yZixttf1F

    Yes that's what i try to do :)

  • thanks for your help.

    You want this to see?

    https://preview.construct.net/#gkavih2k

    How i send it?

  • What exactly doesn't work? Multiple sprites are changing color?

    You can do this:

    > Mouse On Object MyFamily clicked
    MyFamily pick top instance
    	MyFamily set color....
    

    Nothing change color

  • Hello i'am making a small game and i wonder if the logic i follow to create the game will works.

    I have many differents sprite who overlap each other on the game. But their collision area don't. Will it still be a problem?

    All thoses sprite are in a familie.

    When one sprite of the familie is click on the sprite change color. But only the on clicked on.. Not all the other in the familie.

    Is it ok?

    Because it doens't work there.

  • Does someone has an exemple on how use this addon?

    Thanks

  • I don't find the solution to.

    I want to make like a clor picker. Player click on a blue square and after he can color in blue all the other sprite. And so on with red and yellow.

    Thanks

  • You do not have permission to view this post

mathie's avatar

mathie

Member since 7 Feb, 2019

Twitter
mathie has 1 followers

Trophy Case

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

9/44
How to earn trophies