Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualSuperVGA

Posted 12 September 2013 - 12:50 PM

Hey,

There are some games on the market which are run directly from a website. You have to log in there and press play. Then the process is created on your computer and you can normally play it as if it was run from .exe. It actually is run from .exe but the game opens only if I load it through website. Running the .exe alone won't open the game. How is it all done? Is the .exe somehow packed and the site unpacks it somehow? I would be very grateful for some brief explanation or articles!

 

Hi, savail!

 

Check this one out: http://3d.wolfenstein.com/game_NA.php

 

(All DOM and javascript, - i think they did a really good job.)

Drawing divs is actually fast. It's where most browsers focus because that's what they do.

Javascript is a bit slow on iOS, but in general it performs really well.

 

Then there's the HTML5 Canvas element, which is also being used more and more places (albeit not as many places as regular html elements)

 

EDIT: And while i wrote the above you noted that the games you mentioned aren't browser-based. In that case, you'll need to "Run" an executable, a thin client or something similar, which is then actually downloaded and then executed. (And in that case, you were right in that's an exe)

If the game runs within the browser, it's not an executable, but an interpreted program. (Either flash a java applet or silverlight, as frob mentioned)


#1SuperVGA

Posted 12 September 2013 - 12:47 PM

Hey,

There are some games on the market which are run directly from a website. You have to log in there and press play. Then the process is created on your computer and you can normally play it as if it was run from .exe. It actually is run from .exe but the game opens only if I load it through website. Running the .exe alone won't open the game. How is it all done? Is the .exe somehow packed and the site unpacks it somehow? I would be very grateful for some brief explanation or articles!

 

Hi, savail!

 

Check this one out: http://3d.wolfenstein.com/game_NA.php

 

(All DOM and javascript, - i think they did a really good job.)

Drawing divs is actually fast. It's where most browsers focus because that's what they do.

Javascript is a bit slow on iOS, but in general it performs really well.

 

Then there's the HTML5 Canvas element, which is also being used more and more places (albeit not as many places as regular html elements)


PARTNERS