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 just was wondering if there is a way to change the color of SpriteFont during the execution of the layout..
I believe you have to use effects to do that. If you don't want to use effects then you would have to add different versions of the sprite font colored how you want them and switch between them if I'm not mistaken.
What type of effect? What's his name?
Like I said I've never done it. You would have to play around with them to find out what you like and what would work with your application. Off the top of my head I would think that the effect SetColor might be a good place to start.
Yes SetColor will do it but see my current thread about weird effects in the editor. AND it doesn't seem to really give the colours you specify... play with it and let me know what you think.
Develop games in your browser. Powerful, performant & highly capable.
SetColor doesn't seem to work for me at all. I guess my preview doesn't webGL?
SetColor is just what I wanted! Thanks!
codah I just needed the red and green, so I do not know if the the nuances of colors work, however, the change from green to red works.
Unnatural20 Yes, I think this is your problem