Paulo Cezarino's Forum Posts

  • > You used the wrong condition. It's pick random instance.

    >

    What do you mean? I want to remove 20 random instances. Code says that remove instance 0 every time.. isn't this right?

    It's almost right. Construct 2 does not update the instance's number until the end of the loop. So, inside the loop, after instance 0 is destroyed, there will be no instance 0 until the next event.

    Edit: My bad! korbaach already addressed the issue. Turns out I was having the same bug on my game but I never counted the instances too... thanks, man! :­)

  • You used the wrong condition. It's pick random instance.

  • You should put the conditions in that exactly order, or else it will not work.

  • You may be using the loopindex action in the wrong place. Also, If, I remember correctly, if you use several loops on the condition box (for each included), loopindex will always return the last one.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You may use an array to store the object's position. There are plenty of tutorials with files explaining the process, it's on the main page. Search for record or rewind. :­)

  • Hello there!

  • Sorry, I didn't understand :­(

    superwifibattler

    I'm trying to make a game for desktop, so I think it would look more professional to be able to change the computer resolution since it slows down on older computers using higher resolutions.

    As for the mouse, thanks for the example! But there's still this problem you pointed on your second post!

    Thanks for the replies guys! :­)

  • Hello!

    I noticed there's no way to change neither mouse cursor position nor the computer resolution. Since my game would really need those features, is it possible to make them available through plugins?

    Thanks!