You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Console.boot which actually is not that useful because:
Cannot subscribe to additional effects;
Cannot be an interactive part of the update because you only update Model -> Model which means you cannot intercept additional messages;
Cannot do additional customizations over the view outside the draw commands;
Using the functions for creating the assets, scene, sprites, display, keyboard events, etc.
This is also broken at this moment because those modules are not exposed in your elm-package.json.
About the first approach it seems to be easier to start developing & I tried to make a more convenient wrapping such as Navigation.
My idea was to have all the functions for a Html.program wrapped & further exposed for the developer to leverage them. This is a sample wrapped Elm program which does what I had intended .
I tried to implement that in your existing codebase but had issues over which couldn't surpass. This is my rework so far on Console.elm.
In my opinion it's better to continue in the second approach but to wrap most of the setup for the game-engine's state inside a module such as Console.
Great job so far! 🥇
The text was updated successfully, but these errors were encountered:
kexoth
changed the title
Further Development?
Further Development Direction?
Aug 14, 2017
As I saw in your examples you have 2 approaches:
Console.boot
which actually is not that useful because:Model -> Model
which means you cannot intercept additional messages;elm-package.json
.About the first approach it seems to be easier to start developing & I tried to make a more convenient wrapping such as Navigation.
My idea was to have all the functions for a
Html.program
wrapped & further exposed for the developer to leverage them. This is a sample wrapped Elm program which does what I had intended .I tried to implement that in your existing codebase but had issues over which couldn't surpass. This is my rework so far on
Console.elm
.In my opinion it's better to continue in the second approach but to wrap most of the setup for the game-engine's state inside a module such as
Console
.Great job so far! 🥇
The text was updated successfully, but these errors were encountered: