TRMG's Recent Forum Activity

  • ...Beyond that you could use tokenat again to get individual words if you seperate everything with spaces or something. What that's called is a parser and there are also lots of other ways to do it. You could do a forum search for parser to see various examples to maybe get some ideas.

    Hey, I have searched for parser on the forum, but I haven't found anything about them...

    Could you show me how to use tokenat for individual words?

  • To get a certain line from some text you can use the tokenat() expression:

    tokenat(TextBox.text, 0, newline)

    The 0 means get the first line, 1 the second, and so on.

    Beyond that you could use tokenat again to get individual words if you seperate everything with spaces or something. What that's called is a parser and there are also lots of other ways to do it. You could do a forum search for parser to see various examples to maybe get some ideas.

    Awesome, thank you!

  • bump...

    • Post link icon

    I'm trying to make a coding/hacking game in the stile of TIS-100, but I don't know how to "read" certain lines that the player would type in C2's text box and how to make C2 recognize certain words (like "move" or "rotate") in order to assign them functions.

    (Photo from TIS-100)

    In each square you can write a couple of commands, and the game executes them from top to bottom, but doesn't go to the next command until the current one has finished.

    Any idea on how to do this?

    Thanks!

  • engin20020 This should work:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • NN81 There may be a setting in preferences.

    If there isn't, you could use the trackpad from your laptop to zoom in/out and the mouse for everything else.

  • (Solved)

    Hey there!

    I'm trying to make a coding/hacking game in the stile of TIS-100, but I don't know how to "read" certain lines that the player would type and how to make C2 recognize certain words (like "move" or "rotate") in order to assign them functions.

    (Photo from TIS-100)

    In each square you can write a couple of commands, and the game executes them from top to bottom, but doesn't go to the next command until the current one has finished.

    Any idea on how to do this?

    Thanks!

  • Make sure it's in the right folder, it's a behaviour not a plugin.

    Oh, thanks =D

  • scirra.com/forum/behavior-easystar-js-pathfinding-for-tilemap_t129056

    I tried to install the plugin, but C2 doesn't recognize it...

    Also, sorry for the late reply =D

  • Hey there, I am having trouble coming up with a grid-based pathfinding system.

    The game would be seen from top-down and the AI couldn't go in "straight" diagonals (say if they wanted to go up & right they would have to first go up and then right).

    I first tried like this: If the ai position is 0, 0 and the destination is 3, 3 , the ai would go 3 squares down and then 3 to the right. But then they would bump into obstacles (that are user-placed) and they would get stuck. I could then say: is obstacle up, go right and so on, but then they would feel less like real people and more like roomba's...

    Do you have any ideas on how to do this more realistically or if there are any pluggins for this?

    Thanks!

  • Will it work in Chrome on iPad Mini 4 (iOS +8) ? It will be cool, if Construct 3 will be really multiplatform.

    You can use C2 on a computer and then use something like chrome remote desktop to use it from an iPad.

  • My problem with C3 is that, from what we know so far, it's a web version of C2 with an 8$ a month subscription.

    If C3 could make games in 3d or something that genuinely could not be done in C2 with a remote desktop app then it would at least have a purpose...

    Also, for me there are no benefits right now to C3, in fact there are only disadvantages. I have a laptop so I don't need the web thing for "portability" with less convenience and I hate cloud.

TRMG's avatar

TRMG

Member since 4 Dec, 2015

None one is following TRMG yet!

Connect with TRMG

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies