winkr7's Forum Posts

  • You do not have permission to view this post

  • Perhaps the turrets fire event is what you want? When it fires have it move toward the target and not create a bullet for it?

    yours

    winkr7

  • Give your mobs the "Move To" behavior. Have them move to a location away from the hunter. Start by just having them run to a place with a bigger X value if their x value is already bigger than the hunter, or smaller if x is already smaller than the hunter. You can get more complicated once that works.

    yours

    winkr7

  • Search inventory in the tutorials.

    yours

    winkr7

  • You have two families? Are all objects in both families, workers and components. Are you creating a worker that is not in both families?

  • Create an empty project and save it. See how big it is. This will give you an idea of the overhead. 1 or 2 megabytes is nothing these days.

    yours

    winkr7

  • ROJOhound;

    I think your approximation to buoyancy works quite well. The four internal points is a very clever and it is short and simple and not hard to fit into my game.

    Thanks again.

    yours

    winkr7

  • You might check that persist and no save are set the same for parent and child. If it is set for one and not the other there may be a conflict.

    yours

    winkr7

  • Thanks ROJOhound;

    I will take a look.

  • Hello all;

    I am using the physics model and I want to know if anyone has tried to do floating objects. If I assume the water surface is a line and I have a physics object that over laps that line then some of it is out of the water. I want to calculate the area of the sprite that is below water level to get how much upward force to apply. Just an approximation would be good as a start. I can do it for a sphere, but an polygon is a little complicated--especially if I try to consider center of buoyancy vs center of mass. Has anyone tried to do something similar?

    thanks for your time.

    yours

    winkr7

  • Put the collision points slightly inside the sprite instead of at the edge. If you are using circular collision you can overlay a second sprite that is just the graphic and has no physics.

    yours

    winkr7

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Thankyou ROJOhound.

  • Thanks ROJOhound. Does this assume the sprite is at angle=0?

  • Hello;

    Does anyone have a function that takes mesh coord (a,b) and stretches it to layout coord x,y. The function will probably have to consider the size and location of the sprite getting stretched etc.

    thanks for your time

    yours

    winkr7