Search found 9 matches

by Olof
24 May 2011, 19:04
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Re: Radical suggestion: Move to HTML5

Hi Olof, I have a simple question: What reason made you think about javascript for The Mana World? What motivated you in proposing your suggestion? Best regards. Because I want to code a javascript based 2D RPG. And instead of just starting on my own I am researching other similar projects, trying ...
by Olof
23 May 2011, 10:41
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Re: Radical suggestion: Move to HTML5

Good point there. You are probably right about that such problems are introduced when using a weakly typed language. I must admit that I never participated in a project of the same size as the Mana project, so I would not know if the weak typing is an issue. About someting else: I found this nice ar...
by Olof
22 May 2011, 19:59
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Re: Radical suggestion: Move to HTML5

Well of course saving loads of time is not an argument in the TMW case :D
It would rather take loads of time to recode it from scratch :roll:
However all the other benefits such as decreased code complexity, no installation needed etc still applies ^^
by Olof
22 May 2011, 19:57
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Re: Radical suggestion: Move to HTML5

You can't rely on the browsers cache. Every browser uses its own caching strategy. The expires and/or cache-control header sent by the server is merely treated as a recommendation. Most browsers have a configurable quota of disk cache, and when this cache is full it decides what to discard based on...
by Olof
22 May 2011, 19:31
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Re: Radical suggestion: Move to HTML5

Why should the server not be coded in js as well? Because that's not what Javascript was designed for. Javascript was designed for little code snippets embedded in HTML to make websites more interactive. It was never intended to code a more complex application in it. Being forced to distribute it a...
by Olof
22 May 2011, 19:16
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Re: Radical suggestion: Move to HTML5

I think the main reason which prevents HTML5 from being used for more elaborate games is that it is not possible to store a lot of data on the client. Cookies can only store a few bytes and even the new DOM storage feature goes only up to about 5-10 MB, depending on the browser. When you need more ...
by Olof
22 May 2011, 17:53
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Re: Radical suggestion: Move to HTML5

Crush wrote:While the new possibilities of HTML5 (especially when using WebGL) are impressive, the Mana project is already in a too advanced state to start from scratch.
I both understand and expected that opinion :)
by Olof
22 May 2011, 17:23
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Re: Radical suggestion: Move to HTML5

More details on technology The server should be coded in javascript as well. For this we should use node js project: http://nodejs.org/ LOL. Why o why. What an intelligent and constructive comment :wink: Why should the server not be coded in js as well? There are three "code-places": clie...
by Olof
22 May 2011, 11:36
Forum: General Development
Topic: Radical suggestion: Move to HTML5
Replies: 21
Views: 7767

Radical suggestion: Move to HTML5

Hello I have a very radical suggestion for you :mrgreen: HTML5 is the future. You should code the mana world completely in javascript instead. It very much possible. Take a look at this simple example I coded: http://game.sylt.nu/example/ <-- Look at this Use scroll-wheel to zoom in and out, WASD or...