Author Topic: Scrolling Game Development Kit 2.2.0 Released  (Read 4068 times)


  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger -
    • View Profile
    • Email
Scrolling Game Development Kit 2.2.0 Released
« on: 2011-11-16, 12:04:26 PM »
Scrolling Game Development Kit version 2.2.0 implements the ability to export project data to HTML5 files.  That means you can now use SGDK2 to give you a lot of help in developing scrolling games that run on mobile devices and other platforms!  HTML5 games cannot yet be entirely developed within the SGDK2 IDE, but you can use the SGDK2 IDE to define your graphics, frames, tiles, maps, layers, sprites, tile categories, solidity and counters.  The HTML 5 code that the SGDK2 exports will show you a map with all its layers, sprites and tiles (including animated tiles) and allow you to scroll around it with the mouse or touch screen.  And it will include all the maps in the project, allowing you to switch between them using buttons below the map viewing area.  The animated tiles will not animate automatically, but animating them is as simple as adding code like this to the generated JavaScript:

function startGame() {
   setInterval("pulse()", 30);
function pulse()

Building on the generated code should be relatively simple once you are familiar with the generated framework.  With just a little additional code, you can have a sprite running a parallax scrolling map all in pure HTML 5, as seen in this sample.

Download the latest SGDK2 by visiting the SGDK2 site's download page or jump directly to the SourceForge download page.


  • Fanatic
  • ***
  • Posts: 395
    • View Profile
    • Email
Re: Scrolling Game Development Kit 2.2.0 Released
« Reply #1 on: 2011-11-17, 11:55:26 AM »
Sounds Awesome.  :)