Babaa
November 24, 2009, 7:56pm
1
Hello!
So… My first post and my first Unity game
Made a small puzzle game for facebook just to test making a game for Facebook.
Check it out: http://apps.facebook.com/physblocks/
Screenshot:
Please tell me what you think, I love feedback.
I know that the fullscreen mode is f*****up but I can´t figure out how to disable it.
To disable fullscreen mode (or at least the allowing people to right click and access full screen part) just open up the published Unity web page and go to the part with the embeds and stuff, add:
<param name="disableContextMenu" value="true" />
and
disableContextMenu="true"
to the embed parts. Like so:
<object id="UnityObject" classid="clsid:444785F1-DE89-4295-863A-D46C3A781394" width="600" height="450" codebase="http://webplayer.unity3d.com/download_webplayer-2.x/UnityWebPlayer.cab#version=2,0,0,0">
<param name="src" value="Ambush1120B.unity3d" />
<param name="disableContextMenu" value="true" />
<embed id="UnityEmbed" src="Ambush1120B.unity3d" width="600" height="450" disableContextMenu="true" type="application/vnd.unity" pluginspage="http://www.unity3d.com/unity-web-player-2.x" />
Oh, by the way, for a first game, that looks reall polished and you got it working in FB too, congrats
Nice game, hope you continue making facebook games
… and I’m not saying that because you took a ingamepicture with me in it…
Babaa
November 25, 2009, 12:29pm
4
Solve Fullscreen
Oh, by the way, for a first game, that looks reall polished and you got it working in FB too, congrats
Thank you, found I had to use document.write as well to disable the fullscreen.
Oh yeah, I forgot to mention that.