Yann's Forum Posts

  • create a boolean 'controlled' in your circle object with default false except for the one you want to control at start of layout

    And then if circle collide with circle, toggle 'controlled'

  • Or you can just copy/paste an already quoted text and hit Enter (shortcut to the 'Done' button) (:

    (but don't forget to delete any " inside your text)

  • When that happens I just put the two event sheet side to side (neat thing when you want to compare event sheet by the way) and drag&drop the global variable first and then the events.

  • I didn't open your capx but don't forget

    • to use effet on an other layer than the 0 one
    • and also to put the layer's "force on texture" to yes.
  • that's not the same but it was my attempt on the leave problem

    fallingLeaves.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • add a 'destroyed' boolean to the ships, if you destoy them switch this boolean to true, and then in condition you can do a "on collision + [invert] is destroyed -> launch another explosion and set destroyed to true"

  • * your hotspot isn't centered on all frame

    * you can change the value of lifeSpan at edittime in the property panel under "instance variable" when you click on plantspot. However if you just want the harvest time to be significantly greater than other phases, you can duplicate the harvestTime animation frame (or rework the math)

    * See how event works, it's a picking issue

    The animation thing is working, so it's ok

  • oh neat :D...

    now the "Star map" makes more sens to me :D

  • to access the clipboard in javascript is a pain. I think it's doable in internet exporer (with a window.clipboardData.setData("Text", yourText); ) but not in other browser.

  • look at the pathfinding behavior, and the example capx

    I think it's pretty much what you need

  • use unity :D

    seriously for 3D stuff you're better off using an engine dedicated for that.

    There are solution for 2D isometric, r0j0 posted a neat cap some month ago on filmation.

    But it's still a pain to use.

    If you use a 3D engine you will have less constraint and it might not be that complicated.

  • Try that, you had a redundancy between your boolean "isOnPlatform" and your variable PlatformIID.

    They followed the same pattern if you reset the PlatformIID to -1 when you're not on platform.

    So you don't need the isOnPlatform variable.

    I also changed to UID instead of IID. UID is the unique ID of each of your platform whereas IID it the temporary ID of the platform within a filtered (or not) selection.

    In your case that works... But I feel like UID is more relieable.

    cleaned_VPlatform.capx

  • You're example won't work with more than one instance of the vertical moving platform.

    You really should look at my example (:

  • tokenat let you retrieve each part of the string. you can locate a part (token) thanks to an index and a separtator.

    In our example, each object can be retrived thanks to the 'newline' separator

    And each data of an object (once you retrieve the line) thanks to the "," separator.

  • loop through them and build some string like

    foreach Sprite
      set save to save&sprite.X&","&Sprite.Y&","&Sprite.Angle&","&Sprite.AnimationFrame&","&Sprite.instancVar1&newline

    It's a bit like the replay thing I did a while ago