rexrainbow's Forum Posts

  • tet2brick

    I had made TMX importer plugin before. It is a parser for tmx string (XML or JSON format).

    It also provides two modes, one will create tiles automatically, including set position and set frame, and still could configure each tile under specific event; Another mode is just retrieving the data structure of these tiles in tmx string.

  • Ashley

    I would like to separate this discuss into some parts.

    1. If a segment of events appears usually in a kind of game / application, i.e. it is a template. It is worth to encapsulate this segment of events into a function, or pack it into a plugin.

    A benefit of encapsulate events is to reduce the bug, even 1 action + 1 expression might have bug; another benefit is more readable.

    A function might be easier to be made than a plugin. But "function" events might not be easier to copy to another project.

    2. Which parts of event should build into plugin? Which parts should expose on event sheet?

    I would analyze the behavior of usage - Which parts of events are changeful in every calling. Which parts of events is almost fixed.

    If the event pattern of (1 action + 1 expression) is almost fixed in most of cases, I would like to build it into plugin (usually, but not always)

    But what if this pattern is changed/not existed in some cases? Just provide another "manual" operation mode by leaving the expression for these kind of cases.

    So my plugin will have more than one usage modes, one is simple mode for most of cases, one is manual mode to expose more control.

    Edit

    I agree Ashley 's framework which all plugins are independent could cover all cases. I had this mode in my plugin if necessary, too.

    "I can do it" is good, "I can do it with a more easier way" might be better, IMO. So I would try to provide more high level ACE in my plugin to cover more basic events for some specific applications.

    This idea is also in official C2 plugin, for example, in platformer game, using platform behavior might be the first choice than using custom moving behavior.

  • tet2brick

    A plugin is a module only, it might not be suitable to place whole game logic into a plugin.

    BTW, here is a possible solution to reuse ACE in plugins.

  • Update

    Add "Expression:ToDecimalMark" to transfer number into string with decimal mark.

    For example,

    number 123456.789 -> string "123,456.789"

  • Maybe add

    var self = this;[/code:2wrt9k4j]
    before use "self" object.
  • 404

    https://dl.dropboxusercontent.com/u/577 ... x_swing.7z

    This behavior had not been maintained. Use tween behavior for instead.

  • Try Construct 3

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

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

    The problem is NOT designer can not make it technically, but designer can not reuse these plugins in your framework.

    Designer might copy the sprite plugin only for adding an action or something to reach his purpose. I do not think it is better.

    So please provide more flexible framework for 3rd plugins rather than only said "you should not do that".

    3rd plugins only could be used in c2, they all will be parts of c2. It worth to have a more powerful SDK.

  • PixelRebirth

    Thanks, I will check it next week.

  • This plugin has become very useful to me, great work as usual!

    rexrainbow I noticed that in the tmx file there is also image information for the tilesets available. Like the relative path and width and height. If I'm not mistaken, these aren't retrievable through the plugin. May I be so blunt to humbly request expressions for these?

    I could add path expression next week. Width and height of tiles might be got by expression TileWidth and TileHeight.

  • rexrainbow I think the touchwarp plugin download link is broken. How can I Download it?

    https://dl.dropboxusercontent.com/u/577 ... uchwrap.7z

    Sorry I will fix the link next week.

  • rexrainbow

    Link is broken, can you send me that plugin because I need it to open project :/

    https://dl.dropboxusercontent.com/u/577 ... x_video.7z

  • FERdeBOER

    str(Date.Year % 100)

  • rexrainbow

    Yup. But the problem is that the official plugin does not have steering or avoiding feature. Is it possible that you can take a look at http://www.red3d.com/cwr/steer/ ?

    The guy who created c&c in html5 refer to the link above.

    Sorry, this plugin dose not control the movement of sprite, it only calculates the moving path in grid based. So it dose not have steering behavior.

  • tumira

    This SLG_movement plugin is suitable for chess game.

    The performance of official pathfinding plugin is better then this SLG_movement plugin. You might consider it first, if you need to move on a large map.

  • Ashley

    Or provide more high level SOL functions for picking in SDK, to indicate event engine here has SOL changing?

    I would like to have some picking in my plugins which could be more compactly.