Has anyone got any idea how practical it would be to port Oolite to JavaScript?
Emscripten (and others) will apparently compile C++ to JavaScript, and as I would like to be able to play Oolite on my ChromeBook, this seemed a possible route.
JavaScript / Emscripten
Moderators: winston, another_commander
Re: JavaScript / Emscripten
Oolite is written in objective C, not C++. Even if there were a similar thing for objective C, I'd vote for insanely impractical.
-
- Quite Grand Sub-Admiral
- Posts: 6680
- Joined: Wed Feb 28, 2007 7:54 am
Re: JavaScript / Emscripten
The first problem I see here is that Oolite is not written in C++. But even if you manage to find something that translates Objective-C to Javascript, I still don't see it happening.
Edit: Ninjas everywhere.
Edit: Ninjas everywhere.
Re: JavaScript / Emscripten
Oops! My bad. I had a brain fart - of course Oolite is written Objective C.
Re: JavaScript / Emscripten
What we want is a full rewrite of oolite in HTML5/WebGL.
A daunting task for sure, but a man can dream.
Me, I'm currently reading about WebGL and I'd love to try to at least make a mini-game where the goal would be to dock to a coriolis station:
Also, it so happens that a WebGL online course will begin in a few days on coursera:
https://www.coursera.org/course/webgl
Again, a man can dream !
A daunting task for sure, but a man can dream.
Me, I'm currently reading about WebGL and I'd love to try to at least make a mini-game where the goal would be to dock to a coriolis station:
Also, it so happens that a WebGL online course will begin in a few days on coursera:
https://www.coursera.org/course/webgl
Again, a man can dream !
Re: JavaScript / Emscripten
I've done some playing about with Three.js, but currently have limited bandwidth due to day_job && small_child_monster++grondilu wrote:What we want is a full rewrite of oolite in HTML5/WebGL.
...
Also, it so happens that a WebGL online course will begin in a few days on coursera:
https://www.coursera.org/course/webgl
If you get something going with WebGL that would be awesome. If you're putting code on GitHub or similar please post coordinates.
Re: JavaScript / Emscripten
I created a new thread because this one was explicitly about Emscripten.Crush wrote:I've done some playing about with Three.js, but currently have limited bandwidth due to day_job && small_child_monster++grondilu wrote:What we want is a full rewrite of oolite in HTML5/WebGL.
...
Also, it so happens that a WebGL online course will begin in a few days on coursera:
https://www.coursera.org/course/webgl
If you get something going with WebGL that would be awesome. If you're putting code on GitHub or similar please post coordinates.
https://bb.oolite.space/viewtopic.php?f=5&t=17433
-
- ---- E L I T E ----
- Posts: 675
- Joined: Sat Aug 09, 2014 4:16 pm
Re: JavaScript / Emscripten
You actually created a new thread called WebGL effortgrondilu wrote:I created a new thread because this one was explicitly about Emscripten.
https://bb.oolite.space/viewtopic.php?f=5&t=17433