WesleyDeveloper9's Forum Posts

  • To Tomycase:

    This is not spam, I thought that you did not receive my message.

  • To plinkie:

    Thank you for explaining what happened to Tomycase.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To Tomycase:

    How the horizon laser cannon works:

    The horizontal cannon is moving from right to left and at the extremity of the laser cannon, there is a long vertical laser ray that moves from right to left at the same time that the horizontal cannon are moving. And like the code indicates the vertical laser ray disappears every 4 seconds and reappears every 8 seconds.

  • To Tomycase:

    How the horizon laser cannon works:

    The horizontal cannon is moving from right to left and at the extremity of the laser cannon, there is a long vertical laser ray that moves from right to left at the same time that the horizontal cannon are moving. And like the code indicates the vertical laser ray disappears every 4 seconds and reappears every 8 seconds.

  • To Tomycase:

    How the horizon laser cannon works:

    The horizontal cannon is moving from right to left and at the extremity of the laser cannon, there is a long vertical laser ray that moves from right to left at the same time that the horizontal cannon are moving. And like the code indicates the vertical laser ray disappears every 4 seconds and reappears every 8 seconds.

  • To Tomycase:

    Maybe by showing how I have organized the code for the Turrets and the laser cannon, you will be able to tell me what I should delete and conserve to save memory:

    (Note that the Sine Behaviour was applied for the Horizontal Cannon that the reason why there is no code concerning their movement):

  • To Tomycase:

    Yes, you were right! I am having problems. The game seems to have a bug because I have too much code. Explain to me how to duplicate the sprites on the layout then mirror the sprites and use a single code, to save memory. I thought that it was not very important but now it's causing issues.

    Thank you!

  • To Tomycase:

    I have integrated the code in my Event Sheet and it works! Thank you a lot for your help!

  • To Tomycase:

    I have the complete version of Construct 2.

  • To Tomycase:

    No, I never heard or saw anything named "loopidex" before. What is this? What does it do? what is the purpose of that thing?

    Thank you in advance for the example!

  • To Tomycase:

    Yes, the sprites are destroyed, when their instance variable is equal or inferior to zero they are destroyed (you can't see that in the piece of code displayed in my post but it is programmed somewhere else in my event sheet). What I want to do is this: When their instance variable is equal or inferior to zero and the sprites are all destroyed, the sub-event is supposed to be executed.

  • To Tomycase:

    Yes, when I test my game, I kill all those sprites and the sub-events are still not working.

  • Greeting Construct 2 users,

    I want to make two sprites gradually appear in my layout, by increasing their opacity value after that a group of sprites are destroyed. The picture below is showing the code that I have included in my project to make that happen. However, it doesn't work, and I need help to make it work, thank you.

  • To xxstyxx:

    Thank you for your advice. But I already solve my problem I have found the backgrounds and the graphics that I want! Thank you again.

  • To xxstyxx:

    I went to the website opengameart.org several times and I never find something that I consider beautiful enough to include them in my game.