dop2000's Forum Posts

  • Ashley Can we have a setting on LOS behavior - "LOS to origin point" / "LOS to polygon"?

    This will ensure compatibility with old projects, but will also allow to use LOS to collision masks to those who need it.

    The symmetry is not an issue in my opinion, as in real life you may see someone's leg for example, but that person may not see you.

    a hairline edge of the player's shoulder being able to "see" a hairline edge of an enemy's shoulder counting as both objects having line-of-sight to each other.

    This is a valid point, but currently much more often we have a situation that objects are in clear view, but not in Line-of-Sight. Like here - two blue sprites have origin point at the bottom and therefore don't "see" each other:

  • There is probably a mistake in your events. Please post a screenshot or your project file.

  • Thanks for the detailed explanation. It's difficult to tell what can be wrong by the screenshot. The number of objects in the family should not matter!

    Try changing events like this:

    Also check enemies collision polygons and origin image point - they should be symmetrical. Otherwise when the sprite is mirrored it can collide with the wall.

    Randomizing enemies speed should be done on start of the layout, or on changing direction. If you do it on every tick (like on your screenshot), it will not work.

    If after these changes there is still a problem with move variable, please post your project file.

  • No problem!

    You probably didn't add 9 empty frames to the imageSaved sprite.

  • Can you please break your message into shorter sentences? It's impossible to decrypt it..

    Your "move" variable should change from "right" to "left" when enemy collides with the wall, but this doesn't work?

    Please post your project file or a screenshot of the event list.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think I fixed it, although not sure..

    dropbox.com/s/en1dzyaekjuq2v8/galleryTest.c3p

    Among other changes I had to move imageSaved to an unused layout, because an instance of this sprite on Gallery layout was causing some weird error "Texture already loaded" when you return to this layout from Canvas.

  • That's correct :) That's the thing I can't believe Construct 3 doesn't have. It only has a square or line cap.

    Oh, sorry, I misunderstood you earlier - I thought you need to draw with square cap. I see you've already posted this idea, it seems like a simple change so hopefully will be implemented soon.

  • Looks good to me!

  • Will this work for a list box aswell?

    Of course! Listbox is the same List object, just a different style.

  • I think I've seen this issue before. May be a bug, I don't know.

    You can report it here:

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

  • Select the first event on your screenshot, press "C" and add another condition:

    Touch is NOT touching RechargeHealthButton

  • I don't know why data is not sent, but sending the same values in url parameters seems to work:

    "https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword?key=AIzaSyBPAFvzKk9vZjHcm_uYb3JBw8_70_rOLYk&email=" & URLEncode("test@test.com") & "&password=test123"

  • I can't open your link.

  • wertt22 As I understand, your code will detect collision in this red point:

    You need to check if dec sprite overlaps both sprites. But this is a very ineffective method. With sprite size 300x300 px, the loop will repeat 90,000 times and there will be a considerable lag.