Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I don't know if this is stupid idea, but is there any way to detect with which color player has collided?
instance sprite variable color (eg sprite.color="red")
sprite2 on collision with sprite
then your action
else sprite.color="green" then your other action
Develop games in your browser. Powerful, performant & highly capable.
Thanks, but is this possible to do with one sprite? I mean, I have one big sprite that has 4 different colors, so I need to comapre it without any variables, because I can't set this.
with one sprite and 4 different animations the trick is the same
Oh, thanks. I didn't realize it.