Shiny Rock

This forum is currently in read-only mode.
From the Asset Store
Choose the winner correctly and earn as much score as you can!
  • Heh...nice little effect I achieved using a method similar to Ashleys rain demo, but magnifying the clouds on the bottom layer....I actually did this without using a single event!

    Bottom Layer:

    Has clouds on it, and a sprite that magnifies the clouds for the reflection it has on the rock

    The grass layer (needs to use its own texture)

    Has grass on it, a sprite that shows the shadow of the rock, and a sprite that masks out the grass to reveal the rock

    The top most layer

    This just has a sprite on it which colours the rock, allowing the reflection to also be tinted the colour of the sprite.

    And thats it. If you applied that technique in a full game you could easily have lakes and shiny objects or really any kind of reflection effect. Sadly the grapics I used in this don't really demonstrate the effect all that well heh But meh!

    Oh btw use the mouse to move the rock, and the arrow keys to scroll the background.

    Happy constructing


    Require Pixel Shader 1.4 - if you cant run it go to application properties and tick 'run without pixel shader' still works just doesn't look as good


  • ps 1.4 here... could you upload a screenie? i'm curious

  • I captured a couple of frames and made an animating gif to give u an idea...but doesn't really demonstrate it all that well

    <img src="">

  • Really clever effect there dude. It would be a great effect for metallic objects and the like.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Looks pretty good! I really like the fact that it doesn't use any events (it's not tied down to the layout)

    Although the effect would probably work better for Glass or something since (shiny) rocks generally only reflect light or really close objects anyway.

  • oh wow! I never knew of that "eraser" effect before! That's really awesome!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)