Coder Social home page Coder Social logo

chall3ng3r / gameon Goto Github PK

View Code? Open in Web Editor NEW
32.0 3.0 1.0 14.52 MB

Play Unity3D games from browser with a click!

Home Page: http://chall3ng3r.com

License: MIT License

HTML 10.91% C# 54.83% NSIS 34.27%
unity unity3d gameon unity-web-player playing-unity3d-games

gameon's Introduction

GameOn

GameOn is an Open Source solution to playing Unity3D games outside the browser, with a-click, and still keeping the .unity3d file hosted on developer's server. Perfect for indie developers and game portals.

Install GameOn from Releases folder, and try demoes here

Currently its only for Windows, and I am planning for MacOS and Linux versions with help from Unity3D developer community. If you want to contribute, you're most welcome :)

How It Works?

The solution is that end-user install this tiny GameOn application on PC, the concept is just like Steam. This application will handle the click from browser and start the game outside the browser, in new window.

GomeOn

Installing GameOn is one-time process, afterwards users can just click on websites which have GameOn enabled links to start playing games.

GameOn resigters itself as gameon:// URL scheme handler when installed. There's also a wrapper Windows application which is launched when user clicks GameOn enabled links. This application just holds Unity Web Player ActiveX control, and parses the clicked URL, formats it, and passes it on to Unity Web Player.

What's New

Version 0.9.2048

  • pass "size=width,height" in URL to set window size
  • proper handling of URL
  • updated binary release
  • cleaned unused references
  • installer script updated
  • demo HTML page updated with link samples

For Developers

Adding GameOn to your website or portal is pretty simple.

Before you made link to a page with embeded Unity Web Player like:

<a href="http://website.com/game_demo.html">Play Game</a>

For GameOn, you simply make links like:

<a href="gameon://website.com/game_demo.unity3d?size=800,600">Play Game</a>

Important things to note:

  • Always use absolute URL to your .unity3d file, replacing http:// with gameon://
  • Pass size=width,height as querysting with the URL, for player window size. Default is 640x480

That's it!

P.S. as this is the first release, few things are not yet final, like icon and URL parameters for window size.

Contribute

GameOn is developed with Visual Studio 2015 Community edition. Use the same version to open and work with this project.

The installer is made with NSIS, and script is in Installer folder.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.