Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Godot Running In a Browser

#1
Godot Running In a Browser

<div><p>Thanks in part to a <a href="https://godotengine.org/article/godot-engine-awarded-50000-mozilla-open-source-support-program">$50,000 award from the Mozilla foundation</a>, the Godot game engine is gaining the ability to be run in a web browser.&nbsp;&nbsp; You can try it out <a href="https://godotengine.org/online/godot.tools.html">right here</a> if you have the latest version of a Chrome based browser, or Firefox Nightly.</p>
<p>Explanation for the rationale for Godot in a Browser from the <a href="https://godotengine.org/article/godot-editor-running-web-browser">Godot news page</a>:</p>
<blockquote readability="28.077272727273">
<p>Godot Engine supports exporting games to the HTML5 platform (i.e. browsers). Given that the editor itself is written using the Godot Engine API it should be possible to run the editor in browsers as well.</p>
<p>The reason why the editor wasn’t able to run in browsers up until now was due to some historical Web browsers limitations, mostly lack of support for threading, but also file system access.</p>
<p>With the introduction of <a href="https://webassembly.org/">WebAssembly</a>, WebAssembly threads, Javascript <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer">SharedArrayBuffer</a>, and possibly an upcoming <a href="https://wicg.github.io/native-file-system/">Native FileSystem API</a>, it should now be possible to have an almost-native user experience when running the editor on the Web.</p>
<p>This will be beneficial in many ways to the engine itself for multiple reasons:</p>
<ol>
<li>It will <strong>lower the barrier</strong> for new users, which will be able to try out the engine without the need to download anything.
</li>
<li>Any modification towards reaching that goal <strong>will also improve the HTML5 export itself</strong> (given that the editor is made like a Godot game).
</li>
<li>It will allow to use Godot in a reasonable way in environments where installing/downloading applications is not an option (e.g. schools’ computers and tablets), <strong>fostering the usage of the engine for educational purposes</strong> (which is something we, as an open source community, deeply believe in).</li>
</ol>
<p>This DOES NOT mean that Godot will move completely to the Web, nor that the Web browsers version will be the recommended way for professional development, but it will be an additional option for cases where it might be useful (again, pick the education sector as an example).</p>
</blockquote>
<p>Perhaps the most interesting part is the future plans for mobile usage:</p>
<blockquote>
<ul>
<li>Virtual keyboard in the HTML5 plaform, for working text input in mobile devices.
</li>
<li>Persistence support, WebDAV integration.
</li>
<li>Gestures for the editor, allowing using the editor from touch devices (this will also be beneficial to make native Android or iOS versions of the editor for example).</li>
</ul>
</blockquote>
<p>These features, as well as Dropbox support, could truly bring Godot to Android, iOS or ChromeOS devices in the future!&nbsp; You can learn more about Godot in the Browser in this <a href="https://youtu.be/SI0kkTQxL1w">video</a>.&nbsp; This is the second project to bring Godot to the browser, details of the first ‘Godot.Online’ is <a href="https://www.youtube.com/watch?v=1TkriSgUfRg">available here</a>.&nbsp; Note, Godot.online is not an official Godot project.</p>
<p align="center"><iframe width="853" height="480" src="https://www.youtube.com/embed/SI0kkTQxL1w" frameborder="0" allowfullscreen allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture">[embedded content]</iframe></p>
<p class="under"> <span class="categories"><a href="https://www.gamefromscratch.com/category/GameDev-News.aspx">GameDev News</a></span> <span class="tags"><a href="https://www.gamefromscratch.com/?tag=/Godot" rel="tag">Godot</a> <a href="https://www.gamefromscratch.com/?tag=/HTML5" rel="tag">HTML5</a></span> </p>
<hr>
<p> <!--
<script type="text/javascript"><!- - google_ad_client = "ca-pub-5156240514307514"; /* GFS 720 Post above Comments */ google_ad_slot = "5626844176"; google_ad_width = 728; google_ad_height = 90; //- ->
</script>
--></p>
</div>


https://www.sickgaming.net/blog/2020/05/...a-browser/
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016