stmoong's Forum Posts

  • 4 posts
  • Ah, ok, thanks! That should work for my simple game

  • Thanks for the pointers, rezagamertag.

    Maybe I might have gotten the wrong concept. I grouped them as the "obstacle" family that the player need to avoid.

    I'm creating an instance of the obstacle, rather than the object. A random object will be created - so could be tree or animal.

    System: Every 3.0 seconds System: Create object obstacles on layer 1 at positionX, positionY

    So, I am thinking of using the onCreate to check the object, then reset the position and set the velocity for Y if it's an animal.

  • I'm creating object from a family randomly. How do I find out the instance type so that I can apply different behavior?

    For example, a tree is spawned and it will scroll down vertically. Then, every now and then, an animal is spawned that will run across the screen. I would like to set the tree.X of tree to be 0, but the animal.X to a non-zero value.

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I am Stan and I am excited to learn to build some games using Construct 2!

  • 4 posts