Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Modular structure for html5 game "scenes" using angular+browserify+less
Post Body

Hey guys, I'm using what I think is a novel architecture for organizing the parts of the-oregon-trajectory.

I've broken parts of the game into "scenes" which each have their own html, js/coffeescript, and .less files. This way different people can take full ownership over a game "module" without having to tiptoe around each other's code. Modules are defined as angular directive which get hidden/shown to switch scenes and the js/css is bundled so you never have to worry about including new scripts.

It's definitely not perfect, but I think it's very interesting, especially since it seems like it will make re-using modules/scenes/whateverYouWantToCallThem very easy.

What are your thoughts on this architecture? Does it make sense or will this non-conformity come back to bite me later? See anything else I could improve?

Author
User Disabled
Account Strength
0%
Disabled 9 months ago
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
5,059
Link Karma
522
Comment Karma
4,499
Profile updated: 1 week ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago