Page 1 of 2
Poll:Minetest Browser Game

Posted:
Thu Dec 27, 2012 00:11
by jojoa1997
Who thinks that minetest should be accessible in browser and offline.
I think that Minetest should be able to be played in a browser. Like go on minetest.net and click on a link "online game" and play the game online instead of on your pc. If you dont have internet connection then play is offline or like people do now.

Posted:
Thu Dec 27, 2012 00:19
by PilzAdam
Could be nice but I dont know if its worth it. Maybe some really small test version or so.

Posted:
Thu Dec 27, 2012 00:20
by rarkenin
Definitely needs Javascript and WebGL.

Posted:
Thu Dec 27, 2012 00:22
by jojoa1997
PilzAdam wrote:Could be nice but I dont know if its worth it. Maybe some really small test version or so.
Right now i am not able to have it on my pc and it would be nice to be able to play it online. You know have it update both games when you connect to minetest.net

Posted:
Thu Dec 27, 2012 00:23
by kaeza
If minetest is buggy and laggy written in C++, think what it would be if it was written in JS/WebGL... :/
+(0.5) nice idea though

Posted:
Thu Dec 27, 2012 00:24
by jojoa1997
rarkenin wrote:Definitely needs Javascript and WebGL.
No no no. Keep it c++ if possible. Wasn't this game not made in java for a reason.

Posted:
Thu Dec 27, 2012 00:28
by kaeza
jojoa1997 wrote:rarkenin wrote:Definitely needs Javascript and WebGL.
No no no. Keep it c++ if possible. Wasn't this game not made in java for a reason.
... I reserve my comments on this ...

Posted:
Thu Dec 27, 2012 00:32
by rarkenin
I doubt Minetest would compile in something like
emscripten considering how complex and hardware-specific Irrlicht is.

Posted:
Thu Dec 27, 2012 10:49
by Zeg9
This would be good but not really possible.
It would also require precompiled binaries for each os... and precompiled libraries for each os...
...Or an in-browser compiler ? :D
Yeah; I say all sorts of things.
I know you're requesting that for android.
And I doubt android would run that, except if it is completely rewritten in java or flash... or javascript...
Just install a regular GNU/Linux distribution on your tablet if you really want to play on it.
Minetest compiles fine on wii linux so why not on an android device ;)

Posted:
Thu Dec 27, 2012 10:52
by LorenzoVulcan
Sauerbraten is a game that runs 200 FPS.His web porting (BananaBread) is just 10% of the game and runs with 20 FPS.
Minetest runs 50 FPS.An emscripten web porting will implode your monitor.

Posted:
Thu Dec 27, 2012 11:27
by PilzAdam
LorenzoVulcan wrote:Sauerbraten is a game that runs 200 FPS.His web porting (BananaBread) is just 10% of the game and runs with 20 FPS.
Minetest runs 50 FPS.An emscripten web porting will implode your monitor.
On my machine Minetest runs at 200 FPS too.

Posted:
Thu Dec 27, 2012 12:13
by Calinou
LorenzoVulcan wrote:Sauerbraten is a game that runs 200 FPS.His web porting (BananaBread) is just 10% of the game and runs with 20 FPS.
Minetest runs 50 FPS.An emscripten web porting will implode your monitor.
Don't forget Sauerbraten runs mostly on the GPU, so Minetest would be even slower if ported to JavaScript + WebGL, since it is more CPU-intensive. :)
I don't think it's worth it. It won't bring more players ("laziness" is not an argument, the game download is only about 6MB, very small compared to today's AAA games) and it adds a lot of effort, especially for maintenance.

Posted:
Thu Dec 27, 2012 12:51
by Ragnar
maybe a mytest game, similar to minetest (a minetest rip off) that ran on unity web player... =) and it could be easilly ported to wii u, android etc...

Posted:
Thu Dec 27, 2012 12:53
by LorenzoVulcan
Ragnar wrote:maybe a mytest game, similar to minetest (a minetest rip off) that ran on unity web player... =) and it could be easilly ported to wii u, android etc...
>Unity
Nope.

Posted:
Thu Dec 27, 2012 14:47
by Zeg9
Ragnar wrote:maybe a mytest game, similar to minetest (a minetest rip off) that ran on unity web player... =) and it could be easilly ported to wii u, android etc...
Unity --> proprietary engine --> Nope

Posted:
Thu Dec 27, 2012 15:10
by nomohakon
PilzAdam wrote:LorenzoVulcan wrote:Sauerbraten is a game that runs 200 FPS.His web porting (BananaBread) is just 10% of the game and runs with 20 FPS.
Minetest runs 50 FPS.An emscripten web porting will implode your monitor.
On my machine Minetest runs at 200 FPS too.
Lucky you.

Posted:
Thu Dec 27, 2012 15:11
by rubenwardy
There is a webgl port being written for Irrlicht, iirc, so this may be possible in the future.

