rexrainbow's Forum Posts

  • Here is the next version of tmx importer.

    ----

    TMX importer

    (Update:2013/07/06)

    TMX (*.tmx) file is an output file of tile map editor. Plugin currently only supports two save modes.

    • Base64 (uncompressed)
    • CSV

    Set save mode from menu bar "Edit" -> "Preferences"

    Here is a sample capx.

    The steps of using tmx importer for normal usage are:

    1. load tmx string: "Action:Import tmx string". You can get tmx string from aJax.

    • remember to replace " to ' if copy string into event sheet directly

    2. create tile instances: "Action: Create tiles". This action will create instance, put instance into SOL, then trigger "Condition:On each tile cell" for each instance. You can do other customize.

    • plugin will ignore tmx's invisible layer.
    • plugin will create instance to THE SAME layer name. For example, layer name in tmx is "Ground", there should have "Ground" layer in capx.
    • plugin will set the sprite frame to tile id. See the animation frame in sample capx file for more detail.

    3. release memory: "Action:Release tmx object".

    For advance user, step 2 can replace to "Action: Retrieve tile array". This action will not create any instance, it only trigger "Condition:On each tile cell" for each available cell. You can get properties stored in layer/tileset/tile to create instance manually.

    See test_TMXImporter_adv.capx.

    Execution flow

    rexrainbow2013-07-22 07:20:17

  • Try this plugin. This text plugin can wrap unicode character.

    (Well, it can do "typing". I might post it to "plugin thread" latter)

  • Is this server maintained by yourself, or at scirra?

    Uh, I mean maybe scirra can maintain this server for every user to update these resources(plugins/behaviors/capx...).

  • Update:

    Sorry, remove "action:Create instance by name". The object name has changed after exporting.

  • imothep85

    1. "add bitmaps buttons or menus on the top of a video"

    It sounds to customize a video player. Video plugin provides some action to control playing video, you can use these with other sprites.

    2. "others format"

    Sorry, I can't. This video plugin is simply wrap htlm5 video tag.

  • Maybe this plugin:Load Image from URL at runtime can help you.

  • This icon comes from C1.

    Maybe you can put it into 3d plugin.

  • Ubivis

    *Edit

    Plugin has been post in here

  • simpleex

    Sorry, I don't have enough time.

  • bobwaite1

    My tmx importer plugin almost done. I need to add some conditions and expression then publish it on weekend.

  • Hum... Thanks for explain.

    Since you are a programmer, you can make a wrapper plugin for Pubnub like WebSocket

  • Try Construct 3

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

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

    What's it? And what's your plan?

  • I think you should really consider at least giving us the option to add custom code, not using plugins but coding directly into c2 (like Stencyl) to open a little our options..

    0plus1

    It's not easy under current C2 architecture,I thought.

  • Try Function plugin, "action: Inject JS function objects".

    It was designed for communication between js function and event sheet.

    I think that it is possible to call any plugin's action in js code, but it's a rare case since most users using C2 is not to learn how to write code.

  • Key is a string, value can be number or string.

    The parameter of "expression:Hash.At" is a fully key string. ex "a.b.c0".

    "expression:Hash.Entry" need to used with "action:Set current entry". For example, value in key string "a.b.c0" can spite to "a.b" and "c0".

    • Using "action:Set current entry" to set current entry to "a.b"
    • Using "expression:Hash.Entry" by "c0"

    "expression:Hash.Entry" might make user confused, how about deprecating it?