Dullstar's Forum Posts

  • 4 posts
  • I'm trying to find a good way to give npc's dialogue.

    I think the best way to go about doing it would be to somehow make it so strings would look as follows:

    Hello, I'm an NPC.\pMy name is NPC.\pBlah blah blah,\nblah blah blah.

    I'd like \p to wait for the player to press a key, then clear the textbox and keep going. \n would more or less be the same as enter.

    How would I actually do that?

  • Sorry about wrong section.

    Thought I was in Help&Support when I posted this, apparently I wasn't... Guess that's what I get for doing this at 3:30 in the morning.

    X_X

    Can someone move this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've been creating a dialogue system and I've been running into issues with variable names I used to fetch the text.

    It basically works by fetching text from an external .txt file, I can go into more detail if needed later.

    Anyway, there are two variables: text, and ShutUp (I like to have fun with my variable names =P)

    text tells it what line to use.

    ShutUp tells it how many lines of dialogue are left before closing the message box.

    Anyway, occasionally, the variables will get mixed up and it will take the value from text and apply it to ShutUp and vice versa. The bug is semi-consistent: it always happens the same way every time, but if I add another NPC, it may change, meaning that if I just changed the variable values as a workaround, it could change whenever I add a new NPC, which would be annoying. I am unable to figure out what is going wrong.

  • Will this program ever support MAC OS? It would be extremely helpful if it did, because some people who play my game might have Macs.

    If not, someone with a background in programming might be able to port the finished project, though realize that there is NO PAY. This is a freeware game, so obviously we're sticking to making development free. However, anyone who gets a MAC 0S X port finished will receive a promotion to Global Moderator on the forums, as opposed to the other two.

    A link to the website: Leafwing Studios Website (The name is temporary). If the BBCode is not working, just copy what's after the = and before the ].

  • 4 posts