/**
 * グループの回転。
 */

enchant();

@@ -25,8 +25,714 @@
 hant();%0A
+window.onload = function() %7B%0A    var game = new Game(320, 320);%0A    game.preload('chara1.png');%0A    game.onload = function() %7B%0A        var bear = new Sprite(32, 32);%0A        bear.image = game.assets%5B'chara1.png'%5D;%0A        bear.frame = 1;%0A        bear.x = -32;%0A%0A        var white = new Sprite(32, 32);%0A        white.image = game.assets%5B'chara1.png'%5D;%0A        white.x = 32;%0A        white.frame = 5;%0A%0A        var group = new enchant.Group();%0A        group.addChild(bear);%0A        group.addChild(white);%0A%0A        game.rootScene.addChild(group);%0A        group.on('enterframe', function() %7B%0A            this.rotation += 2;%0A            this.x += 1;%0A            this.y += 1;%0A        %7D);%0A    %7D;%0A    game.start();%0A%7D;

add group_rotation test