0 Favourites

Advice on choplifter type game

  • I am trying to make a choplifter type game where the goal is to pick up pow's and deliver them at the base.Any advice on how to pick up the soldiers and offload them would be appreciated.

    When the chopper lands for instance ,the pow's should run towards the chopper and get in one by one.And if the chopper lands at the dropzone the pow's should get out one by one and run towards the safe zone.

  • I won't give you the exact answers but I will point you in the right direction.

    You're going to want to learn about the Distance() expression. This is used to determine the distance between 2 objects. If your helicopter is close enough to the POW's then they should run towards the helicopter.

    Also, you will probably use the On collision with object event as well. When the pow's overlap with the helicopter, you'd add how many he picked up to a variable maxing out at however many he can hold before having to fly away again.

    once he lands on the helipad to drop them off you can start subtracting how many he's holding, then spawn the animations of them running off to safety.

    Just try breaking down each little element then searching the forums for examples or trying some things out in the engine to see how to get them to work.

    Try bringing up the available events for a sprite for example and look through each of the possible actions. Ask yourself how you can use each one for different types of scenarios and you'll start to see how powerful the engine is, and the possibilities that are endless.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • thanks for the advice.I used the distance expression together with the on ground event.Works like a charm. <img src="smileys/smiley1.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)