Oolite Bulletins

For information and discussion about Oolite.
It is currently Sat Aug 19, 2017 8:26 pm

All times are UTC




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: JavaScript / Emscripten
PostPosted: Sat May 09, 2015 2:08 pm 
Offline
Competent
Competent

Joined: Tue Oct 20, 2009 2:07 pm
Posts: 32
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.


Top
   
PostPosted: Sat May 09, 2015 2:48 pm 
Offline
Commodore
Commodore
User avatar

Joined: Thu Nov 07, 2013 10:21 pm
Posts: 281
Oolite is written in objective C, not C++. Even if there were a similar thing for objective C, I'd vote for insanely impractical.


Top
   
PostPosted: Sat May 09, 2015 2:51 pm 
Offline
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral

Joined: Wed Feb 28, 2007 7:54 am
Posts: 4898
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.


Top
   
PostPosted: Sat May 09, 2015 7:15 pm 
Offline
Competent
Competent

Joined: Tue Oct 20, 2009 2:07 pm
Posts: 32
Oops! My bad. I had a brain fart - of course Oolite is written Objective C.


Top
   
PostPosted: Sat Jun 27, 2015 2:56 pm 
Offline
Competent
Competent

Joined: Sat Jun 27, 2015 2:48 pm
Posts: 42
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:

Image


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 ! :lol:


Top
   
PostPosted: Mon Jun 29, 2015 7:59 pm 
Offline
Competent
Competent

Joined: Tue Oct 20, 2009 2:07 pm
Posts: 32
Quote:
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
I've done some playing about with Three.js, but currently have limited bandwidth due to day_job && small_child_monster++

If you get something going with WebGL that would be awesome. If you're putting code on GitHub or similar please post coordinates.


Top
   
PostPosted: Mon Jun 29, 2015 8:37 pm 
Offline
Competent
Competent

Joined: Sat Jun 27, 2015 2:48 pm
Posts: 42
Quote:
Quote:
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
I've done some playing about with Three.js, but currently have limited bandwidth due to day_job && small_child_monster++

If you get something going with WebGL that would be awesome. If you're putting code on GitHub or similar please post coordinates.
I created a new thread because this one was explicitly about Emscripten.

http://aegidian.org/bb/viewtopic.php?f=5&t=17433


Top
   
PostPosted: Mon Jun 29, 2015 9:06 pm 
Offline
Deadly
Deadly

Joined: Sat Aug 09, 2014 4:16 pm
Posts: 159
Quote:
I created a new thread because this one was explicitly about Emscripten.

http://aegidian.org/bb/viewtopic.php?f=5&t=17433
You actually created a new thread called WebGL effort :D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited