Chris PlaysOldGames's Recent Forum Activity

  • You have to "pick" the instance of the bottle you want it to affect via event conditions.

    Ie. put condition Ball-Isoverlapping-Bottle_instance as a condition in the event that handles the bottle stuff. This will tell construct ignore all bottles that aren't being overlapped by ball sprite and only affect the one that is...

  • It really depends on your visual style for your game, you could do it either way,

    In my space shooter (in my sig) my in game shop currently just uses sprites that get color changed to dull color when item is bought.. it fits the "theme" but in my final version I will probably use a nice looking sprite but still dull it out when inactivated.

    Its really up to you.

    Or are you asking "how" to do this?

  • What exactly are you asking? Your question is very confusing...

  • Nice, but you should post this as a tutorial.

  • Is the player ever going to interact with it?

    If your just wanting to hold him in place until a movement key is pressed or start count down happens then you could use an invisible sprite to hold him stationary and destroy it when you want interaction.

  • Hmm your original question didn't include tilemap images, however, the tilemap object should make all your tilemap pieces available to all layouts.

  • What do you mean specifically?

    You just drag and drop them from the objects panel or folder into whatever layout your currently in..

    You can make a layout specifically for a sprite object placeholder if you like, so all your instantiated sprites are stored on a seperate layout and not scattered around edges of other layout. They only have to exist "somewhere" in the project.

  • I have an "outside the box approach"

    Use a black rectangle sprite with with its opacity set to 50% (or whatever) and place it in the black area to the right of the hearts graphic and incrementally change its X value by half heart widths moving it to the left with each damage taken slowly covering the hearts graphic.. moving right as healing done etc..

  • Your dealing with a very advanced area of Construct2 which is its picking system. I would recommend reading all the tutorials on families, picking of instances, and inventory systems (of which there are many):

    Example:

    https://www.scirra.com/tutorials/556/un ... o-families

    No amount of instruction or free capx are going to be of much value to you if you don't develop at least the basic understanding if these key Construct2 workings/limitations.

    Also, I believe you already asked this question once.. multiple threads on the same topic will only limit the amount of help people are willing to give.

  • I can think of a couple of easy ways to do this... none of which use the audio events.

    One - Make an instance variable in your enemies called something like "DetectedPlayer" set to no by default and whenever your fire a weapon call a function that simply scans for enemies within range using pixel distance or other method and then set them to yes/detected and run their go kill player AI event.

    Two - poor mans way...(capx provided) Make an invisible cube/rectange/circle.. etc called RifleRadius... ShotgunRadius.. etc.. and when a gun is fired spawn the invisible sprite radius thingy on your players gun fire image point and use an On-overlap event with your enemies it sets them to kill player mode and then deletes itself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The capx below shows a jump simulated via platform behavior and a touch or click of a button.

  • No problem. You will learn with Construct2 there are usually a dozen ways to do something.

Chris PlaysOldGames's avatar

Chris PlaysOldGames

Member since 22 Aug, 2014

Twitter
Chris PlaysOldGames has 1 followers

Trophy Case

  • 10-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies