Skip to main content

StageXL 1.0: a chat with Bernhard Pichler

To contribute to the celebration of the recent 1.0 launch of StageXL, we had a chat with Bernhard Pichler to learn more. Here we go.
---



First and foremost huge congrats on the 1.0 launch! People are already raving over it on Hacker News and Reddit. This is really a great accomplishment. I was wondering if you could start by telling us a bit about who you are?

Thanks. Sure. My name is Bernhard Pichler, I'm 42 years old and I'm from Austria - you know Sound Of Music but no kangaroos. In my day job I work as a developer for a company in the gaming and betting industry. Nowadays I mostly do stuff on the backend but I used to work on the frontend in the past. That's why I still love to do computer graphics and why I work on StageXL in my spare time.


How would you explain in less than 54 words, what StageXL is? 

StageXL is a 2D rendering engine mainly built for casual games. Games like Farmville or Bejeweled are good examples. More people are playing this kind of games than those who play high budget AAA titles. StageXL basically provides an API to draw images to the screen in a very fast and flexible way.

What would you say is the main benefit of using StageXL for me as a developer?

As a game developer you always ask for more speed and more features. To do this you have to write code as close to the metal as possible. Since we are talking about the browser, your best option is to use WebGL. StageXL bridges the gap between WebGL and an easy to use API for the developer. You don't have to worry about the shader language, texture atlas management or draw call batching for example. StageXL uses best practices for game development and is highly optimized for this use case.

Cool. I'm kind of curious about the story behind StageXL. Could you say a bit about how it all started?

I have to start at the very beginning. More than 25 years ago I started to do so called demos. A demo is a small computer program that generates visually appealing computer graphics, mostly written in assembler language. After school I got a job to write games for gaming terminals, called Photo Play, which where placed in amusement arcades and bars all over Europe. I did this for many years and as a funny side note I worked there with a guy called Daniel Sperl, who later did the Starling rendering engine for Flash and Adobe AIR. When Dart was announced, I think it was 2011 or so, I thought it would be fun to write a similar rendering engine that is based on HTML5 and Dart. It started as an experiment but soon I got pretty obsessed to improve and push it as much as possible.

What use of StageXL are you most proud of or impressed by?

I was very proud when Adobe presented the Flash Pro exporter for Dart and StageXL at Google I/O 2013. One company migrated their educational games for kids from Flash to Dart and StageXL, another guy migrated an application that teaches how to read and play sheet music. Ever since StageXL grew a lot and is mostly used without Adobe Flash as a design tool. Tools like Spine for 2D animations are amazing and I'm proud that StageXL has full support for such tools. Other than that I get excited every time I see a project using StageXL. Recently someone used Apache Cordova to build a card game for the play store, which is pretty cool.

What new or coming StageXL feature are you most excited about?

Without a doubt this is support for Flutter. Today, developers are using frameworks like Adobe AIR and Unity to build mobile games, but wouldn't it be exciting to do this with Dart and StageXL? You can probably use the existing Flutter API to build simple games, but to be competitive with other frameworks you need access to OpenGL. Unfortunately, Flutter is still in an early stage and providing the OpenGL APIs is not on their immediate roadmap. All we can do is keep an eye on it and hoping for the best :)

Yeah, that sounds like a really exciting setup with great opportunities for developers. On that note, thanks very much for your time, Bernhard, and once again huge congrats on the StageXL 1.0 launch!


Popular posts from this blog

Dart in 2016: The fastest growing programming language at Google, 2nd fastest growing in TIOBE Index

Dart was the fastest growing programming language at Google in 2016 with millions of lines of code written. It also made it to TIOBE Index Top 20 this month (see TIOBE's methodology).

It takes time to build something as ambitious as Dart and, in some ways, Dart is still in its infancy. But we're glad the hard work is starting to pay off.

Many thanks to our amazing community!

We're going to celebrate by ... releasing 1.22 next week (as per our usual 6 week release schedule).

AngularDart is going all Dart

Until now, the multiple language flavors of Angular 2 were written as TypeScript source, and then automatically compiled to both JavaScript and Dart. We're happy to announce that we’re splitting the Angular 2 codebase into two flavors – a Dart version and a TypeScript/JavaScript version – and creating a dedicated AngularDart team.

This is amazing news for Dart developers because:

The framework will feel more like idiomatic Dart.It will make use of Dart features that couldn't work with the TypeScript flavor. It will be faster.
This is equally great news for our TypeScript and JavaScript developers, by the way. Cleaner API, performance gains, easier contributions. Read more on the Angular blog.

Angular 2 for Dart is used by many teams at Google. Most famously by the AdWords team, but many other Google teams build large, mobile-friendly web apps. Some of the top requests from these teams were: make the API feel like Dart, provide a faster edit-refresh cycle, and improve applicat…

The new Google AdSense user interface: built with AngularDart

AdSense is a free, simple way to earn money by placing ads on your website. The team just launched a completely new version of their app for publishers. Read all about it here. We asked Daniel White, the tech lead for the project, some questions because the new UI happens to be built with Dart and Angular2.


AdSense launched way back in 2003. How long is it since the last big redesign?
Last big redesign was called ‘AdSense 3’ and launched about 6 years ago. It was written in Google Web Toolkit (GWT) and the UI has evolved through several iterations - but this is the first ground-up redesign in 6 years. There are a number of long-standing UX issues that we’ve taken the opportunity to solve. A big shout-out to our UX team who’ve been 100% behind this project. We couldn’t have done it without them!

How many software engineers worked on the project?
Purely on the AdSense applications, we have a team of close to 100. Around 25% of them write Dart.

How many lines of code?
We have around 160K LO…