猴子原创,欢迎转载.转载请注明: 转载自Cocos2D开发网–Cocos2Dev.com,谢谢! 原文地址: http://www.cocos2dev.com/?p=575 今天看到一个很简单的摇摆动画,感觉不错的.记录下,以后需要的可以用下,主要是计算position的方式. DropShadowAnim.cs using UnityEngine; using System.Collections; public class DropShadowAnim : MonoBehaviour { p
HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Con
- (void)viewDidLoad { [super viewDidLoad]; [self.view setBackgroundColor:[UIColor grayColor]]; // Do any additional setup after loading the view, typically from a nib. MarqueeLabel *label = [[MarqueeLabel alloc]initWithFrame:CGRectMake(, , , )]; labe