dop2000's Forum Posts

  • System For each Enemy
    ..System Enemy.Pathfinding.MovingAngle is within 89 degrees of 0
    ......Enemy set Not Mirrored
    ..Else
    ......Enemy set Mirrored 
    

    There is a shorter but more advanced method which doesn't require "For each" loop:

    On every tick
     Enemy set width to Self.ImageWidth*(anglediff(Enemy.Pathfinding.MovingAngle,0)<90 ? 1 : -1)
    
  • After "AJAX Set response to binary" you need another action -

    AJAX Request URL DrawingCanvas.SavedImageURL

    Then wait for AJAX to complete, and only then save to local storage.

    And the loading function is also wrong. You need wait for "Get item" to finish, then load the BinaryData into a temporary sprite. Wait again, then paste the sprite onto the canvas..

    Use System action "Wait for previous action" to minimize the number of events.

  • I believe Chrome speech synthesis is network-based, there is a noticeable delay while it downloads the audio and it won't work if you are offline.

    NWJS uses the default speech synthesis service built in the OS and it works offline.

  • This is an official addon, so if you manage to reproduce this error in a small demo project, you can submit a bug report.

    github.com/Scirra/Construct-3-bugs/issues

  • I do want to implement it because it seems like a good addition before shelving the whole thing, that is as much as I can say.

    Thanks, this would be a really useful addition in my opinion. I sometimes need to combine several sprites into one and rebuilding image points/polygons for imported animations is often the most difficult and time consuming part.

  • Why pinning a sprite is not an option? This would be the easiest solution. You can attach it with hierarchy instead of Pin.

    You can also try System Pick Overlapping Point condition. You'll have to repeat it for 4 points of the Text object - top left, top right, bottom left and bottom right. Use Text.BBox*** expressions

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you need to detect when text is colliding/overlapping with a sprite, you can use sprite as the primary object in the event:

    Sprite is overlapping Text

  • Sorry for repeating my earlier question, but now when some additional info can be imported for animations, do you have plans to support importing image points and collision polys data?

  • The easiest solution is to remove all custom actions/conditions, and then re-add something similar in C3.

  • You can rename capx to zip, extract, then search files in "Event Sheets" folder for this string:

    <action id="7"

    It should give you the idea of what action is it, you could find and remove it in Construct 2 editor.

  • You need to move "Pick random generator instance" condition to be the last condition in the event:

    generators is Not used
    Pick generators with objectTypeName=...
    Pick random generators instance
    

    Otherwise, if "Pick random" is first, it may pick a generator with the wrong type, or used, and the event will not be executed.

  • "!!!" & (Variable=5?"Good":"Bad")

  • Additional question, does this mean that "is touching object" is ignored when 2 objects is touched?

    No, it will pick both objects. That was the problem with your code - two button instances were picked with that event. And content variable was set to the letter of the first button (not necessarily the one being released).

    My change allows to pick only one button object, overlapping coordinates of the touch which has just ended.

  • You need remote debugging:

    developer.chrome.com/docs/devtools/remote-debugging

  • Your keyboard doesn't really support multitouch, that's why when two fingers are touching two different buttons, one may be ignored.

    Try this: