Scirra Arcade

1,049 players / 1,343 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)

Version 1.0.0.0

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

1,343 total plays

1,166 guest plays

177 Scirra member plays

Users Stats

1,049 unique players

911 unique guests

138 Scirra members

Last Updated

Game stats last updated 0.000520001666666667 minutes ago

Time Stats

4 hours 30 minutes total play time

59 seconds 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! ]

Comments

  • izmihasnan 478 rep 2

    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
    • TL22's avatar
    • zifer's avatar
    • NaSTy's avatar
    • Cryptwalker's avatar
    • pantherhead's avatar
    • Shiva's avatar
    • Fib's avatar
    • jongjongpe's avatar
    • villmaxie's avatar
    • peteraf's avatar