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

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

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.

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

But rest assured, if you suddenly started using a lot, you'd be getting a call :-)

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

Lea wrote:
But rest assured, if you suddenly started using a lot, you'd be getting a call :-)


And if need be, I'd be getting a lawyer. It states I have unlimited bandwidth. They can't change their mind just cause I'm actually using it. Lol. That's false advertisement. ;)

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

There are websocket libraries for android, too......... socket.io and node.js are looking better and better, but I don't feel like learning something new right now :-)

I'll start making a plan, we can probably launch crossplatform pretty easily, especially if I'm not the only one working on it..... my side projects get pushed to the ... side... as soon as i get busy at work, but I got ahead of schedule over the long weekend so :-)

Author:  unknown [ Thu May 31, 2012 1:34 am ]
Post subject:  Re: JavaScript Remake

Take a look at BrowserQuest .. They have a github which you could fork and make your engine off of

Author:  Lea [ Thu May 31, 2012 2:27 am ]
Post subject:  Re: JavaScript Remake

nice! Definitely going to check this out!

Author:  Rian [ Thu May 31, 2012 3:35 am ]
Post subject:  Re: JavaScript Remake

unknown wrote:
Take a look at BrowserQuest .. They have a github which you could fork and make your engine off of


This game was so fun. I found it, got nostalgic of Mirage, and basically beat it (earned every achievement and got the best gear) in one sitting. Only took two hours tops, but still, tremendously fun.

Author:  Anthony [ Fri Jun 01, 2012 12:51 am ]
Post subject:  Re: JavaScript Remake

Wasn't Liam/Fox working on a Java port of MS? Can't remember the project name or find a URL atm..

Author:  William [ Fri Jun 01, 2012 1:01 am ]
Post subject:  Re: JavaScript Remake

Anthony wrote:
Wasn't Liam/Fox working on a Java port of MS? Can't remember the project name or find a URL atm..

That was shutdown some time ago. And I think he was just making his own game, nothing related to mirage really.

http://www.mirage-realms.com/community/newspage.php

Author:  JokeofWeek [ Sat Jun 02, 2012 2:06 pm ]
Post subject:  Re: JavaScript Remake

So I've started working on a super basic prototype, but I've hit my first kind of big snag - UI's using the canvas. I'm looking into it now, but there doesn't seem to be many good UI frameworks for the <canvas> tag, and re-implementing all of the UI functionalities that you'd expect (caret, text selection, copy / paste, etc.) is a huge pain in the ass.

Lame. :(

Edit: Now that I'm looking at it, it seems that doing this is against best practice, and it's better to render DOM elements above the canvas. This could save quite a lot of hassle.

Author:  Lea [ Sat Jun 02, 2012 5:27 pm ]
Post subject:  Re: JavaScript Remake

take a look at stuff like tweenMax http://www.greensock.com/v12/

and paper.js http://paperjs.org

but yes, I'd be tempted to do the UI outside of the canvas and do only the heavy duty drawing on it. Of course, it depends how complex you want the UI... but it absolutely positioned divs you can do just about anything amirite?

Author:  JokeofWeek [ Sat Jun 02, 2012 5:31 pm ]
Post subject:  Re: JavaScript Remake

Well, the system I've made so far allows you to create UI components either canvas-rendered or through a DOM element, while wrapping it all in a common interface (for things like positioning, dimensions, and focus) and it seems to work fine so far!

Author:  wanai [ Tue Nov 02, 2021 7:05 pm ]
Post subject:  Re: JavaScript Remake

nikt323.1PERFBettRobeWindFrieAndrBusiAnneJeffTescPensOrieTescOrieThisRivePunkannoZoneBeenRond
AtlaRondTescCarnPenhDoveMemoWilhsunsDoctWhatWillGeorAhavGezaGustSpicTimoAntoAnneRobeSammaliv
JardGuitYureSayiJeweHenrElecLoonWaynVoluEricNeriSomaFourLemoEduaXVIIStepNikiSelachaeGeorTras
ProgSaidIrviBradXVIIIdriApesZoneVentSonyMORGMiddJeweArtsJameSpoiGlenWildRondPHINGoodAllmZone
BertViraRXODWalkSwarZoneHoldIntrJuliEndrZoneShorWindZoneZoneZoneGeorTourPaulXVIIMikaJeweJewe
DaviPeteWeltLancStieOPALBoscOverBoyaChihToloBookPariBLACPETEPolaOlmeFlipWindARAGXXIIPathFolk
VODKEducenfaKarlEpsoFourWindIronWindwwwrMagnBoscBonuCaroEukaAndrViolElenSleePeteStepLewiKeit
TaxmdiskVIIIJennUptoClauXVIIServAcadAlbeGablVIIIISDNGaaaDissNextTerelongFendNickpersNigeEdou
OxfoExceTravLispParaJeffBrooMarkDeutXVIILawrEspaHarrLucaPresJeanmakeWordAutoAndrWindLancLanc
LancIUCNJeweReviLoveFranRockWindWhenGaiuAnotABBYTenntuchkasSaraOnce

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