Sergey Kalugin's Recent Forum Activity

  • I need to save array data in local device memory, so I can close App and download array data after opening it again! Please write some detalized or better give me CAPX. Thanks! (Sorry for bad ENG)

  • >

    > >

    > > Something like this?

    > >

    > > Insert New Object >Web>Browser

    > >

    > > On Left button Clicked on Sprite> Browser close

    > >

    > Not game i browser, I need to close EXE (NW js) exported games

    >

    browser object and browser action close also works on NW.JS export

    Wow! Thank you wery much!!!

  • Something like this?

    Insert New Object >Web>Browser

    On Left button Clicked on Sprite> Browser close

    Not game i browser, I need to close EXE (NW js) exported games

  • Can Construct 2 close game? Exsample: player click on button "Exit game" and game closed. How do I di it? (Sorry for bad Eanglish).

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well the music didn't bother me, so I took a look at it and I see what you mean. Looks pretty complicated mate, I'm not sure what to tell you....

    I'm not sure what the right way to do it is, but here is how I would attempt it:

    1. I would make the character/enemy art and then I would split it up into pieces. I would olso create an outline for the character and color it with a random color.

    2. I would then load the outline into C2 and load each of the art pieces, all of them as a seperate object.

    3. I would then position the outlines where I want on the levels and then put the pieces on top of the outline to make it look like a complete image.

    4. I would then add the pin behavior to each art piece and pin them to the outline. I would probably(not 100%) have to add the physics object to each piece too.

    5. Then I would make the events on laser object collision with outline check the y of the impact on the outline. Then unpin the art pieces above that y, and set a gravity for them.

    That's how I would do it, but like I said I am sure there are better ways of doing it. I just don't know what they are. Good luck mate, you're gonna need it, hope it works out for you.

    Thanks! But is there no ways to make all this with code?

  • How do I make the slikes just like in this game -> http://www.newgrounds.com/portal/view/605279 (When you shoot enemy it slices to a phusical pieces!). (Sorry for bad english).

  • You can add the event you want the variable to trigger to the same condition that change its value.

    For instance, bonus add 50 to GB and do some other thing that you are expecting to happen every time GB value changes.

    Or, if this is supposed to happen only once, you may try setting a initial value to GB, then set a condition that if GB is different from its initial value it will do whatever it is you want it to do.

    Or moreover, you can work with two variables. GB and another variable to keep it's current value. Then if both GB and the second one doesn't have the same value you do whatever the function of GB is and by the end of it you set the other variable's value to the same value of GB.

    There's actually a lot of ways to solve this, you should use that fits the best whatever it is you are trying to do.

    I really hope this helps, if you need some further more assistance, please upload your .capx so we can have a better understanding of what you are trying to do.

    That was helpfull, thanks . Let me explain what I want to do: I want to catch cheaters on cheating with this-> if clobal variable "money 1" change , but player sprite does not pick any money, system will kill player. This event need triger that global variable changed without picking money. (Sorry for REALLY BAD english).

  • Help! How can I trigger that global wariable change its value? Example: bonus add 50 to GB1 if GB1 has change its value by picking bonus1 it will trigger. (Sorry for bad English).

  • Thanks,but can you sand me a .CAPX please?

    ( I am really bad in booleans ).

  • How do I make one object rotate clockwise (or not) another object?

  • Here is an example capx of what you want.

    click/tap anywhere to spawn a firefly object use arrow right and left to move the firefly objects. If they touch the box and if explosion (global variable) is 1 then there will be an explosion and they will fly away

    Thankyou very much!This example solve me with my problem!

    Sorry for bad English.

  • How ti invert object phusics impulse?

    Example:phusic object must fly away from phusic object ?2,if global variable "explosion"equel to 1.

    Sorry for bad English.

Sergey Kalugin's avatar

Sergey Kalugin

Member since 8 Sep, 2013

None one is following Sergey Kalugin yet!

Trophy Case

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

Progress

13/44
How to earn trophies