rexrainbow's Forum Posts

  • septeven

    The same, not working. I saw this task in task manager.

  • Update:

    Sorting z order by saved zindex when restored instances.

    Arima

    Would you please help me to test this feature on your case?

    Please give a test capx if failed.

  • septeven

    Sorry, I will test it when I have time.

  • septeven

    I run it by admin mode, still nothing happen. (no connecting message.)

    Maybe other guys can run it.

  • Install it, click "Construct 2 Repository.exe", show an alert dialog (by os), then nothing happen.

    I'm using win7 64 bit.

  • Step0. edit tmx file by Tile map editor. Ensure the compression type to Base64 (uncompressed) or CSV

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen1-20.png" border="0" />

    Step1. add "Action:Import tmx string",user can put string from tmx file or AJAX

    Step2. add "Action:Set instance position of (0,0)". This action is used to tell plugin the real position of logically (0,0). (It's an offset of whole tiles)

    Step3. add "Action: Create tiles". This action will

    • a. create instances from tmx string

    : layer name will be the same as in tmx

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen4-1.png" border="0" />

    : x, y position will be calculated by logically index add offset (set in step2)

    : set frame index by tmx tile id

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen2-8.png" border="0" />

    • b. for each instance, put this instance into SOL
    • c. (for each instance) then trigger "Condition:On each tile cell". User can get other data from "expression:LayerProp, TilesetProp, or TileProp". (User can edit these properties in tile map editor.)

    Or use array object to store the "logic position to uid mapping". this array object is using to maintain the "logic world".

    Step4. add "Action:Release tmx object" to release all data. After this action, "Action: Create tiles" will no longer to create instances.

  • Try Construct 3

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

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

    I will try when I have time.

  • Try this plugin --TMX importer.

  • Update:

    Add expression: total width, total height

  • Weishaupt

    Thanks, I will think about this requirement.

  • beatsbydrepl

    1. C2 editor uses double quotes " to display a string, like

    hi -> "hi"

    If user wants to have double quotes in a string, he/she need to use two double quotes to display a double quotes.

    say, "hi" -> "say, ""hi"""

    2. sometimes, CSV will add double quotes in the string. If user copy string directly, he/she should be careful about double quotes in point 1.

  • To implement "while", try this plugin.

  • Yann

    These are "machine learning". It need to design some kinds of experiments to find "patterns". I think it's not easily, not only how to design the experiments, but also the computing complex -- it might be some matrix multiplications.

  • Weishaupt

    What kind of "colission detection"? delgado has the same question before. My answer is -- Collision polygon is defined in c2 (sprite editor). Or... Do I misunderstand something? Do you mean some tiles can move through, some are not?

  • It seems to have two questions:

    1. store data.

    C2 has webstorage to save string into browser. Or FileSaver plugin can save data into a file.

    2. logic about machine learning.

    Since you already has a "plutronic" plugin for this purpose. The only thing is to export string (or a binary) data out.