kristalize's Recent Forum Activity

  • I was searching on methods for masking, then i found things like collision mask and some color masking plugins... guess i didn't search the correct keywords. :P

    but thanks all, its been a great help !! i have never used the blending mode effects in Construct2 before.. learn something new to play around with!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Guys,

    I've been searching around the forum for various masking possibility but has not yet come to find the right solution for what I want to do.

    Basically, I would like to make a Globe UI element that is able to reflect a HP variable in my game, sorta like the HP globe in Diablo. Is there like a shape mask function that I can make a square sprite with a circle shape so I can just adjust the height of my square sprite to achieve the globe UI ?

    Hope to know if this is already done somewhere or is it even possible in Construct 2 ?

  • I tried the capx file but it always seems to return the last of the values when I run the layout.

    Is there something wrong with the code?

  • Thanks Excal,

    I found this in the FAQs.. should have done it earlier.

    scirra.com/forum/weighted-probabilities_topic48421_post304076.html

    This would be more likely I would like to do. Thanks

    Sorry for the post.

  • Hi Guys,

    I am thinking about how to do a probability of spawning different sprites.

    I have a set of 6 different sprites to spawn. Currently I am using int(random(5)) to get a random spawn of the sprites.

    What I would like to do is to make the spawning of these sprites based on a probability?

    Example:

    Sprite 1 - 25%

    Sprite 2 - 18%

    Sprite 3 - 25%

    Sprite 4 - 12%

    Sprite 5 - 15%

    Sprite 6 - 5%

    And also I will like to be able to adjust the probability based on the events that happens during runtime.

    A note also, is that currently my sprites are all stored within 1 sprite object with each sprite as a frame in the animation.

    Hope to get advise from the community! Thanks

kristalize's avatar

kristalize

Member since 15 Mar, 2013

None one is following kristalize yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies