Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 9:12 am

All times are UTC




Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: JavaScript Remake
PostPosted: Sun May 27, 2012 10:26 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Lots of good memories from this place

so, anyone ever think of doing a javascript remake? :P

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
PostPosted: Mon May 28, 2012 12:53 am 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
Java would be nice. I'd like to see a group effort for some sort of mobile phone version.

I don't really program at all anymore. I've filled gap in my time, formerly known as Mirage Source, with one too many hobbies over the past three years :P

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Last edited by Rian on Mon May 28, 2012 3:35 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 3:19 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
I think with the HTML 5 release and growing support for websockets, a javascript version is totally possible...

The benefits would be
1) Load it just like any other web page
2) Interact right on the web, no third party clients or extra software
3) Javascript is just freakin amazing :P

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 3:59 pm 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
Browser based would be pretty sweet. How would editors for something like this work? And I guess there wouldn't really be a 'server'? Just a database?

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:09 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
I think this definitely could be done with websockets and canvas. The back-end could be done using Node.js, and the websockets stuff using Socket.io.

An in-browser version would be sweet. I miss the good old days of having a project to work on..

_________________
Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:13 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
there would be a web server backend and a javascript frontend.

PHP backend is too much overhead, I'm thinking (using standard ajax http requests)

so something like Node.js with Socket.io would be better because it allows 2-way communication and far less overhead per packet.

But, then we require a server with shell access, at least. Not that big of a deal....

As far as editors, we could do the in-game editor like MS has done in the past, or a local editor, doesn't matter.

Data would be stored in a database and queried as needed; the javascript backend would execute the queries, get the data, and pass it up to the clients

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:14 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
well if you want, I'll toss up a bitbucket repository public and we can get to work :P

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:17 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
JokeofWeek wrote:
I miss the good old days of having a project to work on..

Lea wrote:
well if you want, I'll toss up a bitbucket repository public and we can get to work :P

Thats the spirit!

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:20 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
I've been thinking of doing it for a while :P

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:21 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
Well, while there are PHP Websocket libraries, I think that it would be very interesting to use Node.js as it could lower the 'barrier of entry' for new programmers, since they don't have to learn two different languages.

As for the editors, I think either a seperate version of the client or stand-alone editors would need to be made. Since the entire client source is visible, it could easily become vulnerable, and the client would need to be bulletproof.

The database part could be very interesting depending on if you want a standard SQL database, or some NoSQL solution like mongo.

Hmm.. could be very interesting! :D

_________________
Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:24 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Sorry, I demand MySQL :P

seems like node.js and socket.io are the popular choice; I would be ~much~ more comfortable with php

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:26 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
Haha, I'm looking into it now and am curious if binary data is supported by Socket.io.. all I've ever done before is used it for JSON. It'd definitely be preferrable if we could start with binary packets, rather then converting it all later.

Edit: This might be an interesting library to use.

_________________
Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:30 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
yeah looks good; I won't be able to work on it until tonight..

I have some like.. real life projects... that I am paid for... to work on right now :P

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 4:33 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
Lea wrote:
yeah looks good; I won't be able to work on it until tonight..

I have some like.. real life projects... that I am paid for... to work on right now :P


Haha yeah, I definitely feel that. I'm all excited now, but I know the fist of reality will be punching me in a few minutes :(

_________________
Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 8:08 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
I think compressed JSON would be better, here's a library to do zip in js http://stuartk.com/jszip/

It looks like the implementation of BiSON is a little buggy, but not too many problems have been shared - I'd like to test both before we decide :)

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 9:05 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
The more I read on websockets, the more I am meh

Have you ever used them?

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 9:07 pm 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
Honestly, I think the real market for this would be Android and iOS. Mobile gaming would generate much more players and much more revenue for those who wish to make their game not F2P or make it have a cash shop.

Just sayin'.

That would make it Java for Android. Not sure about iOS, though. Don't like it. Lol.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 9:08 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
if it's made with html5 and js it can be opened on any phone ;)

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 9:09 pm 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
Won't run the same, though. It won't be native to the device.

Me and Rian were discussing this. If I were to reprogram FADE into anything, it would be an Android app.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 9:12 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Was just googeling for fun, is this anything your talking about:

Client: http://github.com/BonsaiDen/NodeGame-Sh ... .client.js
Server: http://github.com/BonsaiDen/NodeGame-Sh ... odegame.js

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 9:22 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
maybe, yeah

https://github.com/greevex/php-websocket this library looks totally easy to use, but it's old

https://github.com/lemmingzshadow/php-websocket this is a much more recently updated library (forked from greevex') and it might be better...

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 9:27 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
I've worked with Websockets, but they are indeed a bit meh. Socket.io provides a nice interface for it but it's still not perfect.

I've been hacking around for part of the afternoon to make at least a small prototype, but there are some annoyances with Node - it's callback hell lol.

_________________
Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Mon May 28, 2012 9:28 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
You have some deciding to do :P

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Tue May 29, 2012 4:14 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
How is android's socket interface? Oh would we be stuck doing it over http anyways with android? All the networking I've done with android has been http requests.... if we develop an http API, it would be easy to make a client in both Java for android and JavaScript for web... bit of latency and higher bandwidth that way, but come on, its 2012 and bandwidth is cheap .... and we can reduce it using clever tricks

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject: Re: JavaScript Remake
PostPosted: Tue May 29, 2012 4:17 pm 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
Lea wrote:
How is android's socket interface? Oh would we be stuck doing it over http anyways with android? All the networking I've done with android has been http requests.... if we develop an http API, it would be easy to make a client in both Java for android and JavaScript for web... bit of latency and higher bandwidth that way, but come on, its 2012 and bandwidth is cheap .... and we can reduce it using clever tricks


Webpage wise, I pay $7/mo for unlimited space and bandwidth. Lol.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 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
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group