Scirra Arcade

426 players / 578 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

w

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

578 total plays

476 guest plays

102 Scirra member plays

Users Stats

426 unique players

349 unique guests

77 Scirra members

Last Updated

Game stats last updated 0.000483361666666667 minutes ago

Time Stats

2 hours 8 minutes total play time

1 minute 5 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 328 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
    • fisholith's avatar
    • Hasuak's avatar
    • Kyatric's avatar
    • zifer's avatar
    • NaSTy's avatar
    • Cryptwalker's avatar
    • jongjongpe's avatar
    • peteraf's avatar
    • ramosalvaro's avatar
    • velcroJoe's avatar
    • kantin's avatar
    • dante's avatar
    • aahart's avatar
    • kototouchdown's avatar