dop2000's Forum Posts

  • In Construct animations are image-based, each frame is a separate image.

    If you are looking for skeletal animation, you'll need to use Spriter or Spine addons:

    construct.net/en/forum/construct-3/general-discussion-7/spriter-c3-addon-8-16-2021-130240

    construct.net/en/forum/construct-3/general-discussion-7/spine-plugin-update-153892

  • Objects can be in multiple families. If there are any variables that apply to both enemies and friendlies - you can define them on AllEntities family, which contains all objects.

    You will be able to do damage to both with a single line of code:

    AllEntities subtract 1 from HP

    But these variables will not be available in Enemies and Friendlies families. So you can do this:

    Skeleton subtract 1 from HP

    But not this:

    Enemies subtract 1 from HP

  • When the button is tapped, change its opacity.

    Button set opacity to 50

    Wait 5 seconds

    Button set opacity to 100

  • Ah, you are right. There should be an option to reset the tags or something. Did you try to re-create the objects?

    Tag field can contain multiple tags, separated by space. You can add the same tag to all solid objects and set solid filter to this tag (inclusive). Then repeat the exclusion filter for the tags you don't want to be solid.

  • In properties (on the left panel) -> Select mode -> All

  • I still don't fully understand your task, but in any case the code you have is very wrong.

    This whole thing can be done much easier. Decide which color molecule to spawn (a number from 1 to 4). Then, since each color is spawned from a separate image point, you can simply use the color number to spawn a new molecule:

    dropbox.com/scl/fi/0jqup6qr3zuoyfdomsdiz/Moleks.c3p

  • The "overlapping at offset" condition is also used incorrectly.

    You probably need "System Pick overlapping point" instead.

  • The code is quite a mess to be honest. You need to understand how picking works in Construct!

    Once you create/spawn a new Molek instance, it gets automatically picked in all the further actions and sub-events. I outlined all these lines with red - they apply to the created instance only:

    So the sub-event #27 will compare the color value of the newly created instance only, not any of the other existing instances! Which means "Or pick Molek instance 2" condition is moot, because the picked scope only contains 1 instance.

    If you want to compare other instances in a sub-event, you need to use "Pick all" condition first. But then you will need to pick the newly created instance again to change its color variable.

    Can you explain what these particular events 26-27 are supposed to do? And then I may be able to tell you how to fix them.

  • i want to include it.

    I dont want it to be inclusive.

    I don't understand.

  • It's a known problem, and not only on iOS. All devices render texts differently.

    Try another vertical alignment setting. Make sure the text is using the font that is included in the project. If it doesn't help, replace it with a sprite font.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You definitely need to attach some screenshots of your code and of the result you are trying to achieve.

  • Does this mean that it only supports one resolution, which is the computer screen resolution, and there's no way to actively lower the game's resolution?

    This is my understanding, yes. Construct game will run at system resolution (or window size if not full-screen), and will scale all graphics accordingly.

    Here is a demo:

    dropbox.com/scl/fi/790syf7rradlkp4q71a0q/Resolution_Change_Fail.c3p

  • I'm having trouble actually creating the conditions in the same block as the touch commands. It keeps creating a new block. I tried putting it in the begining of the script and also after each touch command block but it's still not working.

    No, don't add new events! You need to add this condition to your existing touch events. Select "On tap gesture on Budo_N" and press C to add another condition. Or right-click and select it from the menu.

    The result should look like this, and you will only be able to tap Budo_N once every 5 seconds:

  • Another option - you can add a condition checking if the animation is still playing.

    For example:

    Touch On Tap 
    Player animation "reloading" NOT playing : Player spawn a bullet