JavaScript Remake

Discuss the potential future or ports of the engine.

Re: JavaScript Remake

Postby Lea » Tue May 29, 2012 4:19 pm

But rest assured, if you suddenly started using a lot, you'd be getting a call :-)
User avatar
Lea
Community Leader
 
Posts: 1762
Joined: Sun May 28, 2006 10:29 pm
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com

Re: JavaScript Remake

Postby Matt » Tue May 29, 2012 4:23 pm

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. ;)
Matt
Persistant Poster
 
Posts: 701
Joined: Fri Jun 26, 2009 10:15 pm
Google Talk: FAProductions

Re: JavaScript Remake

Postby Lea » Tue May 29, 2012 4:29 pm

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 :-)
User avatar
Lea
Community Leader
 
Posts: 1762
Joined: Sun May 28, 2006 10:29 pm
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com

Re: JavaScript Remake

Postby unknown » Thu May 31, 2012 1:34 am

Take a look at BrowserQuest .. They have a github which you could fork and make your engine off of
unknown
Regular
 
Posts: 43
Joined: Sun Apr 26, 2009 11:22 pm
Location: Cincinnati, OH
Google Talk: rj.cox101@gmail.com

Re: JavaScript Remake

Postby Lea » Thu May 31, 2012 2:27 am

nice! Definitely going to check this out!
User avatar
Lea
Community Leader
 
Posts: 1762
Joined: Sun May 28, 2006 10:29 pm
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com

Re: JavaScript Remake

Postby Rian » Thu May 31, 2012 3:35 am

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.
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image
User avatar
Rian
Persistant Poster
 
Posts: 836
Joined: Tue May 30, 2006 2:07 am
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com

Re: JavaScript Remake

Postby Anthony » Fri Jun 01, 2012 12:51 am

Wasn't Liam/Fox working on a Java port of MS? Can't remember the project name or find a URL atm..
Anthony
Pro
 
Posts: 420
Joined: Mon May 29, 2006 5:01 pm
Location: Canada, BC
Google Talk: anthony.fleck@gmail.com

Re: JavaScript Remake

Postby William » Fri Jun 01, 2012 1:01 am

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
I'm on Facebook!My Youtube Channel Send me an email
Image
User avatar
William
Community Leader
 
Posts: 2535
Joined: Mon May 29, 2006 1:00 pm
Location: Sweden
Google Talk: johansson_tk@hotmail.com

Re: JavaScript Remake

Postby JokeofWeek » Sat Jun 02, 2012 2:06 pm

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.
Image
User avatar
JokeofWeek
Knowledgeable
 
Posts: 213
Joined: Sun Nov 19, 2006 6:59 pm

Re: JavaScript Remake

Postby Lea » Sat Jun 02, 2012 5:27 pm

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?
User avatar
Lea
Community Leader
 
Posts: 1762
Joined: Sun May 28, 2006 10:29 pm
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com

Re: JavaScript Remake

Postby JokeofWeek » Sat Jun 02, 2012 5:31 pm

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!
Image
User avatar
JokeofWeek
Knowledgeable
 
Posts: 213
Joined: Sun Nov 19, 2006 6:59 pm

Previous

Return to Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron