Date: Thu, 02 Jul 2015 22:00:00 -0400
<p>Listen to past episodes and find out more about the show at our website <a href="http://pythonpodcast.com?utm_source=rss&utm_medium=rss">pythonpodcast.com</a></p> <h3>Synopsis</h3> <p>In this episode we talked to Jacob Kovac, creator of the KivEnt game engine and one of the Kivy core developers. He told us about what inspired him to create the KivEnt project, some of the ways that he has managed to optimize rendering time and some of the problems that he has encountered as part of his work on the project. We also discussed what the use cases and limitations of the KivEnt engine are and he shared some of the projects that have been made with it.</p> <h3>Brief Introduction</h3> <ul> <li>Date of recording – June 17th, 2015</li> <li>Hosts – Tobias Macey and Chris Patti</li> <li>Follow us on iTunes, Stitcher or TuneIn</li> <li>Give us feedback! (iTunes, Twitter, email, Disqus comments)</li> <li>We don’t have any corporate sponsorship or advertisements in the show because we are making it for the community and we respect our listeners and value your time. If you would like to help support the show and keep it ad-free you can find out how by visiting our <a href="http://podcastinit.com/our-plans-for-your-donations.html?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">website</a></li> <li>Overview – Interview with Jacob Kovac about the KivEnt Game Engine, based off of Kivy</li> </ul> <h3>Interview with Jacob Kovac</h3> <ul> <li>Introductions</li> <li>How did you get introduced to Python? – Chris</li> <li>Could you please give us a high level overview of KivEnt and how it differs from other game builder frameworks like Unity or Unreal? <ul> <li>Manages memory for game objects and stores them contiguously in memory for greater efficiency</li> <li>Real-time focused rendering engine for Kivy</li> <li>Cython interface to provide performant game objects with Python API</li> <li>Increased speed of main render loop by 38X by removing a single Python list lookup</li> <li>Kivent is mainly 2D focused, vs 3D for Unity/Unreal</li> <li>Python all the way down <ul> <li>Cython and pointer magic for optimization purposes</li> </ul> </li> <li>Made to be familiar to Pythonistas</li> <li>Aiming for “A” level games</li> <li>Bringing modern advancements in making games to Python – GPU awareness</li> <li>Built with constraints in mind</li> <li>The Pacman Dossier</li> </ul> </li> <li>What inspired you to create the KivEnt engine? <ul> <li>Tried to create an Android infinite runner in Kivy, performance was unacceptable</li> <li>Looking for how to build games in Python with large amounts of data</li> </ul> </li> <li>Is there a particular kind of game KivEnt is particularly suited for versus any of the other popular frameworks? <ul> <li>Focuses mainly on 2D, agnostic as to ‘type’ of game</li> <li>Jacob’s interests largely focused on procedurally generated environments</li> </ul> </li> <li>Could KivEnt be used to create networked multiplayer games and what challenges might that bring to the table for the aspiring KivEnt game developer? <ul> <li>Multiplayer thought to be largely out of scope <ul> <li>This doesn’t mean KivEnt is bad for multiplayer games, but that KivEnt in and of itself doesn’t wholly solve this problem.</li> <li>Plenty of other frameworks to draw on for handling the multi-player server or pulling data from it, KivEnt solves the client side problems germane to making a game in Python</li> </ul> </li> </ul> </li> <li>Does the fact that KivEnt games need to run on so many platforms present any unique difficulties in KivEnt’s development? <ul> <li>Kivy has solved most of the cross-platform problems</li> <li>Difference in GPU vendors has proved the most difficult</li> </ul> </li> <li>I hear game developers talk a lot about assets and asset formats. What kinds of assets can be used with KivEnt? <ul> <li>2D assets are simple – especially as compared to 3D</li> <li>KivEnt supports any image format that Kivvy does for your platform</li> <li>Coming next release – you can specify the vertex format for your model</li> <li>https://youtu.be/qe9fWC-2e3M?utmsource=rss&utmmedium=rss</li> </ul> </li> <li>I have heard that unit testing games is difficult and rarely done for reasons of time pressure, as well as lack of determinism in the interactions. Does KivEnt provide any utilities to make this easier? <ul> <li>Not currently well tested, but targeting that for next release</li> <li>Trying to add tooling to make testing games easier, though still somewhat difficult</li> <li>Platform Biased Podcast – by a bunch of Microsoft Studios SDETs</li> </ul> </li> <li>How does KivEnt handle input and what kids of input devices are supported? <ul> <li>Input handled entirely by Kivy, so any inputs supported by Kivy are accessible in KivEnt</li> <li>Rumors of using Kinect camera with Kivy/KivEnt applications</li> </ul> </li> <li>Is there a built in physics engine or is that something that is pluggable? <ul> <li>Mostly pluggable</li> <li>Chipmunk 2D integration provided via a module</li> <li>Particle Panda – one of the major inspirations for KivEnt</li> <li>New Particle engine coming in the next version of KivEnt</li> </ul> </li> <li>How does KivEnt handle collision tracking? <ul> <li>Mathematically difficult, very hard to get right</li> <li>Don’t do it! Use the physics engine – Chipmunk 2D is also a collision detection engine</li> <li>Kivy enables devs to use C, C++, Java and Objective C code in their games</li> <li>Game development has been democratized</li> <li>Entity / Component architecture enables great modularity</li> <li>Game objects that appear on the screen (Gun, ball, etc.) are not represented as such in the system</li> </ul> </li> <li>Can you tell us about some of the projects that you have seen built in KivEnt which you are most excited by? <ul> <li>https://github.com/chozabu/KivEntEd?utmsource=rss&utmmedium=rss</li> <li>https://play.google.com/store/apps/details?id=org.chozabu.boardzfree&hl=en&utmsource=rss&utmmedium=rss</li> </ul> </li> <li>What are some ways in which our listeners could help contribute to the project? <ul> <li>Would like to see more people build games in KivEnt <ul> <li>Give feedback about the experience and what can be improved</li> </ul> </li> <li>If you have Apple hardware, try out KivEnt and file issues with any errors that occur</li> </ul> </li> </ul> <h3>Picks</h3> <ul> <li>Tobias <ul> <li><a href="https://github.com/tkf/emacs-ipython-notebook?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">EIN (Emacs IPython Notebook)</a></li> <li><a href="https://pip.pypa.io/en/latest/news.html?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Pip 7.x</a></li> <li><a href="http://www.tkqlhce.com/click-7841235-11260198-1430755877000?url=http%3A%2F%2Fshop.oreilly.com%2Fproduct%2F0636920028468.*do%3Fcmp%3Daf-webplatform-books-videos-product_cj_9781449358068_%2525zp&cjsku=0636920028468*&utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">RESTful Web APIs</a></li> </ul> </li> <li>Chris <ul> <li><a href="http://www.imdb.com/title/tt1637727/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">The Killing</a></li> <li><a href="http://rethinkdb.com/blog/pythonista/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Data Science on the iPad with RethinkDB</a></li> <li><a href="http://lefthandbrewing.com/beers/milk-stout-nitro/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Left Hand Nitro Milk Stout</a></li> </ul> </li> <li>Jacob <ul> <li><a href="http://getpelican.com?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Pelican Static Site Generator</a></li> <li><a href="https://terraria.org/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">Terraria 1.3</a></li> <li>Amorone Homemade Red Wine</li> </ul> </li> </ul> <h3>Keep in Touch</h3> <ul> <li>E-Mail – kovac</li> <li>Blog – chaosbuffalogames.com/blog</li> <li>IRC – #kivy</li> </ul> <p>The intro and outro music is from Requiem for a Fish <a href="http://freemusicarchive.org/music/The_Freak_Fandango_Orchestra/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">The Freak Fandango Orchestra</a> / <a href="http://creativecommons.org/licenses/by-sa/3.0/?utm_source=rss&utm_medium=rss" rel="noopener" target="_blank">CC BY-SA</a><img alt="" height="0" src="https://analytics.boundlessnotions.com/piwik.php?idsite=1&rec=1&url=https%3A%2F%2Fwww.pythonpodcast.com%2Fepisode-13-jacob-kovac-on-kivent%2F&action_name=Jacob+Kovac+on+KivEnt+-+Episode+13&urlref=https%3A%2F%2Fwww.pythonpodcast.com%2Ffeed%2F&utm_source=rss&utm_medium=rss" style="border: 0; width: 0; height: 0;" width="0" /></p>