sprite kit - Swift Changing the Background of SKScene -


the scene im present linked skscene, how change background color of scene programmatically?

import uikit import spritekit import coregraphics class coolscene: skscene {   } 

you can change background via self.backgroundcolor.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -