Magistross's Recent Forum Activity

  • Well, you could use JSON to store a sub-array in another one. However, you won't be able to easily access its values once stored. You would need to load it in a "temporary" array, edit it, and store it back as JSON.

  • Honestly, this would have been easier if this was located in the dictionary... like event from dictionary for each key, sub event from dictionary compare current key value... That would have made navigating it easier

    I rightfully agree with you. It's weird that the object expose the expressions "currentkey" and "currentvalue", but only expose the "Compare current value" condition.

  • I don't understand your rant, this is something easily done in Construct.

    For each key in Dictionary

    +Compare two values : Dictionary.CurrentKey == "something"

    -->Do something with the value at this key

  • The "else" construct could have worked too, but it should have been looking like this :

  • Here's a modified version. I hacked here and there in the existing code and plugged the ExecJS on a "Save Dialogue". It worked correctly when I tested it.

    https://www.dropbox.com/s/2b7mgmlayk4c1 ... .capx?dl=0

  • MadSpy Thank you but it won't let me use that expression when I want to set the frame. It tells me it has to be a number :/

    There's a typo in MadSpy's answer. It's missing a closing parenthesis :

    set animation frame= int(mid(str(score),2,1))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It is working, it's just very clunky and easy to mess up. Show us your attempts, and we'll help you get it in working order.

  • NW.js should expose a "WriteBase64Image" function or something. It's far less clunky than having to use the Browser's ExecJs...

  • In theory, NW.js should allow you to write data in binary format, but the plugin doesn't seem to expose this functionality.

  • I should probably include an example layout with a few basic dialogues. There is no need to understand the underlying events of the template. There is one function that is needed and it's "Dialogue_StartDialogue()". Apart from that, there are some variables that can be (and should be) modified to suit your game, like the width/height/position of the dialogue window and typewriting speed, just to name a few. Don't be afraid to hit me up a few PMs if you want help to get started, I'd be happy to oblige !

  • Wow, that dialogue system seems very nice! i just bought it

    Thanks, I hope you'll like it!

  • To remove any chance of cheating you would have to fetch the "internet time" upon startup. If you couldn't care less for cheaters, then your solution is absolutely fine.

Magistross's avatar

Magistross

Member since 4 Jul, 2011

Twitter
Magistross has 14 followers

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies