Hey Serdar, That sounds like a pretty cool project. I have a few questions if you don't mind sharing: 1. How are you packaging the standalone interpreter, and is there any chance for Linux and Mac support? 2. Secondly, what are the chances for a PyPy version? (I've recently become interested in PyPy again now that they're working on 3.5 support).
I'm also very interested in your pyd versions of the Sprite and draw modules (Cython I guess, from the pyd extention?). I've been looking over the VertexDomain classes recently (due to some work with creating an OrderedDomain), and thinking that there might be some small performance tweaks that could be done. I'm curious on what you've done, if anything besides the Cython type stuff. -Ben On Tuesday, December 27, 2016 at 11:13:56 AM UTC+9, Serdar Yegulalp wrote: > > Some of you might be familiar with LÖVE 2D, a game creation toolkit that > uses Lua and SDL2. The idea behind it is pretty neat -- you unpack a > pre-baked executable that has the Lua interpreter and all the needed .DLLs, > drop your code into it, and It Just Works. > > I've been putting together something similar for Pyglet, called Pyggy. > It's a self-contained copy of the Python 3.5 interpreter (3.6 coming REAL > SOON NOW!!!), with some bootstrap code in a bundled .exe. You put your game > into a subfolder, and ensure that it has an __init__.py with a main() > function in the top level directory. When you run the .exe, it boots the > game -- or, failing that, a splash screen that says "No game loaded!". > > Right now I'm using this with a heavily customized version of Pyglet that > I created on my own. It includes some .pyd modules to accelerate certain > functions like sprites and the draw loop. But I can just as easily bake a > version that uses stock Pyglet. > > I'm thinking a project like this would be philosophically distinct from > PyInstaller (which I love, by the way). With this, you'd unpack it and > build your game inside it, and add dependencies by hand as needed. Maybe > later on you could push a button and have it "bake" a copy for distribution > that would, say, slim down the standard library and remove everything else > that didn't need to be there, but right now the idea is to provide an > environment that you can unpack and start building a Pyglet app in right > away. > > I don't have anything I'm ready to share yet, but I thought I'd toss the > idea up there and see what people think. The working title is "Pyggy". > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at https://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.