A few days ago, we posted on my blog that we are getting ready two games built in Moscrif. The games are coded and we are waiting for our graphic designers to give them a nice look.
Till that time comes. I would like to present a sneak peak of our first tutorial for object-oriented JavaScript. Now, I probably know what you are thinking. No one wants to define classes through functions. Well, Moscrif is different.
How? It allows you to setup classes just as any other object-oriented language.
This is how class can be included in your application: include “app://functionView.ms”
Then, you can easily create new instance of the class.
this.functionView = new FunctionView();
this.functionView.native.visible = false
Properties can be modified according to programmers needs or convenience
And the last step, adding your class to your application app.add(this.functionView);
Notice how we used MetroSkin for this application. You can easily set up your own screen (even the one for Windows Mobile) and apply it to every platform supported by Moscrif ( iOS, Android, bada, Symbian, Windows Mobile)
