I am trying to make CV/portfolio-ish game with WebGL build and I want to show people my previous games.
I wonder if there is anyway to run my previous games exes on WebGL at runtime. Like game inside game but I don't want to move all of the assets, codes etc. Opening extra web page with WebGL is an option but I want to try my question first.
Thanks.
Related
What am I supposed to do here? I am at this point https://docs.lootlocker.com/getting-started/unity-tutorials/getting-started-with-unity/configure-the-sdk and I have no idea what to do.
I want to configure it to do a webgl game for game jam game on itch.io.
Can anybody help in setting up this for webgl itch.io game?
In linked in this question page these options are explained but I'm not understand what that means and what I should put here for web itch.io game.
I also started topic on ask unity: https://answers.unity.com/questions/1919598/configure-the-lootlocker-sdk-for-unity-webgl-build.html
LootLocker employee here!
You do not need to do anything more after this step, the SDK is configured and you are good to go :). The platforms settings are only used if you target these specific platforms.
So you are now ready to start using LootLocker :)
I have made a game with unity and I would like to share it with my friends but not sure can they play it on browser, is it even possible?
Yes, Build your game as WebGL. File->Build Settings-> Select WebGL then click the Build button. It will be build the project for web. Now you can host the file in your server and the game is now accessible to others.
I'm wondering what options do I have to merge a 2D game into WinRT app that's already developed. I've developed couple of games in Unity3D but not sure if they can be played as a part of WinRT app (launch on button click).
I've heard Microsoft provide XNA framework for game development. Would that be of any help in my case? The requirement is to launch game on button click and get back to app on back button click.
Please let me know if there's better approach/tool available.
Firstly you say you want to merge a game with a WinRT app - Do you mean you want to put a game inside another application, so perhaps have an app as a launch pad for you game? If you want to target WinRT with Unity I just looked at the platforms that Unity targets and Universal Windows Platform is listed there. You could write the application part in Unity couldn't you ? So that the app is just the first scene that you see. That might seem strange, but if you had to use unity and the app was just a small application with not too many requirements you could do it that way.
Xna has been discontinued. You should use other frameworks.
If you want to write it from scratch I would suggest that you write it as WinRT application (Universal Windows Platform) so that you can define the application UI in Xaml and write the game with a dedicated graphics/game api such as SharpDX http://sharpdx.org/ (which is a wrapper around DirectX) or perhaps even better, take a look at Win2D http://microsoft.github.io/Win2D/html/Introduction.htm which is a very impressive 2d graphics api.
In practice, both SharpDX and Win2D would target one of the Xaml controls that give you access to a swap-chain (eg SwapChainPanel, SwapChainBackgroundPanel, CanvasControl etc). These Xaml controls are integrated into the Xaml UI and can simply pop up when you need them and viola, your game is running.
Since it was a 2D game that I wanted to integrate with my WinRT app, I decided to go with Scirra Contstruct 2, designed specifically for 2D games. It exported the project as website which I hosted on my server and used a WebView within my app to load the game. Not only the performance is good, but, as a bi-product, it made the game cross platform.
I have a game based on libgdx that's hosted online.
It runs great on desktop but on mubile it depends on the phone's size.
The game is usually a bit too big and it's quite some trouble to try to make it fit the whole screen.
I have an option to put the game fullscreen, but I'd like for the game to automatically be fullscreen IF it's online AND on a mobile device.
However I haven't found anything to help me with that in libgdx's library, any ideas?
(edit, added code, I didn't show code in the first place because the solution may be in doin php redirection if there's nothing better... then I'd have 2 version of the code, one for desktop and the other one would automatically be fullscreen, for mobile... but having all the source code twice just for an "if" looks overkill to me...)
Here's how I can see wether the game runs on a web page, android or desktop :
(Gdx.app.getType() == ApplicationType.WebGL)
But more then knowing that it's on WebGL, I want to know if the web page ran from a cell phone or tablet or from a desktop.
thanks
I'm hosting a Unity Web Game with my Google Drive and would like to share it with my friends. I tried to launch it on a different PC and instead of the game launching, a message told me to download Unity Web Player. Is there a way in which I can bundle the player with my game? Is there a way in which I can host the player with my game? Is there a way in which I can let users play my game without them downloading or installing anything?
Unity 5 added support for building WebGL apps which essentially convert all code to javascript and can be used without the need to explicitly download Unity webplayer by the user.
you can find more about this on this link