Xavier's Forum Posts

  • Also, the list must be too big to fit in a forum post.

  • On the project .capx, if other people don't have them installed we can't open it.

  • Can you remove the plugins?

  • Can you try using "on mouse button released" instead of left click? And add another condition "cursor is over grey button". If that works I think I know why this happens.

  • I remember reading that if it's a tiled background, the size has to be a multiple of 2 otherwise it will blur in WebGL. Also, try changing the sampling from linear to point, although this might make other things look slightly worse from what I saw.

    Also, make sure the zoom is 100% on the browser.

  • As far as I know, objects outside the layout are not drawn but are still processed (logic). If you don't need the object anymore use the behaviour destroy outside layout, or you can do it manually via events if you want more control, with the condition "is outside layout".

    If you didn't read the last blog entry then I recommend it:

    http://www.scirra.com/blog/83/optimisation-dont-waste-your-time

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How about if you add the condition:

    if smallcircle is overlapping bigcircle

  • I see, that's how I have it right now. I'm gonna have to wait for family behaviours then, hopefully on r90.

  • For instance, in a match-3 colors game would you rather create the colors as 3 different sprites, or 3 frames in the same sprite?

    Right now I'd rather use frames because family behaviours are still not finished, but since they probably will by the next release or two it doesn't really matter.

    So which method do you think would be the best? Not only performance wise which might be negligible, but also for simplicity and/or fexibility of the events.

  • Thank you.

  • Thanks again. I've been able to modify it a little so it works on a family of different sprites (colors).

    I've also taken a look at the wikipedia's flood fill entry, very interesting read.

  • R0J0hound

    Yes, exactly, many thanks, that was very helpful. It's getting more complicated to understand though with these expressions :P

    Do you have any idea if it would be easy to make so that every object that is "picked", also keeps checking in their 8 directions?

    For instance:

    <img src="http://i.imgur.com/63o3r.png" border="0" />

    The objects in that chain should get all picked in one click because they keep overlapping each other in a chain.

  • Did you try the condition "On destroyed"? And then an action that creates the debris on this position.

    For instance, On flyingstone destroyed -> create object stonedebris on flyingstone x and y.

    That way it will work every time that object is destroyed on other events.

    Also, on destroyed is a trigger condition so it has to be the first condition.

  • Nice to meet you.

  • As far as I know, all versions are 32 and 64-bit compatible.