Sniff is a "Scratch-like" programming language that's designed to help Scratchers move gently from Scratch to more conventional languages. They can start writing programs, without having to learn a new language because Sniff is based on Scratch. They learn a little more about variables, compiling, syntax errors (!), and they can have fun controlling real hardware while they're doing it.

Sunday, 5 July 2015

Release 19: Sniff games on the web

It's time for another Sniff release, and this time we've got three great headline features. We'll be covering them in more depth over the next couple of week, but you can download and try them now:

Sniff on the web: We've added a new command "jsniff" which will compile your Sniff programs in to JavaScript. This means you can take code written in Sniff, and run it in a web page. It even runs pretty well on an iPad or iPhone. You can use the standard "window" device to do drawing, and check the keyboard and mouse.

Sprites! Sniff has so far been a sprite free zone - perhaps we were Sprited out from too much Scratch. However we love to write games, so ultimately we needed to support some kind of sprites. We now do this in the form of the "sprite" and "spriteManager" devices. These don't behave quite like the Scratch sprites you know and love, as Sprites are part of the Scratch language, while here they're a device (library), but you can do all the things Scratch sprites can do, and a whole lot more. Check out our Asteroids game (source is in the examples folder - and yes it works on the web!).

Leap Motion: You know its a pretty cool release, when support for the leap motion hand tracking device only makes 3rd on the feature list! You can now track your hands in 3D space as you wave them around over your keyboard.  Of course the first thing we did was teach teach it to recognise rock/paper/scissors.

As usual we've got two download packages:
Windows:Sniff 19w Release
Mac/Linux/Pi: Sniff 19 Release

No comments:

Post a Comment