Jase5z's Recent Forum Activity

  • curious Mike "problems using Ajax with cocoon", I can't answer this. I just used the tool as explain in the manual.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • condition System -> on start of layout

    action AJAX -> request project file tag

    You need to manually import the file into files folder. It should be a text file that is like....{"c2array":true,"size":[3,3,1],"data":[[["Shovel"],["Chisels"],["Pickaxe"]],[["2.75"],["0.75"],["2.25"]],[[3],[0],[4]]}.

    Condition AJAX -> on completed tag

    Action Array -> Load AJAX.lastData

    That's how I did it in this capx:

    dl.dropbox.com/u/27144902/inventory.capx

    Although, I'm only able to get this to work by manualy loading file. I believe if you want to dynamically import or export JSON you'll need to experiment with AJAX request and post.

  • Perhaps I didn't explain well enough.

    The tiledbackground needs to start out invisible and become visible with the associated text object "Inv".

    When you click the bag/letter looking sprite a bunch of text is created and the tiledbackground is toggled to visible.

    The problem is that Inv text is beneath tiledbackground. In this capx that background is on a completely different layer below and it still creates text underneath tiled. You can enable the toggle inventory grouping to see the color changes of Inv text.

    dl.dropbox.com/u/27144902/inventory.capx

  • I'm having trouble figuring out why this capx won't let me put the tiled background below some "object-create" text.I have tried different combinations of changing z order every tick, putting the tiledbackground on a separate layer, using a family to put all instance of a text object on top most layer. Browser is Chrome, Version 25.0.1364.97 m.

    Thank you :)

    dl.dropbox.com/u/27144902/inventory.capx

Jase5z's avatar

Jase5z

Member since 28 Jan, 2013

None one is following Jase5z yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies