matthornb's Recent Forum Activity

  • I could use - and many others have requested it - a transform shader, i.e. a four-point corner pin for skewing surfaces. I'd also love to see some sort of customizable mesh warp, think a grid 3x3, 4x4, or 5x5, of points, where each point acts like a corner pin. So people could customize their distortion patterns in more detail.

    I also want these distortions to have an option to be able to distort whatever is behind them, even if the object behind it is moving. So you could have a distortion cast from one (partially visible or invisible) layer onto the layers underneath it?

    I have several projects - 2d with a few pseudo-3d effects, that would benefit immensely from these shaders. I am looking at 3d engines if necessary but if these effects can be done in C2 instead it'd save me a ton of time and labor.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I'm a C2 newbie... I have a project that requires a button to be clicked, that when clicked will look through the entries in an array, all of which are set to either 0 or 1 (i.e. inactive/active) and randomly pick one of the entries that is active.

    Then, take the array position of that entry and use that to set a frame on a sprite.

    For instance, if there's an array with a width of 5, (0,1,2,3,4) and they are set to values of (0,1,0,0,1)... it should select at random either array entry 1 or 4, and then set the image frame to frame 1 or 4.

    How can I do this? I've tried a bunch of times in various ways but it never works right for me.

matthornb's avatar

matthornb

Member since 24 Jul, 2012

None one is following matthornb yet!

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies