-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This needs a complete overhaul #55
Comments
Sounds super. Would like to preserve the possibility to include lyria into a project which uses grunt |
I'm not sure if I'll use Webpack for bundling the library yet. As for compatibility, I'd probably release the current master as stable in a bit (which is somewhat compatible to the 0.2.x releases) and do a clean cut then. |
As it's been quiet a while since I've been working with lyria I don't know if this statement is still valid, but: For some parts of the library / framework consider using angularjs. With it's MVC structure it has a build - in template language for the views, a clean separation between the model and the view itself and provides routing components. This would free lyria from the overhead of doing rendering things (which is quiet an development effort itself), provide a template based approach for defining scenes in a way common to many JS - developers (which could increase the number of contributors), and leaving the core functionality of lyria being a framework for developing games. |
I wouldn't use angularJS at least not version 1. The two-way binding would eat up most of the performance. |
Habt ihr da mal Performancetests gefahren? Wie lange dauert der Aufbau einer Scene mit Angularjs vs. direkt mit Lyria? |
Thank you for your feedback @Peter-Rene-Menges. To be honest if I had known that someone else except me is going to read the issue afterwards I wouldn't have made the initial description sound as brash as it currently does. I feel some context may be missing and I don't want this issue being turned into a discussion about comparing performance of different frameworks. Lyria in itself has a hard time finding an audience. I've identified these points as potential problems:
While each of those points is important on its own and some of them are intertwined, this issue is supposed to deal with point six of this list. I agree that for Lyria to gain more popularity and potential contributors, Lyria needs to have more of a unique selling point either to web developers or game developers. Having a stricter MVC structure might be the way to go here. As for Lyria's vision and target audience specifically, I'm having a hard time coming up with something absolute. Additionally, I myself prototyped a couple of alternatives that have a clearer vision and fit better for specific purposes:
|
@frostney thank your for this clarification and extensive answer. I like the idea behing moira as this pure declarative approach in game termonogy with GameObject Scene and Texture seems to be quiet common amongst developers. |
While some of this isn't regarding the core library, the workflow should also be improved and simplified.
Some ideas:
Things I don't like about the current architecture:
I'm also thinking about moving to a more generic XML-style syntax:
The text was updated successfully, but these errors were encountered: