chrisyamao's Recent Forum Activity

  • Hey guys, i'm sorry for my lack of technical vocabulary.

    I want to download a finished project and have it on my desktop, as an executable file. (i'm on macOS)

    I tried exporting as NW.js , but as soon as i try running it, it "quits unexpectedly".

    I want this file for 2 reasons;

    1- to run directly from my desktop as a finished thing.

    2- to upload to my personal website, but i wonder if in order to do this i need something different.

  • Hi guys, i'm having this weird problem;

    I'm making an object spawn every x seconds. and it bullets to the left.

    On created, set animation to: "choose ("1","2","3","4")

    the object spawns 1 & 2 spawn perfectly, they bullet to the left. but 3 & 4 spawn and bullet to the right.

    How can it be that animations inside the same object are set in different bullet speed/direction without any programming of it?

  • chrisyamao

    To fade out a sound:

    add a tag "volume" to the play action for the sound

    add the following global variables and starting values:

    vol -10

    volMax -10

    volMin -50

    fadeRate -0.5

    Every tick:

    System|set vol to clamp(vol+fadeRate,volMin,volMax)

    Audio|set volume: tag: "volume" dB: volume

    You can adjust the fadeRate to change the speed and direction of the fade.

    To fade out all sounds:

    Every tick:

    System|set vol to clamp(vol+fadeRate,volMin,volMax)

    Audio|set master volume: dB: volume

    thanks a lot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there a way to do it?

  • The parent Sines vertically but the pins do not follow.

    How can i make the pins follow the movement identically?

    Thanks

  • int(random(Sprite.AnimationFrameCount+1))

    i'll try it out, thanks!

  • Hey guys, i have a sprite with (eg) 4 frames.

    i want that sprite to be in a random frame whenever it is spawned. Therefore i could use random(0,3)

    The thing is, i will include more frames eventually, so, if in the end of my project the sprite has 10 frames, i should update the event to "random(0,9)"

    isn't there a way to program it to "random(all frames)" or something similar so i don't have to update the precise range when i update the amount of frames?

  • You can use z-ordering or just simply make an action right after the spawning and move it to buttom of the layer like the example below.

    On event ---> spawn object1

    ---> move object1 to bottom

    thank you !

  • Hi guys, i'm having a problem with the following:

    I have an object spawning enemies. the enemies get bigger as they get "closer to the screen".

    But every time a new one spawns, it's on top of the older spawns.

    How can i do so that new spawns are at the bottom of the layer?

    Thanks!

  • Hey chrisyamao!

    Not sure if that's what you're looking. Just made a .capx of the effect I described above. There are three sprites, first is changing Hue, second Saturation and the third Luminosity.

    https://www.dropbox.com/s/247chex5a35b9 ... .capx?dl=0

    Cheers!

    brunopalermo, that capx looks amazing! looks just like what i want. i'll study the event sheet! Thanks!

  • So far, i know how to change the color of a sprite, for example using the Hue or Adjust HSL effects.

    However, those actions make a hard transition.

    I've been recommended plugins that are for C2 and still not available for 3.

    Using C3, does anybody know how i can make a smooth transition of color/hue?

  • You should post this on the Construct 3 board, then... Good luck!

    Sorry! thanks for the correction

chrisyamao's avatar

chrisyamao

Early Adopter

Member since 4 May, 2017

None one is following chrisyamao yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies