Delusion's Forum Posts

  • 7 posts
  • <font color=teal>Ah, never mind, I think I figured it out, just need to set the value for the family and change it for each enemy on the start of layout.

    Thank you so much for your help. ^^</font>

  • <font color=teal>Ooh, didn't know about that option, thank you!

    But will this still work with each enemy having individual hp? Each one of them has an instance variable named hp, but it doesn't seem to be working like that.</font>

  • <font color=teal>I have few different kinds of monsters with different behaviors and all, but most rules applying to the interactions with the player are identical for each one of them. Like if the player collides with the opponent, he loses a certain amount of hp (depending on monster's and player's instance variables; the instance variables are unique for each monster and they can change), same happens to the monster if it gets hit by a bullet or the player jumps on it, etc.

    I was wondering if there's any way to, perhaps, flag every unique monster as an enemy, so instead of copying the rules for each one of them I could simply make a set of rules applying to everything that's flagged as "enemy".

    So instead of:

    "Bullet on collision with monster1 -> substract playerlevel from hp"

    it would be:

    "Bullet on collision with thing flagged as enemy -> substract playerlevel from this certain thing's hp"

    And if not that, any way to make it simpler would be great. Thank you in advance!</font>

  • Ohh, I see. Thank you so much! And sorry for the bother, it's my first time using Construct 2. ;w;

  • Feel free to remove these two posts. ;w;

  • Found the edit button. :I

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Link to .capx file:

    dropbox.com/s/3z4wk0khpb1f80x/pcium.capx

    (I'm not sure if the file is needed though, as I encounter the problem with new projects too.)

    Steps to reproduce:

    1. Open the Event Sheet

    2. Go to add event -> Player

    3. Notice that there is no such thing as "Set position to another object" (The actions I have: fc05.deviantart.net/fs70/f/2013/204/3/6/actions_by_eccentricdelusion-d6epw84.png) and no one seemed to encounter such problem.

    Observed result:

    That event won't appear no matter what. I've changed from r130 to r139, hoping that it would come along with the newest version, but still nothing. I was following this tutorial: scirra.com/tutorials/253/how-to-make-a-platform-game/page-5 and no one seemed to encounter such problem.

    Expected result:

    I expected the option to be in there, so I could attach the character to that invisible box, so it would be easier to move with it in game.

    Operating system & service pack: Windows 7, Service Pack 1

    Construct 2 version: r139, the free version (though on the first try I have downloaded the r130 via a torrent and there seemed to be a fake licence attached, not sure if it has anything to do with the problem, but it isn't gone even though the old files along with the license got removed).

    EDIT: I've installed the construct 2 on another computer (Same Windows, I believe) and tried that with a new project, but the problem still occurs. Is that event supposed to be there at all?

  • 7 posts