- Casey Duncan: “Grease: it’s a game framework, no it’s a game engine, no it’s a framework for making game engines; and now it’s more than just vaporware!” Grease is an open-source project for rapid Python game development. Casey is going to give a little guided tour of the not-just-sci-fi-anymore Grease API and talk a bit about future directions. He is also going to talk about using Sphinx to document Grease, and how you can, and should, use it to document your own projects and ideas.
- Al Sweigart : “Invent Your Own Computer Games with Python.” Al’s presentation will cover his book which teaches kids (and adult beginners) how to program by making computer games. Al will talk about the methodology his book uses, things he’s learned about teaching programming and games, and about how games can bring more people into software development. The book is under a Creative Commons license and is available for free at http://inventwithpython.com. The book is also for sale in print on Amazon.com.
June 7, 2010
PyGameSF meetup Wednesday June 9th 6pm @ Main SF public library 4th floor Sycip room
The June PyGameSF meet up will be at the Sycip conference room on the fourth floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords.This month’s presentations are:
March 2, 2010
PyGameSF meetup Tuesday March 2nd 6pm @ the Sycip room on the fourth floor of the Main San Francisco Public Library
The March PyGameSF meet up will be at the Sycip conference room on the fourth floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords.This month’s presentations are:
- Patrick Stinson: Embedding Python as a Realtime Audio Scripting Engine. Topics will include separation and communication between the application and scripting engine, why Python is “safe” for audio work including empirical performance metrics, and caveats related to multithreaded processing as performance requirements increase. I will share my experiences using the standard CPython implementation to research and develop a state-of-the-art scripting engine for the Play professional sampling engine (http://www.soundsonline.com).
- Shandy Brown : Structuring Your Game’s Code. One approach to designing video games with a focus on rapid development and networked multiplayer capabilities. Shandy Brown will highlight key ideas in his tutorial. Fundamental topics such as event-based design, defining your game model, and separating the model and the view will be covered.
December 31, 2009
PyGameSF meetup Tuesday January 12th 6pm @ Stong Main San Francisco Public Library
The January PyGameSF meet up will be at the STONG conference room on the first floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords.This month’s presentations are:
- Tim Thompson: the NthControl. For musical and visual performers, new touchscreen netbooks (Asus T91MT) and USB-connected touchscreens (Mimo 720-S) can augment the ubiquitous slider/knob/button box by providing a completely software-driven interface that avoids the bulk and distraction of a laptop interface. Tim has been experimenting in this area and will share his experience so far, including a demonstration of a python-based display/controller (NthControl) he is developing for upcoming musical/visual performances.
- Casey Duncan: Grease. Introducing Grease, a new open-source game engine for developing 2D games in Python. Grease is an component-based entity system with support for data-driven game development. Grease is designed from the ground-up for simplicity, rapid development and high-performance. It is intended to be fully interoperable with both pygame and pyglet, providing pluggable services for sprite and vector rendering, post-processing effects, physics, particle effects, event-driven logic scripting and eventually network support. Grease is in the early stages of development, Casey hopes to get input on the design and architecture, as well as encourage folks to contribute so they can use it for their own projects.
September 17, 2009
PyGameSF meetup Wednesday September 23 6pm @ Main San Francisco Public Library
The September PyGameSF meet up will be at the STONG conference room on the first floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords.This month’s presentations are:
- Brad Busse, Harry Tormey, Keith Nemitz: “If we did do Pyweek9, here’s how and what happened”. An overview of the pyweek
experience, what works what doesn’t and why. - Niall O’Higgins: “OAuth and OpenID: A Python Hacker’s Guide.” Niall gives an overview of his experiences working with both OAuth and
OpenID.
July 12, 2009
PyGameSF meetup Wednesday July 15th 6pm @ Main San Francisco Public Library
The July PyGameSF meet up will be at the STONG conference room on the first floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords.This month’s presentations are:
- Colin Bean: Interactive graphics on the Android mobile platform. An introduction to writing an Android application, working with OpenGL ES and using with some of the sensors available on HTC handsets.
- Rudrasen : Prototyping an original 2D RPG. This talk is about rapid game prototyping concepts with a mix of investigation , learning and applying ideas.
July 5, 2009
Happy Meal
A never ending source of fascination for me is why people eat what they do. In particular I find it most strange that a glorified burger joint is the world’s largest chain of fast food restaurants, serving nearly 47 million customers daily from Dublin to Tokyo. Of the endless variations of food evolved over thousands of years from a myriad of different cultures around the globe why did this one franchise do so well? A large part of this success clearly lies in superior marketing, in particular targeting children and by association their parents.
When considering the marketing phenomenon that is McDonald’s an interesting point to note can be found in a book written by Eric Clark called ‘The Real Toy Story’; In it the author claims that about 1/3 of all toys sold in America come from fast food restaurants and that McDonald’s has now become the world’s largest distributor of toys through its chain of 31,000 restaurants.
At McDonald’s toys are distributed with happy meal’s. A happy meal seems to cost between $3 to $5, making just the food part of the meal yourself would probably cost roughly $.97. Even taking into account marketing, rent, wages and other overhead expenses, economies of scale makes it seem doubtful that McDonald’s is spending much more than this figure per meal on the edibles. According to an article in the new york times, food and toy executives estimate these toys cost somewhere between 30 to 50 cents each to make. When the costs are seen in this light, a 30 to 50 cent toy is a significant investment.
In the same new york times article food industry consultants and former fast-food executives also claim that a popular toy can increase traffic in a fast-food restaurant by 4 percent and a very successful giveaway might drive up visits by 15 percent. Clearly happy meal’s are sold as a loss leader in order to draw kids and hence families in thus stimulating sales of other more profitable products.
An interview dealing with the topic of marketing to kids taken from the documentary the corporation, with Lucy Hughes a VP at Initiative Media casts this strategy in an insidious light:
The above calls for legislative solutions beg a few important questions be asked. At what point does packaging end and product begin? Taken to its logical conclusion should all food deemed unhealthy be sold in soviet union style bland boxes with just the price embossed on the front. Also is distributing toys with junk food inherently bad? Setting irony aside for a moment, McDonald’s is the current sponsor of the World Cup, would distributing a football with a happy meal as part of a future promotion be a bad thing?
The tone of the above articles also kind of imply that only very young children are susceptible to such nefarious campaigns. This is not the case. An article in harpers discussing the toy industry in China and specifically one company (Red Magic) that provides similar toy swag to restaurant and drinks companies offers this insightful tidbit:
So why do inedible things have such an effect on what we decide to eat? How does a little plastic figurine or a baseball card fit in with your self image? Does it matter if the actual toy is real or not? Would a digital gift, an extra level or character in some computer game, have just the same or better effect? Right now more ingenious ploys leveraging new technologies such as social networks are being devised and deployed on a daily basis. A good example of one such recent promotion was a facebook application that required you defriend 10 of your contacts in order to get a free whopper (link). I think this is only a crude beginning, in the future we will see social networks and other cost effective digital media being used to sell food.
At the end of the day marketing is an arms race, banning toys at best will only slow the spread of bad eating habits down for a short period of time. Short of an outright ban on advertising unhealthy food I don’t see any legislative solution that’s workable. Of course this raises yet another question, who gets to decide what is or is not healthy and what should the criteria be?
When considering the marketing phenomenon that is McDonald’s an interesting point to note can be found in a book written by Eric Clark called ‘The Real Toy Story’; In it the author claims that about 1/3 of all toys sold in America come from fast food restaurants and that McDonald’s has now become the world’s largest distributor of toys through its chain of 31,000 restaurants.
At McDonald’s toys are distributed with happy meal’s. A happy meal seems to cost between $3 to $5, making just the food part of the meal yourself would probably cost roughly $.97. Even taking into account marketing, rent, wages and other overhead expenses, economies of scale makes it seem doubtful that McDonald’s is spending much more than this figure per meal on the edibles. According to an article in the new york times, food and toy executives estimate these toys cost somewhere between 30 to 50 cents each to make. When the costs are seen in this light, a 30 to 50 cent toy is a significant investment.
In the same new york times article food industry consultants and former fast-food executives also claim that a popular toy can increase traffic in a fast-food restaurant by 4 percent and a very successful giveaway might drive up visits by 15 percent. Clearly happy meal’s are sold as a loss leader in order to draw kids and hence families in thus stimulating sales of other more profitable products.
An interview dealing with the topic of marketing to kids taken from the documentary the corporation, with Lucy Hughes a VP at Initiative Media casts this strategy in an insidious light:
“If we understand what motivates a parent to buy a product, that if we could develop a creative commercial, you know a 30 second commercial that encourages the child to whine or show some sort of importance in it that the child understands and is able to reiterate to the parents, then we’re successful.”In the west child hood obesity is more and more being seen as a public health concern brought about by a combination of poor diet, sedentary lifestyle and genetics. In an effort to tackle one aspect of this problem a number of countries are calling for a ban on the distribution of such toys with food. In Brazil recently a prosecutor charging that toys sold with meals in fast-food outlets can lead children to develop bad eating habits, asked a judge to ban such sales nationally at chains including McDonald’s and Burger King (link). In Australia a group called the obesity policy coalition is also calling for a similar ban (link).
The above calls for legislative solutions beg a few important questions be asked. At what point does packaging end and product begin? Taken to its logical conclusion should all food deemed unhealthy be sold in soviet union style bland boxes with just the price embossed on the front. Also is distributing toys with junk food inherently bad? Setting irony aside for a moment, McDonald’s is the current sponsor of the World Cup, would distributing a football with a happy meal as part of a future promotion be a bad thing?
The tone of the above articles also kind of imply that only very young children are susceptible to such nefarious campaigns. This is not the case. An article in harpers discussing the toy industry in China and specifically one company (Red Magic) that provides similar toy swag to restaurant and drinks companies offers this insightful tidbit:
“Red Magic claims to have sold more than 20 million of these toys in twenty different countries,mostly to boys and men between the ages of fifteen and thirty-five, by deploying a marketing technique that McDonald’s pioneered thirty years ago, when, in an effort to boost declining sales, it introduced the Happy Meal, luring children and therefore their parents to restaurants with the promise of cheap toys. It could be argued that the Happy Meal, and similar gimmicks, saved the fast-food business. Red Magic uses the same marketing technique on teenagers and adults. And it works. For a while in Hong Kong, when you bought eight bottles of San Miguel beer, you got one of fifteen different limited-edition Red Magic collectible dolls, but you couldn’t choose which one. This “gambling element” kept customers “drinking and drinking and drinking and paying,” Wong explained. “When I go to see the customer—they buy and buy and buy, and they can’t get the one they want—I feel very happy inside.””
So why do inedible things have such an effect on what we decide to eat? How does a little plastic figurine or a baseball card fit in with your self image? Does it matter if the actual toy is real or not? Would a digital gift, an extra level or character in some computer game, have just the same or better effect? Right now more ingenious ploys leveraging new technologies such as social networks are being devised and deployed on a daily basis. A good example of one such recent promotion was a facebook application that required you defriend 10 of your contacts in order to get a free whopper (link). I think this is only a crude beginning, in the future we will see social networks and other cost effective digital media being used to sell food.
At the end of the day marketing is an arms race, banning toys at best will only slow the spread of bad eating habits down for a short period of time. Short of an outright ban on advertising unhealthy food I don’t see any legislative solution that’s workable. Of course this raises yet another question, who gets to decide what is or is not healthy and what should the criteria be?
June 15, 2009
PyGameSF meetup Wednesday June 17th 6pm @ Main San Francisco Public Library
The June PyGameSF meet up will be at the STONG conference room on the first floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords.This month’s presentations are:
- Bret Truchan (Quotile/GlitchDS/Glitch-Sequencer): Exploring musical interfaces using Processing / OSC / and Chuck. Bret will unveil a new,open source software “synth” written in Processing and Chuck, and briefly
discuss the architecture. He will also present some Processing code samples for drawing simple graphics, sending MIDI notes, sending OSC (Open Sound
Control) messages, and handling timing. The presentation will be tailored to the beginning or intermediate developer who hasn’t been exposed to Processing or Chuck. - Mitch Patenaude: How to confuse people and make enemies on Twitter. Mitch will give talk about what was involved in creating his markov chain based babbling TwitterBot. You can follow her or read her tweets here.
June 2, 2009
Show me the money
In my spare time over the last couple of months I have been developing a concept for a game. I am currently in the process of preparing a demo for the upcoming casual connect conference this July in Seattle. As part of my demo I have been creating a business plan detailing how I intend on making money. Being a time poor indie developer (read I have a day job) a large part of my planning has involved trying to figure out what platforms I should support.
While researching my business plan, I came across a number of interesting articles. The following is a distilled list of points I found while roaming around:
The following juicy tidbits come from here
Another interesting report can be found here. The report looks at pricing for the 100 most popular iPhone apps and appears to indicate that prices are clearly going down. In April, the total combined price of all apps in the Top 100 decreased from $265 to $244, down 7.9%. A big factor in the average price drop was the increase of $0.99 apps, with 53 of the top 100 selling for that price. I have not come to any final conclusions yet but from what I have been reading it would appear that the Iphone may not be quite as lucrative as many people imagine.
Apart from developing for the Iphone I have been looking at the economics of flash games. A famous example of a game that is making serious bank is desktop tower defence. According to one article I read this game is making high four figures monthly, the article does not give any figure so I am not sure if this is credible.
A more detailed breakdown of how much money you can expect to make off of a decent flash game can be found here:
While researching my business plan, I came across a number of interesting articles. The following is a distilled list of points I found while roaming around:
The following juicy tidbits come from here
- Recent estimates suggest that Apple has only taken in $20-$45 million in revenue from App Store sales.
- Cross-reference the above figures with metrics on total application sales and you find that Some 40,298 apps have been released for the iPhone as of May 18. Presuming revenue somewhere between those two numbers, with total revenues of $108.3 million (if Apple takes 30%), average gross revenue of $2,688 per app. Apple takes 30% of that, leaving the developer $1,881.
Another interesting report can be found here. The report looks at pricing for the 100 most popular iPhone apps and appears to indicate that prices are clearly going down. In April, the total combined price of all apps in the Top 100 decreased from $265 to $244, down 7.9%. A big factor in the average price drop was the increase of $0.99 apps, with 53 of the top 100 selling for that price. I have not come to any final conclusions yet but from what I have been reading it would appear that the Iphone may not be quite as lucrative as many people imagine.
Apart from developing for the Iphone I have been looking at the economics of flash games. A famous example of a game that is making serious bank is desktop tower defence. According to one article I read this game is making high four figures monthly, the article does not give any figure so I am not sure if this is credible.
A more detailed breakdown of how much money you can expect to make off of a decent flash game can be found here:
- Rough figures in Canadian dollars and taken from May 2008-April 2009.
- Gross Revenue: $35 000 Expenses: $5 750
- Author is university student, does not work full-time on making games all year round. More like 4-5 months out of the year.
- Money all from advertising, the biggest chunk being direct sponsors.
May 15, 2009
Dynamic visuals: Using simple easing and tweening algorithms to make movement look “good”
Currently I am reading selected chapters from Robert Penner’s book Programming Macromedia Flash MX. Contrary to what you might think I am not interested in learning flash. What sold me on the book was the free chapter on Roberts website which provides a whole bunch of algorithms for performing tweening, easing and other things which make movement animations look good. I have been taking these algorithms, converting them to python and using them in some of the projects I have been working on.
If you make games or any sort of multimedia application that involves moving things around I highly recommend using some of these techniques. Check out and tweek different combinations of these algorithms via this excellent webapp. Also you can grab the actionscript source code (BSD licenced) and free chapter from here.
Roberts book sells for $40 first hand on amazon but thanks to the miracle depreciation of any modern tech book over three years old a second hand copy can be picked up for around $4. A second hand copy is totally worth the price of admittance as Robert does a great job of explaining general maths and programming techniques in a non language/library specific way.
If you make games or any sort of multimedia application that involves moving things around I highly recommend using some of these techniques. Check out and tweek different combinations of these algorithms via this excellent webapp. Also you can grab the actionscript source code (BSD licenced) and free chapter from here.
Roberts book sells for $40 first hand on amazon but thanks to the miracle depreciation of any modern tech book over three years old a second hand copy can be picked up for around $4. A second hand copy is totally worth the price of admittance as Robert does a great job of explaining general maths and programming techniques in a non language/library specific way.
May 13, 2009
PyGameSF meetup Thursday May 21st 6pm @ Main San Francisco Public Library
The May PyGameSF meet up will be at the STONG conference room on the first floor of the main San Francisco public library beside civic center BART. The library closes at 8pm so we will reconvene to frjtz on hayes street for dinner/drinks afterwords.This month’s presentations are:
- Jared Sohn: All About My Flocking Project. This talk will give an overview of flocking and demonstrate a C++/Maya flocking implementation used to animate rats for a college computer animation project.
- Brad Busse, Colin Bean, Harry Tormey : CampDivisible, an overview of the PyGameSF teams pyweek 8 entry. This presentation will cover the concept, design and implementation of our entry, which was written with pyglet. This is also an open invitation to any teams who participated in pyweek from around the bay to come on down talk about your game and celebrate the end of another fun pyweek.