dop2000's Forum Posts

  • Unless you need the object to look realistic when it rolls and bounces off floor and walls, I would not recommend using Physics for this mechanics. Physics behavior may glitch when used in combination with Platform, Solid etc.

    When the object is picked up, you can pin it to your character, or connect it with hierarchy. Throwing can be done with Bullet behavior (enable gravity if needed). You can add a random rotation with Rotate behavior.

  • There's probably a math method to do this, but I don't know it. And there are a couple of "dumb" methods, which I would probably use :)

    1. Create a collision polygon in a sprite with this addon. Then check if this sprite is overlapping a point.

    2. Draw the polygon on a drawing canvas, fill it with color. Then save a snapshot and read pixel color at point coordinates.

  • You can still open the templates in free version of C3, check how they are made, and then try to do the same in C2.

    Also, you need to post in C2 forum to avoid confusion:

    construct.net/en/forum/construct-2/general-discussion-17

  • DiegoM I understand that form controls don't support rotation (and z-ordering) and can definitely live with that. If this is the biggest challenge with adding them to hierarchy, maybe you can simply deactivate "Transform angle" and "Transform Z elevation" checkboxes for them?

  • DiegoM Are there any plans to add form control objects to this list?

    I had a task recently where I needed to create a large complex popup dialog with lots of objects. I was able to connect everything in a hierarchy except for a few TextInput objects..

  • Select "Google Play" in the list of objects. And then you'll see its properties on the left panel - enter the correct app ID there.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • General rule - "On ..." events are triggered once. "Is ..." events are continuous, they run on every tick, while the condition is true.

  • Press F12 in the editor and check for error messages in the Console tab.

    Also try renaming C3P file to ZIP and extracting files from it. (Make a backup copy first of course)

  • In the solution of dop2000 recalculating the sectors for every possible angle seems very complex

    It's not very complex. You can use these expressions to draw a line from the center of the circle at any angle:

    X=centerX+length*cos(angle)
    Y=centerY+length*sin(angle)
    

    .

  • In this case.. use "On back button" condition of Browser object.

  • You mean on mobile? You need to use Browser condition "On Back button pressed"

  • I would probably use DrawingCanvas - spawn 52 canvas instances over the spritesheet and paste it. Then you can load the images into frames of the Card sprite.

    Or you can use DrawingCanvas instances directly as cards. You should be able to tween their width/height, and rotation is also supported now.

  • Construct can work with files and folders, but only in NWJS (Desktop) export. You need to add NWJS object to the project.

    construct.net/en/make-games/manuals/construct-3/plugin-reference/nw-js

    Although, if you want to replace images in sprites, you will have to create events which will load images into each animation frame. And I'm not sure if playing audio files from disk is possible.

  • Not sure I understand.

    You can set different values in that variable for different family members. For example, zombie may be isEnemy=yes by default. And wolf may be isEnemy=no

    And you can change these values for each instance in runtime. Say, if a nearby wolf becomes angry, you set isEnemy=yes for it.

  • You can draw sectors and arcs using different drawing blends. Here is an example: