Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Angular JS for game UI

I am currently building a web game using html5 and the Impact JS game engine. I want to overlay html components over the top of the canvas/impact engine, and I was looking for some frameworks that would help with ui/dependency injection/databinding etc.

So I found angular js, and was so happy to see such a wonderful framework until after a few days of research I encounter this little snippet in their developer guides.

"Games, and GUI editors are examples of very intensive and tricky DOM manipulation. These kinds of apps are different from CRUD apps, and as a result are not a good fit for Angular. In these cases using something closer to bare metal such as jQuery may be a better fit."

This was somewhat upsetting, partly because I cant seem to find any specifics about this statement. If I am trying to use angular for rendering/looping a game engine, then yea its probably not going to be great, but surely it should be fine as just a UI layer?

Is there anyone out there with experience in this area, there are some tricky UI things that I need to do that would take a lot longer I believe without using something like Angular JS.

like image 817
user1926760 Avatar asked Dec 24 '12 13:12

user1926760


1 Answers

There's a plugin to to overlay UI elements

Overlays

like image 170
Prat Avatar answered Sep 21 '22 12:09

Prat