[Plugin] slg_movement

  • rexrainbow,

    First of all, thanks a lot for this plugin. It's really powerful and hard to master. I have a small question about the plugin possibility though. I was wondering if it was possible to make the Enemy Object having exactly the same behavior of the Chess Object.

    what I mean is, for example in final fantasy tactics, when the player plays against the CPU, the CPU does exactly like the player:

    • First it chooses a Tile where it will do its next move (we can see the CPU choosing the path -> it is the blue tiles)
    • Second it moves at that particular Tile
    • The CPU tries most of the time to get near the player

    I wanted to do the same thing. I still searching because I think it is possible to do it with your plugin. I wanted to use the "get nearest tile" algorithm for the CPU so that the CPU will always try to approach the player to attack him.

    Here are some images of what I'm talking about:

    <center>

    <img src="http://dsmedia.ign.com/ds/image/article/831/831544/final-fantasy-tactics-a2-the-sealed-grimoire-20071030040100894_640w.jpg" border="0" />

    </center>

    Thanks.

  • anthonykojima

    Try this.

  • Rex

    Awesome,Great job.

    May I ask a question? different players and different enemys,have different status,how to control? I try using C2 Family,but failed.:(

    Thank you again.

    test.capx

  • there is a bug in the plugin

    <img src="http://gameportalen.com/bug.PNG" border="0" />

    Plaese report to developer

  • istavang

    It might be that, this slg_movement need to access a board object. Please check it.

  • it has access to a board object , but the plugin seems to bind another layout to it , it should though be possible to use all plugins in c2 on several layouts i believe .it has this check name property , no other plugins has this criteria in its runtime ?

    coz , the pieces that compose the board are the same...

    if not?? what could be done to work aroand this isue ?

    ehh its on the slgboard plugin not slgmovement , sorry

  • might be that ?? arnt u going to update this plugin then ?

    it cant be like this ??

    cant u just remove this criteria "layout" check name" in the plugin ,

    thats all, and ereything will be ok

    loking forward to your fix and plugin update

    or is this intentenly this way so we cant make more layouts , and use it as all other plugins ???? i dont understand this limits use on plugins , then the plugin should not be in here i belive , and missleading us .

    its normal to use several layouts in a game , there has to be a fix on this one , Please do something.

    This is bodering me qouit a lot know , when i have startet to use the plugin and buildt the game around it and done much work and sudenly meet this limitation , its absurd i believe .

    Please set of time to update allredy relased plugins to get them functionel or remove them for missleading.

    Rex r u not up for the challange ??

  • I've been playing around with this plugin and it's amazing.

    Is it possible to assign each individual its own movement cost? If so how?

    Ideally I want to make some tiles cost more to move through without being impassable or unable to be stopped on.

    Any hint of how to do this would be greatly appreciated.

  • Hello i am a newbiee in the forum and the software.

    I have been playing with the plug in and it is perfect for what i want to do.

    But, i dont know what am i doing wrong, i can not reproduce the same resutls with the project I edit and the example capx of path finding.

    My capx works in the same way but only when I choose the Grid Move Behavior with "Force Move" enabled. In the example, this option is disabled, and works.

    Could somebody help me to find my problem? I have checked all the afternoon and I can not see any difference in my project and the example.

    drive.google.com/file/d/0B67-c8R_4e9BXzlmMVVLdkJ6MUk/edit?usp=sharing

  • rexrainbow

    Hi, rexrainbow could you help me?. Is there any way of moving a chess diagonally on a board of square tiles?. I set the property path mode in Diagonal but it moves side by side.

    Amazing plugin, btw.

  • I've been playing around with this plugin and it's amazing.

    Is it possible to assign each individual its own movement cost? If so how?

    Ideally I want to make some tiles cost more to move through without being impassable or unable to be stopped on.

    Any hint of how to do this would be greatly appreciated.Harlequin2013-11-27 16:38:44

    Hello again! I'd like to echo the question above. So far I see that movement can be affected with one cost and one filter, but how does one go about having different terrain costs on one map?

    I take it you need some way to register what objects the chess moves across? (If you use something like TiledBG or Tilemap together with the board)

  • Vati-nyan

    Each tile/chess is an instance (sprite, usually) which has UID for registering (put into) board object. So that this slg_movement plugin could go thorough tiles to get cost by condition.

  • Try Construct 3

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

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

    Uh, you might try a little longer path I guess.

  • I had wrote a more completed document of this plugin

  • istavang

    The design of"check name" in layout is a protocol to check if the object is a kind of layout for board object, ideally.

    If you want to create your own layout (for board object), just copy and modified from rex_board_squareTx plugin. And call "(board) action: Setup layout" to assign your custom layout.

    But, no one had tried to make a custom layout yet.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)