quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

NSScreencast Episode #112 Giggletouch

Giggletouch - NSScreencast

タッチすると図形と赤ん坊の声が出るアプリの更新

  • old app iOS 5
  • Sprite Kit
  • GTViewController
    • SKView, SKScene
      • [skView presentScene:scene];
    • didReceiveMemoryWarning
    • display frame rate
      • skView.showsFPS = YES;
      • skView.showsNodeCount = YES;
  • GTMyScene
    • touchesBegan
      • spawnNodeAtLocation
        • [sprite runAction:[SKAction colorizeWithColor:[self randomColor]
    • touchesMoved
      • bunch of nodes, frame rate drops
    • randomDuration
      • (CGFloat)(arc4random() % 3 + 1);
      • randomScale, randomShape, randomColor, randomAngle
    • update:(CFTimeInterval)currentTime
      • / Called before each frame is rendered /
  • SKAction
    • SKAction *wait = [SKAction waitForDuration:5];
    • SKAction *fadeOut = [SKAction fadeAlphaTo:0 duration:1];
      • [myLabel runAction:[SKAction sequence:@[wait, fadeOut]]];
    • repeatActionForever
    • SKAction *group = [SKAction group:@[rotate, scale]];
      • [sprite runAction:[SKAction sequence:@[ group, fadeAction ]]];
  • .xcassets
  • Sketch
    • 画像編集ツール
    • ¥7,800