Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ursina Engine

#1
Ursina Engine

<div><p>The <a href="http://www.ursinaengine.org/">Ursina Engine</a> is a recently released open source Python based 3D game engine.&nbsp; The Ursina Engine is built on top of the well established Panda3D game engine (<a href="https://www.youtube.com/watch?v=UKKoNZYFVt8">learn more here</a>).&nbsp; Key features of the Ursina Engine include:</p>
<blockquote>
<p> * hotreload code/textures/models while in-game<br />* automatic import of .psd and .blend files<br />* play in fullscreen while developing<br />* easy to use mesh class for making procedural geometry<br />* lots of included procedural 3D primitives</p>
</blockquote>
<p>The Ursina Engine is available for Windows, Mac and Linux with the source code <a href="https://github.com/pokepetter/ursina">available on GitHub</a> under the MIT license.&nbsp; To get started with the Ursina Engine you need to have Python 3.6 or later installed as well as the pip package manger and git.&nbsp;&nbsp; Once installed, simply run the command:</p>
<blockquote>
<p>pip install git+https://github.com/pokepetter/ursina.git</p>
</blockquote>
<p>If you encounter a permissions error, add the –user parameter to the above line.&nbsp; From the examples, here is the code required to create an application and display a grid:</p>
<pre><span>from</span> ursina <span>import</span> <span>*</span> app <span>=</span> <span>Ursina</span><span>()</span> r <span>=</span> <span>8</span> <span>for</span> i <span>in</span> <span>range</span><span>(</span><span>1</span><span>,</span> r<span>):</span> t <span>=</span> i<span>/</span>r s <span>=</span> <span>4</span><span>*</span>i <span>print</span><span>(</span>s<span>)</span> grid <span>=</span> <span>Entity</span><span>(</span>model<span>=</span><span>Grid</span><span>(</span>s<span>,</span>s<span>),</span> scale<span>=</span>s<span>,</span> color<span>=</span>color<span>.</span><span>color</span><span>(</span><span>0</span><span>,</span><span>0</span><span>,</span><span>.8</span><span>,</span><span>lerp</span><span>(</span><span>.8</span><span>,</span><span>0</span><span>,</span>t<span>)),</span> rotation_x<span>=</span><span>90</span><span>,</span> position<span>=(-</span>s<span>/</span><span>2</span><span>,</span> i<span>/</span><span>1000</span><span>, -</span>s<span>/</span><span>2</span><span>))</span> subgrid <span>=</span> <span>duplicate</span><span>(</span>grid<span>)</span> subgrid<span>.</span>model <span>=</span> <span>Grid</span><span>(</span>s<span>*</span><span>4</span><span>,</span> s<span>*</span><span>4</span><span>)</span> subgrid<span>.</span>color <span>=</span> color<span>.</span><span>color</span><span>(</span><span>0</span><span>,</span><span>0</span><span>,</span><span>.4</span><span>,</span><span>lerp</span><span>(</span><span>.8</span><span>,</span><span>0</span><span>,</span>t<span>))</span> <span>EditorCamera</span><span>()</span> app<span>.</span><span>run</span><span>()</span> </pre>
<p>You can learn more about the Ursina Engine in the <a href="https://youtu.be/aCpBzdciU0o">video</a> below.</p>
<p align="center"><iframe class='youtube-player' type='text/html' width='853' height='480' src='https://www.youtube.com/embed/aCpBzdciU0o?version=3&rel=1&fs=1&autohide=2&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent' allowfullscreen='true' style='border:0;'></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=/3D" rel="tag">3D</a> <a href="https://www.gamefromscratch.com/?tag=/Engine" rel="tag">Engine</a></span> </p>
<hr>
<p> &lt;!–</p>
<p>–&gt;</p>
</div>


https://www.sickgaming.net/blog/2020/01/...na-engine/
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016