Got Snippets?

Frequently while working on a browsergame/PBBG, I’ll write a piece of code and then think to myself “hey, that might be useful in another project some day”. In those situations, I’ll put the snippet somewhere on my system, and then go about my day.

However, there are a few problems with that approach. For one thing, it’s impossible for me to show someone else my snippet collection – and sharing your snippets once you hit the 10+ mark quickly becomes less than enjoyable. Also, what happens if your system goes down?

With that said, I am pleased to announce the launch of http://pbbgsnippets.com, a new snippet-sharing site geared specifically towards PBBG developers. I collaborated with Janne Siera on the concept, and Gabriel Bianconi did the design. Janne and I are hoping that this new snippets site will be able to spur a little bit more sharing within the PBBG community; I’m sure there are tons of useful snippets out there to share.

The code behind http://pbbgsnippets.com is available, and languages can be added as necessary – if anyone would like a copy of the source code(or a language added), send an e-mail to buildingbrowsergames@gmail.com, or just post a comment.

Wish there was more?

I'm considering writing an ebook - click here.

.

Luke is the primary editor of Building Browsergames, and has written a large portion of the articles that you read here. He generally has no idea what to say when asked to write about himself in the third person.

Monday, December 7th, 2009 site
  • Bonnie Melton

    It doesn't work in IE8, the layout kills the content and you can't even highlight it to read.
    On Firefox everything works great though, and I really like the concept behind it. :) Much easier than going through the bigger code repositories for just your little bits.

  • Thanks for the tip, Bonnie - there's work being done on a new design that
    should work in IE8, and I'll be sure to post something once it launches.

blog comments powered by Disqus

About

Building Browsergames is a blog about browsergames(also known as PBBG's). It's geared towards the beginner to intermediate developer who has an interest in building their own browsergame.

Sponsors

Got Something to Say?

Send an e-mail to luke@buildingbrowsergames.com, or get in touch through Twitter at http://twitter.com/bbrowsergames