Posted:
Thu Dec 27, 2012 17:38
by Ragnar
@ThatDudeWithTheCoolMask = ikr xD

Posted:
Thu Dec 27, 2012 18:28
by rarkenin
nomohakon wrote:PilzAdam wrote:LorenzoVulcan wrote:Sauerbraten is a game that runs 200 FPS.His web porting (BananaBread) is just 10% of the game and runs with 20 FPS.
Minetest runs 50 FPS.An emscripten web porting will implode your monitor.
On my machine Minetest runs at 200 FPS too.
Lucky you.
My silly GPU Distributed computing is stealing my FPS. With it, I'm getting around 35(CPU load for mapgen and stuff, also)(With range_all on), with CPU computing only, it doesn;t help so the bottleneck is the CPU, but in range_all, it does.

Posted:
Sat Dec 29, 2012 00:59
by Sauerbraten Fan

Posted:
Tue Jan 01, 2013 19:19
by hdastwb
NaCl?
http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=46400That way, Minetest would stay native (more or less) and yet work in the browser. Only Chrome supports it, though, as none of the other browsers seem to see the benefit of native code.
I remember once when I was trying to type an E-mail while my brother had the antiquated web version of Minecraft open in the background; there was a couple second's delay between my typing and letters showing up on the screen. Sure, Minetest is designed to be more efficient than Minecraft; yet, considering that JavaScript still lags behind Java in the snail race of interpreted platforms, I think implementing an infinite voxel engine such as Minetest in JavaScript is pushing the technology a bit farther than it was designed to go.

Posted:
Tue Jan 01, 2013 19:31
by jojoa1997
hdastwb wrote:NaCl?
http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=46400That way, Minetest would stay native (more or less) and yet work in the browser. Only Chrome supports it, though, as none of the other browsers seem to see the benefit of native code.
I remember once when I was trying to type an E-mail while my brother had the antiquated web version of Minecraft open in the background; there was a couple second's delay between my typing and letters showing up on the screen. Sure, Minetest is designed to be more efficient than Minecraft; yet, considering that JavaScript still lags behind Java in the snail race of interpreted platforms, I think implementing an infinite voxel engine such as Minetest in JavaScript is pushing the technology a bit farther than it was designed to go.
I agree stay with irrlicht. The whole point of this poll was to get a minetest game on the internet not a minetest(copy) that is written in java.

Posted:
Tue Jan 01, 2013 19:34
by jojoa1997
I added a poll

Posted:
Thu Jan 10, 2013 20:55
by kaeza
Doing this in Java is a no-no. The original intent of doing this in C++ is the speed. C++ compiles to native code, so it's the fastest way of doing things.
Running Minetest in a browser will prolly hang the browser (or viceversa) when the one of them uses too much CPU, like when Flash Player is running.
All in all, I don't think this project is worth the effort.
I vote for no.

Posted:
Fri Jan 11, 2013 04:27
by .Luke
I have to agree with kaeza. Much of the point of Minetest was to be written in native machine code instead of running scripts through a slow interpreter engine, like Java or Javascript. Minecraft ran poorly enough on my older cousin's laptop, and he has a similar set of specs to my system, so whenever Minetest's framerate cuts in half looking at my ocean base, I can't begin to imagine how much harder my CPU would cry if the game was written in Java instead.
Not worth it, IMO. I quite like an efficient, infinite sandbox game that doesn't constantly hiccup and chug on my Intel hardware like a dying animal. A hacky Java version wouldn't convince anyone new to Minetest that it's any better, or different, from Minecraft. Even with a disclaimer saying the Java version is slower, it still wouldn't be a good first impression. It doesn't take but maybe a minute to download and extract on most connections anyway, so if somebody's really interested in trying it out, they'll just download it and run the game as it is now. I know I was pretty eager to install the Ubuntu package when Minetest was mentioned on the Ubuntu forums, for instance. =P

Posted:
Fri Jan 11, 2013 10:52
by jojoa1997
Java was only meant to be there for consideration. If you thought i want a java browser game then your crazy. I got google chrome and from what i heard it supports irrlicht. Sadly only chrome supports it. So the topic was meant to go from any one of those to irrlicht on chrome. Sorry non chrome users.

Posted:
Fri Jan 11, 2013 10:53
by jojoa1997
winner-irrlicht in chrome

Posted:
Fri Jan 11, 2013 13:46
by PilzAdam
kaeza wrote:C++ compiles to native code, so it's the fastest way of doing things.
Wrong, Assembler is faster.

Posted:
Fri Jan 11, 2013 13:48
by jojoa1997
So is anyone up to making one fort browser's

Posted:
Fri Jan 11, 2013 23:02
by hdastwb
PilzAdam wrote:kaeza wrote:C++ compiles to native code, so it's the fastest way of doing things.
Wrong, Assembler is faster.
And, one writing their executable byte by byte in machine code has full control of their code's execution and has many options for doing interesting things to get it to run faster. I think this is the method "real" programmers useā¦
http://xkcd.com/378/