Scirra Arcade

2,250 players / 2,790 plays

Change dynamically the color on a sprite (webGL effect)

Click here to refocus game
[ Close Window ]

Report Game

Report this game if it's content is inappropriate. Misuse of this feature may cause your account to be suspended.

[ Close Window ]

Game Instructions

Slide the cursors of the slidebars to set the appropriate values.
Select the part of the sprite you are modifying the color of.
Click the buttons to apply a random color or start a gradual modification of the color.

[ Close Window ]

Embed Game

Copy + paste this code onto your website so your visitors can play this game!

On Wordpress

First download the iFrame plugin. Once installed, copy the following code onto your website:

Are you a programmer?

Don't forget, we have a Scirra Arcade JSON API for embeddable games published on this arcade!

Game Cards

Link to this game with these dynamically updating game cards!

Long Card

Wide Card

Change dynamically the color on a sprite (webGL effect)


by Kyatric
First published on 27th October, 2015

A tutorial example on how to use a WebGL shader dynamically and replace a specific color of a sprite object by another.
Find the video tutorial on how to make such a project in the #C2Academy Youtube Playlist

Download the Source

Download (188 kb)

You can download the source .capx file for this game and see how it was made! You need to install Construct 2 to open this file.

Plays Stats

2,790 total plays

2,486 guest plays

304 Scirra member plays

Users Stats

2,250 unique players

2,015 unique guests

235 Scirra members

Last Updated

Game stats last updated 0.00156000333333333 minutes ago

Time Stats

10 hours 2 minutes total play time

1 minute 1 second average play length

Active Users

3 highest number of simultaneous players

Wednesday, October 28, 2015

Total Plays Over Time

Total number of plays this game has had since it was first published.

[ Link to this chart! ]

Players Over Time

Shows how many players this game has attracted since it was first published.

[ Link to this chart! ]

Average Play Time

How long people spend playing this game

[ Link to this chart! ]

Player Locations

Where in the world people are playing this game from

[ Link to this chart! ]


  • izmihasnan 608 rep 3

    This is awesome, thank you so much!

    This is awesome, thank you so much!
    Posted Monday, June 27, 2016 at 8:55 AM.

Leave your comment

Your opinion matters! To leave comments you'll need to register a new account or login to your exisiting account.

Your Snaps

    Trophy Shelf

    Recent Players

    • UberLou's avatar
    • megatronx's avatar
    • fisholith's avatar
    • Hasuak's avatar
    • Kyatric's avatar
    • RhapsodyInGeek's avatar
    • zifer's avatar
    • NaSTy's avatar
    • Cryptwalker's avatar
    • EmpowerMe's avatar
    • Albatr's avatar
    • pantherhead's avatar
    • Shiva's avatar
    • Fib's avatar
    • jongjongpe's avatar