RobotMonkey's Recent Forum Activity

  • I found the answer. To get the text from the state node you write it like this:

    Levels.StringValue("/levels/level[1]/scene[1]/flower[1]/state/text()")

    Hope this will help someone else who gets stuck!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm having an odd problem with XML. I am trying to view a node in a text box.

    If I do a node count of my XML like this:

    Levels.NodeCount("/levels/level[1]/scene[1]/flower[1]/state")

    I get a node count of 1, which is correct as there is a <state>hidden</state> at that node location.

    But, if I do this:

    Levels.StringValue("/levels/level[1]/scene[1]/flower[1]/state")

    I do not get the text ("hidden") from the node. I just get nothing back at all.

    I also tried using /state[text()] which should get the text from the node, but that doesn't work either.

    Am I missing something in the way that C2 handles xpath?

    Thanks for any help!!!

  • Thanks, I guess it is back to the drawing board!

  • Namkazt, your Catmul-Rom splines are done just how I want to do mine (with a dashed line). I'm just getting started with Construct 2 but I am a professional programmer of Android and web.

    I used them when I programmed TKD3D in Director several years ago. I don't have enough rep points for a URL but you can do a google search and go to their web page.

    There's an image where the spline was used (pink line) which was drawn dynamically (live).

    Anything you feel like sharing would give a great boost to me getting started. We would all appreciate it!

RobotMonkey's avatar

RobotMonkey

Member since 3 Nov, 2013

None one is following RobotMonkey yet!

Trophy Case

  • 11-Year Club

Progress

11/44
How to earn trophies