rhg1968's Recent Forum Activity

  • I will think about another way to achieve the same results.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley

    In a plugin I made, that appears to work well in preview, I quickly parse included event sheets looking for certain events to set up the initial state of things before allowing the rest of the plugin logic to process.

    Just by exploring and trial and error I am, in the construct 2 runtime, using the deep includes to perform this operation. It works well in preview, but when I export to android it doesn't appear to be working.

    I was wondering are the deep includes the correct thing to look at to examine all event sheets referenced by the displayed layout ?

  • Figured it out. For the description place holder in the language file you have to use {...} instead of {0} for a variadic variable type

  • Ashley

    Just had a quick question. I am trying to use a variadic parameter type in an action, but I am unsure of how to adjust the display text with place holders to work without throwing an error. With just regular parameters I can {0}, {1}, etc... But it blows up on me if I use a place holder for something that could contain many values possibly. Or is it possible to use that type of parameter in an action?

    Any help would be appreciated. Thank you.

  • Great. I'm glad

  • Not sure what link you are looking for.

    I just uninstalled all if my plugins. Re-downloaded the plugin and sample from

    https://www.construct.net/wf/make-games/addons/138/json-manager

    I installed the plugin, loaded the example I downloaded and pressed F4 and it comes right up without any errors.

    Are there any additional error messages in the console ?

  • I uninstalled all plugins that I have added to my construct, which is r104 also, and re-downloaded the plugin and the example. I installed the plugin and loaded the sample and it's running correctly.

    I looked at the error message and I'm not even using a TextEditor control.

    What other plugins have you installed ?

    Wondering if there is some conflict going on between plugins.

  • Do you get that error just starting the example or do you click on a button after it's running and get the error ?

  • I'll have to look into it. I downloaded both from the addon page and it worked. So not sure what is going on

  • Make sure you download the example again. I have changed it with each version of plugin I have uploaded. I just downloaded the one from the website (JsonAddOnTest), and it ran without issue with JsonManager 1.0.1

  • Just published a plugin that allows events to be sent with optional messages attached, that can be caught in one or more events throughout your application.

    The example file included with the plugin shows one scenario where an event sheet is included in two layout event sheets. This included event sheet generates an event, but based on which main layout event sheet is active, perform different actions. A message is also sent with the event that is displayed on the screen. You could also have multiple event sheets respond with some action based on one event.

    This allows you to decouple your a logic a little more than usually possible.

    Hope you find this useful.

    https://www.construct.net/wf/make-games/addons/143/event-trigger

  • grossd

    I modified the sample so that it populates the list box and creates a dictionary from that new json structure you sent. It populates the text box with the dictionary.

    The Json structure with just arrays of data is not easy to parse like this even in javascript. If the arrays contained objects that had properties it would be a little easier to query. But with just arrays of strings you have to have a little knowledge of the structure to parse it. The example in the link below is the best way I can think to do it.

    I hope this helps

    https://www.dropbox.com/s/xzcykh9ab7032d3/jsonSample%20%284%29.c3p?dl=0

rhg1968's avatar

rhg1968

Early Adopter

Member since 6 Jun, 2014

Twitter
rhg1968 has 9 followers

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies

Blogs