• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
savail

How can games be loaded through website?

9 posts in this topic

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!

0

Share this post


Link to post
Share on other sites

Generally it is not an executable that you download and run.  That generates all kinds of security warnings.

 

 

 

Most often this is done through browser plugs such as Flash, Java applets, or Silverlight.

 

It is also increasingly being done through some amazingly complex JavaScript.

1

Share this post


Link to post
Share on other sites

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!

 

Could you give an example of any such game ? , i can't think of any webbased game that runs from an .exe or a webbrowser that allows execution of native binaries (.exe is the format MS Windows uses for its binaries, it is highly unsuitable for the web)

 

Most webbased games use browser plugins (Unity, Flash, Java Applets), normal web technologies (HTML/Javascript) or Java Webstart (Which does launch a new process with its own window, but its not a .exe, its a .jar which runs in a virtual machine)

Edited by SimonForsman
0

Share this post


Link to post
Share on other sites

If it really is a standalone EXE and not a Flash/Unity game, then the most likely explanation is that the EXE only runs when the web site passes it a session token when it's launched.

 

Battlefield 3 has a web-based launcher which installs a browser plugin to do this.

Edited by Nypyren
1

Share this post


Link to post
Share on other sites

Thanks for answers!

Could you give an example of any such game ? , i can't think of any webbased game that runs from an .exe or a webbrowser that allows execution of native binaries (.exe is the format MS Windows uses for its binaries, it is highly unsuitable for the web)

The game I meant is not browser based. There are some examples I can tell you: Warrock, Gunz and probably some more which I don't know.

0

Share this post


Link to post
Share on other sites

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)

Edited by SuperVGA
0

Share this post


Link to post
Share on other sites

Thanks for answers!

Could you give an example of any such game ? , i can't think of any webbased game that runs from an .exe or a webbrowser that allows execution of native binaries (.exe is the format MS Windows uses for its binaries, it is highly unsuitable for the web)

The game I meant is not browser based. There are some examples I can tell you: Warrock, Gunz and probably some more which I don't know.

You said that they ran directly from a website, War Rock is a downloadable game, it doesn't run directly from a website.

0

Share this post


Link to post
Share on other sites

I remember an older multiplayer game launcher that registered a protocol. When the browser encountered that protocol the registered program (the .exe) would be called with the parameters passed as address.

 

However that was years ago, and it's probably not such a good idea now.

0

Share this post


Link to post
Share on other sites

If I understand what you mean, you say something like running an installed application through a browser link, is it right?

Those that you need to visit the website and click a PLAY! button, so the application will run. If you try to run the game without going through the website it wont run.

 

Is that it?

 

If so, there are surely several ways to do so. One I can think of is the classic special link, like magnet links, steam links to name some.
For an example:

WeirdProtocol://THIS_LINK_HAS_A_SPECIAL_PROTOCOL

notice that this link is not http nor https, it is WeirdProtocol

 

 

If you try to open this link, your browser will tell you it can't open the link since there's no application configured to open such links, under the special WeirdProtocol protocol. This way, you can now deploy an application and configure it to open such protocol. This would allow you to run an application via a website on any computer where it is installed. Also, you can parse that link, passing any kind of information from the website to your application.

 

So, this would, in fact, run an application or game through a button on your website, given the game is installed on the machine.

Edited by dejaime
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0