Kyatric's Forum Posts

  • When requesting help, provide post a capx of your project so that it's easier for us to investigate and give you proper help.

    On top of my head, without seeing the project, you could hold down the Ctrl key when editing your layout and drag drop the "first" card.

    This should create new instances.

    You can also use the system action "Create object" that allows you to create another instance of your object in code.

    In the end it really depends on what you're trying to achieve and how.

  • CROS - you just need to set up Cross Origin Resource Sharing for your servers to make requests from a different domain. More info here: https://www.scirra.com/manual/107/ajax

    (This answer originates from Ashley who asked me to post it for him)

  • 1_ There's already a TargetUID expression available for the behavior.

    A way of doing would be : example

    Side question:

    New features from the beta gets added to the manual in the next stable version.

    According to the Ashley's release cycle, it should be available in r120 in a few weeks.

    Though, templates and examples are already added/shipped with the current beta release.

    I hope that helps.

    Edit: Over ninja'd. Well, examples are always good I guess.

  • oppenheimer: Awesome keep them coming and don't hesitate to have a look at some of the requests too, there might be interesting effects/challenge there too to be made.

  • Ashley: R118 has brought some very nice additions to the behavior.

    Nevertheless, it brought an unexpected change on one of my project.

    It seems that in r117, the behavior did not move in diagonal, which suits fine my project but in r118, it does.

    Would it be possible to add a property/action to set if the algorithm should allow/disallow diagonal movement please ?

  • Setting the size to 0 allows for the push action, creating an index for the newly pushed value.

    If you push a value in an array of width=1, array.at(0) is already = 0 and your new value will be put in index 1.

    If you push a value in an array of width=0, your new value will be put in index 0.

    Pop actions works the same, deleting/removing the specified index (back or front).

    Perhaps the manual needs an update on that specificity, pop and push actions were added after the first edit of the entry.

    Ashley, you probably have a better way to formulate the explanation and perhaps could edit the entry ?

  • I guess you could make a Construct 2 plugin using Construct 2's SDK.

  • There are already examples shipped with Construct 2, accessible in the "examples" folder (or from C2's starting page "Browse examples link", or from the new project dialog).

    There's also a template for turret defence game that uses pathfinding.

    Anyway it's always nice to have multiple examples I guess.

  • Gamezilla: You're not using a correct syntax to set the value in the array.

    <img src="https://dl.dropbox.com/u/36472942/construct/forumhelp/set_array_at.PNG" border="0" />

    This should do the work.

  • imothep85: Even in the insert new object dialog ?

    Are you sure you installed only plugins ?

    (Behaviors have to be installed in the "behaviors" folder and can be seen in the add behavior dialog)

  • Read the blog article on this subject and be aware that as of today the current beta release is r118.

  • DogBoy: Updated the link so it works again, thanks for the notice.

    murphyng: Thanks for the kind word.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check the folder "effects" in the C2 installation folder.

    The code is to be put in a .fx file and you need to make a .xml file that will allow the effect to be applied in the IDE.

    Check the already existing files for syntax and logic, it should be quite easy (the xml file is the one requiring the most modification, the .fx file should strictly be copy/pasting the code normally).

  • tulamide: all my wishes of best recovery.

  • Sound like the issue is specific to Chrome, it does not happen in FF.

    Possibly a chrome bug related to iFrame.

    Ashley, thoughts ?