Mirage Source
http://miragesource.net/forums/

JavaScript Remake
http://miragesource.net/forums/viewtopic.php?f=217&t=9850
Page 1 of 2

Author:  Lea [ Sun May 27, 2012 10:26 pm ]
Post subject:  JavaScript Remake

Lots of good memories from this place

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

Author:  Rian [ Mon May 28, 2012 12:53 am ]
Post subject:  Re: Welcome to the Old Mirage Source

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

Author:  Lea [ Mon May 28, 2012 3:19 pm ]
Post subject:  Re: JavaScript Remake

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

Author:  Rian [ Mon May 28, 2012 3:59 pm ]
Post subject:  Re: JavaScript Remake

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?

Author:  JokeofWeek [ Mon May 28, 2012 4:09 pm ]
Post subject:  Re: JavaScript Remake

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..

Author:  Lea [ Mon May 28, 2012 4:13 pm ]
Post subject:  Re: JavaScript Remake

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

Author:  Lea [ Mon May 28, 2012 4:14 pm ]
Post subject:  Re: JavaScript Remake

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

Author:  William [ Mon May 28, 2012 4:17 pm ]
Post subject:  Re: JavaScript Remake

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!

Author:  Lea [ Mon May 28, 2012 4:20 pm ]
Post subject:  Re: JavaScript Remake

I've been thinking of doing it for a while :P

Author:  JokeofWeek [ Mon May 28, 2012 4:21 pm ]
Post subject:  Re: JavaScript Remake

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

Author:  Lea [ Mon May 28, 2012 4:24 pm ]
Post subject:  Re: JavaScript Remake

Sorry, I demand MySQL :P

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

Author:  JokeofWeek [ Mon May 28, 2012 4:26 pm ]
Post subject:  Re: JavaScript Remake

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.

Author:  Lea [ Mon May 28, 2012 4:30 pm ]
Post subject:  Re: JavaScript Remake

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

Author:  JokeofWeek [ Mon May 28, 2012 4:33 pm ]
Post subject:  Re: JavaScript Remake

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 :(

Author:  Lea [ Mon May 28, 2012 8:08 pm ]
Post subject:  Re: JavaScript Remake

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 :)

Author:  Lea [ Mon May 28, 2012 9:05 pm ]
Post subject:  Re: JavaScript Remake

The more I read on websockets, the more I am meh

Have you ever used them?

Author:  Matt [ Mon May 28, 2012 9:07 pm ]
Post subject:  Re: JavaScript Remake

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.

Author:  Lea [ Mon May 28, 2012 9:08 pm ]
Post subject:  Re: JavaScript Remake

if it's made with html5 and js it can be opened on any phone ;)

Author:  Matt [ Mon May 28, 2012 9:09 pm ]
Post subject:  Re: JavaScript Remake

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.

Author:  William [ Mon May 28, 2012 9:12 pm ]
Post subject:  Re: JavaScript Remake

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

Author:  Lea [ Mon May 28, 2012 9:22 pm ]
Post subject:  Re: JavaScript Remake

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...

Author:  JokeofWeek [ Mon May 28, 2012 9:27 pm ]
Post subject:  Re: JavaScript Remake

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.

Author:  William [ Mon May 28, 2012 9:28 pm ]
Post subject:  Re: JavaScript Remake

You have some deciding to do :P

Author:  Lea [ Tue May 29, 2012 4:14 pm ]
Post subject:  Re: JavaScript Remake

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

Author:  Matt [ Tue May 29, 2012 4:17 pm ]
Post subject:  Re: JavaScript Remake

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.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/