Magistross's Recent Forum Activity

  • Ok, I thought your image was a mock-up of the actual loading events. You need to do an AJAX call to get the project file and retrieve its content. First you use "request project file", select your file, and then add a "On completed" AJAX event where you do the actual dictionary loading. (i.e. Load from JSON string AJAX.LastData)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi bclikesyou, you are indeed calling dialogue the right way, assuming the dictionary is correctly loaded before the call.

    You also have to change the default position of the dialogue objects, by adjusting the following variables in the dialogue event sheet : DIALOGUE_POSITIONX, DIALOGUE_POSITIONY.

    Let me know if this helped you!

  • Also, if you actually have different array object types, put them all together in a family aptly named "Arrays". You could then use this family to easily access any array provided you have its UID.

  • After that, time to add Magistross 's dialogue plugin which I bought! Really excited to get that up and running as my current dialogue setup is pretty patchy.

    Nice! It's always thrilling to see a new creation that use a bit of your code. I'm eagerly awaiting further dev logs!

  • Are you trying to limit the object selection with the condition ? Compare two values isn't suited for that. Since two object types are in your condition, you will need to nest two "for each". Or maybe a single "for each CollisionBox1" with a pick by comparison under it.

  • System's "Compare two values" doesn't do any picking, thus all sprites get selected and destroyed as soon as the first tile reach the border. You can either add a "for each sprite" above your condition or ditch "Compare two values" in favor of sprite's "Compare X".

  • This is the best I could come up with using my lunch time. It looked a bit jerky to me so I tried maybe using an ever expanding tilemap instead of shifting the tiles and the tilemap. Can't decide if it makes things better... see for yourself!

    https://dl.dropboxusercontent.com/u/700 ... lemap.capx

    You would of course have to replace the "generateRandomColumn" function by one that fetch meaningful data. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Well to be fair, pathfinding is a cpu intensive operation. You have to keep it in mind when implementing it, and use it in such a way that actual pathfinding operations are done in an optimized way.

  • The ’ character isn't mapped. It's this character that is used in your json to represent an apostrophe. You can either add a representation for it, replace the ' in the mapping by ’ or replace all ’ occurences in your json with '.

  • Well, in that case, it's easy to do it already. Sending a request is an action, simply wrap it with a call to a function.

    "your condition to send a request" > Call Function: "SendRequest" with param "tag"

    On "SendRequest" > push to array: Param0 and nowtime, ajax: send request

  • Do you mean a trigger that encompass all the other three ?

  • I know it's generally viewed as a "bad idea" but you could use a modified version of the plugin. Here, I've added 3 triggers (AnyCompleted, AnyError, AnyProgress) and an expression (LastTag) to the official AJAX plugin.

    https://dl.dropboxusercontent.com/u/7004246/ajaxEx.zip

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