MrBr's Recent Forum Activity

  • ok thx for the hints. with adding a 0.1sec wait before creating the blue squares solved the issue

    thx a lot

  • ah ok.... i think i undestood it. is there a possibility to change that, so that the selection appears and a 2nd click is needed? didnt expect that with that one click it would activate both actions.

  • The red square are just spawned to mark the spots where the big squares change to blue or green if you click on them although the selection is not up. the problem is that when clicking on that spot it changes even if the selection is not there and it seems that from the beginning on those spots are there.

    little example:

    1. i start the game

    2. i click on a spot where later on will appear the red squares

    3. the big square changes to green/blue without showing the selection

    issues:

    1. the selection was not set there yet

    2. squares can be changed without selection

    ...hope that helps to understand.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone

    I've come along a bug as I think, but cant explain where it comes from. I have the situation, that there is a set of squares, that can be changen to different "styles" when clickin on them. after the click a popup appears with 4 different selections. the problem is, that 2 selections are always clickable (red squares), even if the sprites dont excist (checked with debugger). i've attached some screenshots and the capx.

    I know my explanation of the problem is a bit confusing but I dont know how to describe it better. just try it out

    C2 Build: R181 (beta)

    OS: W7 64bit

    If this is just a silly beginners problem then i would appreciate tips on solving the problem.

    Thx

  • Thank you all very much with the "for each" I got it working just as I wanted to.

    Greetings

  • Thx for the quick answers and the example

    Now there's an other problem: i dont know how to handle the behaviour only for a single instance. if i change the path it will be applied for all instances of the object type. but i only want it to be for the instance within that radius. is there a good guide on handling instances on the event conditions? to what i found out it seems not to be likely to do so.

    as a first & simpler attempt ill be trying it with Tekniko's idea, witch seems pretty easy and straight forward but if you know about the instance handling in event conditions please let me know where i can get better/deeper understanding.

    thx a lot

  • Hi everyone

    I'm new to C2 and trying to get a small project running in the free version. I've come to a point, where i need to detect if a moving object is within a radius around a static object. on the image attached (ex.png) i've painted a little example to understand.

    the green ball is moving along the path (black). as soon as it gets within the radius of the blue square (red circle) it should change its path towards the square.

    my first approach was to do it with "is overlapping at offset" event condition, but that one needs a specific offset and i want it to be a radius. next i tried to achieve this with the angle operations but i kinda dont get them right.

    is there an existing solution for my problem that i just dont see? or has anyone done something like this or can give me some hits? would appreciate any feedback!

    thx a lot

MrBr's avatar

MrBr

Member since 24 Sep, 2014

None one is following MrBr yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies