Search the Community

Showing results for tags 'python'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Coding and Game Design
  • Frameworks
    • Phaser
    • Pixi.js
    • Babylon.js
    • Panda.js
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Found 3 results

  1. I've toyed with JavaScript based HTML5 game development for a while. It's pretty cool, but I always found myself yearning for a game library I fell in love with at one point, and that was pygame. But you can't write/run python in the browser you say... au contraire my little one, there is Brython (http://brython.info/) which is a Python 3 interpreter in JavaScript that integrates with JavaScript! So I was poking around the internet and found this neat game engine in JavaScript called GameJS (http://gamejs.org/) which is, remarkably, like pygame. An idea started brewing. What if I wrote a python Pygame wrapper that translated into GameJS functionality that ran in the browser? Then I could run python in the browser, import pygame, and run MOST of pygame in the browser as well! So that's what I did! It's in rough draft, this is the first draft, and I had to modify some libraries to do it (which is documented on my github account). It's not bullet proof or heavily tested, but it works (at least I got it to work on my nodewebkit installation). Here's a more detailed journey of my thoughts and motivations for this library: http://wunk.me/announcing-pygjs-pygame-in-your-browsernodewebkit/ The github repository is here: https://github.com/asherwunk/pygjs I thought this might be of interest to you HTML5 guys cause it uses HTML5 and the browser in the end, you just get to Pythonize it up! Fun! Anyways, I hope you guys find this useful in any way, even for a kick, Asher P.S. I can use all the encouragement I can get, being a self-taught programmer, so there's two links that you can help me if you like what I've done here to continue development: https://ko-fi.com/A18224XC and my patreon at https://www.patreon.com/asherwolfstein Anyways! HAPPY PYGAMING!
  2. Hey everyone, I spectate these forums all of the time so this a very late intro. I'm very excited to begin making games with Phaser but since I'm new to Web Development technologies (especially the backend) I'm certainly in need of some direction. I have a few beginner questions so please excuse my rudimentary knowledge of Web Dev. Aside from learning Phaser I'm picking up Flask to develop knowledge of the backend, that also means learning template rendering. I'm struggling with Hello Phaser, and I believe it has something to do with the distinction of loading Phaser assets and loading Flask assets. The problem is I'm not sure how to use Jinja to access the Phaser api (or rather 'game.load.Image' atm)? I also tried this setup with little luck. Any help here would be greatly appreciated! I've spent the last couple days reading tons about jinja, flask, phaser, html, and even found myself looking through the pixi api, but I just don't know enough about web dev or these apis in general to pinpoint exactly what I'm looking for at this point in time. Also, can someone point me in a good direction towards quality learning material for server side programming for gamedev. Advice on how to approach the topic would be very useful! I'm focusing on Flask at the moment, but soon after I'll try my hand at Django and other Web frameworks as soon as I develop a comfort zone and a project or two. Or there more convenient routes for learning the back-end that I can take? I accept that I have tons to learn but I'm so excited for Phaser that I'm willing to learn as much as it would take to do it right! (I have some experience with Python, Js, and Java. Also GameMaker, for what it's worth)
  3. Hi, just a short notice that it is possible to use the programming language Python with Pixi.js (and other libraries including Three.js, Howler,js and so forth) by using Brython, a Python implementation for the browser. Here's a minimal example: http://jsfiddle.net/dirkk0/s7butdL1/show/ (code http://jsfiddle.net/dirkk0/s7butdL1) Best, Dirk