Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Game Development How to Make a Video Game Score, Enemies, and Game State Add the Score Counter UI

canvas: screen space overlay, camera & world space

Could someone further explain what screen space overlay, camera & world space do and possible give examples? I'm lost.

1 Answer

Quinton Gordon
Quinton Gordon
10,985 Points

Hey Chelsea,

So an overlay is literally just an element on top of another screen. Think about when you play a first person shooter. The screen will have a heads up display that might include your health and ammo count. Those UI items are not part of the main screen and just hovering over it.