Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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")
condition
sprite2 on collision with sprite
sprite.color="red"
then your action
else sprite.color="green" then your other action
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.
Develop games in your browser. Powerful, performant & highly capable.
with one sprite and 4 different animations the trick is the same
Oh, thanks. I didn't realize it.