Blender&Photoshopã§å°ãã ã楽ã«ã²ã¼ã ã»ã¢ãã¡ç³»ãã£ã©ã¯ã¿ã¼ã¢ãã«ã®èãã¯ã¹ãã£ãä½æããæ¹æ³
Blender Advent Calendar 2014 12æ5æ¥ã®è¨äºã§ãã
Blenderã¯10æé ãã触ãå§ãã¦2ã¶æã¡ããã§ãããèªåãªãã«ããä½ãã¨æ¥½ããï¼ã¨ããæ¹æ³ãã§ãã¦ããã®ã§ã¾ã¨ãã¦ã¿ããã¨æãAdvent Calendarã«è¡¨æãã¾ããã
ä»åç´¹ä»ããã®ã¯ãã²ã¼ã ãã¢ãã¡ç³»ãã£ã©ã¯ã¿ã¼ã§è¡¨ç¾ããããããªãã°ã©ãã¼ã·ã§ã³ã®èãã¯ã¹ãã£ãä½æããæ¹æ³ã§ãã
ãã¯ã¹ãã£ä½ææ¹æ³ã®èª¬æã«å ¥ããã®åã«ãåãã¦Blenderã使ç¨ãã¦ä½ã£ãä½åã«ã¤ãã¦ãç´¹ä»ããã¦ããã ãã¾ãã
ããã¯ããã³ãç«ä½ã®3DCGã³ã³ãã¹ãã®ãã¼ããªé¨éã«å¿åãããã®ã§ãã
以åæããã¤ã©ã¹ãããã¼ã¹ã«ã3DCGã®ãã£ã©ã¯ã¿ã¼ã¨ãã¦ãªã¡ã¤ã¯ãã¾ããã
ã¢ãã«ã«ã¯Rigifyã®ã¢ããªã³ã使ã£ã¦ã¢ã¼ããã¥ã¢ãä½æãããã¼ã³ãã¦ã§ã¤ããè¨å®ãã¦ããã®ã§èªç±ã«ãã¼ãºãåããããã¨ãã§ãã¾ãã
æã®æã¾ã§ç¨¼åããããã«åå²ãå¤ãã«ä½ã£ã¦ããã®ã§ããã¾ããã¼ããªã¨ã¯è¨ããªãåºæ¥æ ãã§ã(^^;
ã¨ãè²ã æ¸ãã¦ãã¨è©±ãè±ç·ããããªã®ã§ããã£ããæ¬é¡ã«å ¥ããã¨æãã¾ãã
ç®æ¬¡
- Blenderã§ãã¯ã¹ãã£ã«é°å½±ããã¤ã¯ï¼ç¼ä»ãï¼ãã
- Photoshopã®ã°ã©ãã¼ã·ã§ã³ãããã使ã£ã¦è²ãã¤ãã
- Blenderã§ãªãã¸ã§ã¯ãã«ãã¯ã¹ãã£ãåæ ãã
- ã¾ã¨ã
Blenderã§ãã¯ã¹ãã£ã«é°å½±ããã¤ã¯ï¼ç¼ä»ãï¼ãã
åä½åãä½ã£ãæã«ãä½ã髪ã®æ¯ã®ãã¯ã¹ãã£ããã¹ã¦3Dãã¥ã¼ä¸ã®ãã¯ã¹ãã£ãã¤ã³ãã§ããããã¨é°å½±ãæãè¾¼ãã§ããã®ã§ãããé常ã«æéããããã¾ããã ã§ãããã¯ã¹ãã£ã«ã¬ã³ããªã³ã°çµæãç¼ããããã¨ãã§ããããã¤ã¯ãã¨ããæ©è½ã使ãã°ãç°¡åã«3Dã¢ãã«ã®é°å½±ã2Dãã¯ã¹ãã£ã¨ãã¦å±éãããã¨ããã¾ãã åãã«ããã¯ã¹ãã£ã«ã°ã¬ã¼ã¹ã±ã¼ã«ã®é°å½±ããã¤ã¯ããæ¹æ³ãç´¹ä»ãã¾ãã
é°å½±ããã¤ã¯ããããã®ç»åãä½æãã
ãã®ãããªUVããããå±éæ¸ã¿ã®ã¢ãã«ãç¨æãã¾ãã ãã¯ã¹ãã£ãä½æããããªãã¸ã§ã¯ãã®ç·¨éã¢ã¼ãã«å ¥ãããã¼ãã¼ãã®[A]ãã¼ãæ¼ãã¦å ¨ã¦ã®ã¡ãã·ã¥ãé¸æãã¾ããããã§ã¯èã®é°å½±ãä½æããã®ã§ã[Body]ãªãã¸ã§ã¯ãã®ã¡ãã·ã¥ãé¸æãã¦ãã¾ãã
ãã¤ã¯ãè¡ãããã®ç»åãç¨æãã¾ãã UV/ç»åã»ã¨ãã£ã¿ã¼ã§ã[æ°è¦]ãã¿ã³ãæ¼ãã¦æ°è¦ç»åãä½æãã¾ãã ååã¯ãã¤ã¯ç¨ã®ç»åã ã¨ãããããã«[bake_body]ã¨ããå¹ ã¨é«ãã¯ã好ã¿ã®ãµã¤ãºã§ãèæ¯ã¯ã¨ãããã[é»(#000000)]ã«è¨å®ãã¾ãã
ã©ã¤ãã追å ãã
ãã¯ã¹ãã£ã«é°å½±ããã¤ã¯ããããã«ã¯ãé°å½±ã表ç¾ããããã®ã©ã¤ããå¿ è¦ã§ãã ä¸è¬çï¼ã«é°å½±ããã¯ã¹ãã£ã«ãã¤ã¯ããæã«ã¯AOï¼ã¢ã³ãã¨ã³ããªã¯ã«ã¼ã¸ã§ã³ï¼ã使ç¨ãã¦å½±ãè½ã¨ããããªã®ã§ãããããã§ã¯ç°¡åã«ãããã©ã¤ããã使ãã¾ãã 表ç¾ãããçµµä½ãã«ãã£ã¦ã©ã¤ãã£ã³ã°æ¹æ³ã¯å¤ãã£ã¦ããã¨æãã¾ãã®ã§ãåèªè²ã 試ãã¦ã¿ã¦ãã ããã
3Dãã¥ã¼ã®ã·ã§ã¼ãã£ã³ã°ãã©ã¤ããåæ ãããè¨å®ï¼[ãã¯ã¹ãã£]ã[ãããªã¢ã«]ï¼ã«è¨å®ãã¾ãã
[ããã©ã¤ã]ãä½æãã¾ãã
ãã®ããã«ã©ã¤ãã®ä½ç½®ã調æ´ããçä¸ããå ãå½ãã£ã¦ãèã®ä¸ãªã©ãæããªãããã«é ç½®ãã¾ãã
ãã¤ã¯ãã
ã¢ã¦ãã©ã¤ãã¼ã»ã¨ãã£ã¿ã¼ã§ãã¤ã¯ã®å ã¨ãããªãã¸ã§ã¯ããé¸æãã¾ããããã§ã¯èã®é°å½±ãä½æããã®ã§ã[Body]ãªãã¸ã§ã¯ããé¸æãã¦ãã¾ãã
ããããã£ã»ã¨ãã£ã¿ã¼ã®ãããã¼ã«ãã[ã¬ã³ãã¼]ãã¿ã³ãã¯ãªãã¯ãã¦ãªã³ã«ãã¾ãã
ä¸ã®æ¹ã«ã¹ã¯ãã¼ã«ãã¦[ãã¤ã¯]ããã«ã表示ãã¾ãã
ä¸è¨ã®ããã«è¨å®ããã¦ã[ãã¤ã¯]ãã¿ã³ãã¯ãªãã¯ãã¾ãã
- ãã¤ã¯ã¢ã¼ã: [ãã«ã¬ã³ãã¼]
- [ã¯ãªã¢]ã«ãã§ãã¯ãå ¥ããã¨ãç»åãæ¶å»ãã¦ããæãè¾¼ã¾ãã¾ãã追å ã§æ¸ãè¾¼ã¿ãè¡ãå ´åã¯ãã§ãã¯ãå¤ãã
- [ä½ç½]ã¯8~16pxããããUVã®å士ã®ééã«åããã¦èª¿æ´ããã
- [é¸æâã¢ã¯ãã£ã]ã®ãã§ãã¯ãå¤ãã
å ã»ã©ä½æããç»åã«ãé°å½±ããã¤ã¯ããã¾ããã
ç»åãä¿åãã¾ãã
注æï¼ãã¤ã¯ãããªãã¸ã§ã¯ãã®ãããªã¢ã«ã«ã¤ãã¦
ãã¤ã¯ã¢ã¼ãã®[ãã«ã¬ã³ãã¼]ã¯ããã¹ã¦ã®ã¬ã³ããªã³ã°çµæãåæ ãããã®ãªã®ã§ãé¸æãããªãã¸ã§ã¯ãã«ãããªã¢ã«ããã¯ã¹ãã£ãè¨å®ãã¦ããã¨ããã®çµæï¼è²ã模æ§ï¼ãå«ãã¦åæ ããã¾ãã ä»åã®ä½ä¾ã§ã¯ãã°ã¬ã¼ã¹ã±ã¼ã«ã®é°å½±ã®ã¿ã使ãããã®ã§ããããªã¢ã«ã¯ä½ãè¨å®ããããã©ã«ãã®ããã«ãã¦ããã¾ãã ããããããªã¢ã«ãè¨å®ãã¦ããå ´åã¯ãä¸æçã«ãããªã¢ã«ãå¤ããããã°ã¬ã¼ã¹ã±ã¼ã«ã®é°å½±ã表ç¾ã§ãããããªã¢ã«ã«åãæ¿ãã¦ãããã¤ã¯ãã¦ãã ããã
Photoshopã§ã°ã©ãã¼ã·ã§ã³ãããã使ã£ã¦è²ãã¤ãã
ãã°ã©ãã¼ã·ã§ã³ããããã¨ããæ©è½ã使ã£ã¦ãèè²ã®ãã¯ã¹ãã£ãä½æãã¾ãã
ã°ã©ãã¼ã·ã§ã³ãããã£ã¦ã©ããªæ©è½ï¼
ç»åã®ææã®å¤ãå ã«ãæå®ããã°ã©ãã¼ã·ã§ã³ã®è²ã«ç½®ãæããæ©è½ã§ãã
ãã£ã¨è©³ããç¥ãããæ¹ã¯ã以ä¸ã®è¨äºãåèã«ãªãã¨æãã¾ãã
- DESIGN TIPSãã¾ãPhotoshopã®ã°ã©ãã¼ã·ã§ã³ãããã®ä½¿ãæ¹ãï¼http://designers-tips.com/archives/19735ï¼
ã°ã©ãã¼ã·ã§ã³ããããä½æãã
ä¿åããç»åãPhotoshopã§éãã¾ããã«ã©ã¼ã¢ã¼ãã[RGB ã«ã©ã¼]ã«ãªã£ã¦ãããã¨ã確èªãã¾ãã
[ã¬ã¤ã¤ã¼]ããã«ã®ä¸é¨ã«ãã[調æ´ã¬ã¤ã¤ã¼ãæ°è¦ä½æ]ãã¿ã³ãã¯ãªãã¯ãã表示ããããªã¹ããã[ã°ã©ãã¼ã·ã§ã³ããã]ãé¸æãã¾ãã
[ã¬ã¤ã¤ã¼]ããã«ã«èª¿æ´ã¬ã¤ã¤ã¼ã®[ã°ã©ãã¼ã·ã§ã³ããã 1]ã追å ããã¾ããã
ã°ã©ãã¼ã·ã§ã³ã¨ãã£ã¿ã¼ã使ã£ã¦èè²ãä½æãã
[å±æ§]ããã«ã®[ã°ã©ãã¼ã·ã§ã³]ãã¯ãªãã¯ãã¦ã[ã°ã©ãã¼ã·ã§ã³ã¨ãã£ã¿ã¼]ã表示ãã¾ãã
ã°ã©ãã¼ã·ã§ã³ã¯å·¦ç«¯ï¼ä½ç½®0%ï¼ããå³ç«¯(ä½ç½®100%)ã«åãã£ã¦ãç»åã®æãã¨ããããæããã¨ããã¨ç½®ãæãã¾ããç¾å¨ã¯ã左端ã«[é»(RGB:0,0,0)]å³ç«¯ã«[ç½(RGB:255,255,255)]ã®2è²ãè¨å®ããã¦ãã¾ãã
ä½ç½®ã追å ãã¦ãã®ãããªèè²ã®ã°ã©ãã¼ã·ã§ã³ãä½æãã¾ãã
- 左端ï¼ä½ç½®0%ï¼ï¼RGB(214,192,85)
- 左端ï¼ä½ç½®33%ï¼ï¼RGB(245,169,96)
- 左端ï¼ä½ç½®67%ï¼ï¼RGB(255,255,200)
- 左端ï¼ä½ç½®100%ï¼ï¼RGB(245,248,229)
[OK]ãã¿ã³ãæ¼ãã¦ç¢ºå®ãã¾ãã
ã°ã©ãã¼ã·ã§ã³ããããè¨å®ãããèè²ã®ãã¯ã¹ãã£ãä½æã§ãã¾ããã
PNGå½¢å¼ãªã©Blenderãèªã¿è¾¼ããå½¢å¼ã§ä¿åãã¾ããèã®ãã¯ã¹ãã£ãå¾ã§è²ã調æ´ã§ããããã«PSDå½¢å¼ã®ãã¡ã¤ã«ã¨ãã¦ä¿åãã¦ããã¾ãã
ãã¤ã³ã:ã°ã©ãã¼ã·ã§ã³ã®è²ãé¸ã¶ã¨ãã«
èè²ã§æããªã£ã¦ããé¨åã®è²ãé¸æããéãæãããã¨ãã£ã¦å½©åº¦ã®ä½ãè²ãé¸ãã§ãã¾ãã¨èã®è²ããããã§ãã¾ããè¦æ ããæªããªã£ã¦ãã¾ãã¾ããé»ãæ··ãããããªå½±è²ã«ãªããªããããè²ã®å½©åº¦ã«æ³¨æãã¦é¸æããã¨ããã§ãããã
Blenderã§ãªãã¸ã§ã¯ãã«èã®ãã¯ã¹ãã£ãåæ ãã
ãªãã¸ã§ã¯ãã«ãããªã¢ã«ãè¨å®ãã¦ãèã®ãã¯ã¹ãã£ãåæ ãã¾ãããã
ã¢ã¦ãã©ã¤ãã¼ã»ã¨ãã£ã¿ã¼ã§ãã¤ã¯ã®å ã¨ãããªãã¸ã§ã¯ããé¸æãã¾ããããã§ã¯èã®ãããªã¢ã«ãä½æããã®ã§ã[Body]ãªãã¸ã§ã¯ããé¸æãã¦ãã¾ãã
ããããã£ã»ã¨ãã£ã¿ã¼ã®ãããã¼ã«ãã[ãããªã¢ã«]ãã¿ã³ãã¯ãªãã¯ãã¦ãªã³ã«ãã¾ãã
[æ°è¦]ãã¿ã³ãæ¼ãã¦ããããªã¢ã«ãä½æãã¾ãã
ãããªã¢ã«ã«ãSkin.Bodyãã¨ããååãã¤ãã¾ããã
ä»åã¯ç¢ºèªã®ãããã©ã¤ãã®å½±é¿ãåãç¡ãããã«[ã·ã§ã¼ãã£ã³ã°]ããã«ã®[é°å½±ãªã]ã«ãã§ãã¯ãå ¥ãã¾ãã
ããããã£ã»ã¨ãã£ã¿ã¼ã®ãããã¼ã«ãã[ãã¯ã¹ãã£]ãã¿ã³ãã¯ãªãã¯ãã¦ãªã³ã«ãã¾ãã
[æ°è¦]ãã¿ã³ãæ¼ãã¦ããã¯ã¹ãã£ãä½æãã¾ãã
ãã¯ã¹ãã£ã«ãTexture_Bodyãã¨ããååãã¤ãã¾ããã
[ç»å]ããã«ã®[éã]ãã¿ã³ãããå ã»ã©ä½æãããã¯ã¹ãã£ãèªã¿è¾¼ã¿ã¾ãã
ä¸ã®æ¹ã«ã¹ã¯ãã¼ã«ãã¦[ãããã³ã°]ããã«ã表示ãã¾ãã
ä¸è¨ã®ããã«è¨å®ãã¦ããããã³ã°ã«UVããããåæ ãããããã«ãã¾ãã
- 座æ¨:[UV]
- ããã:[UVMap]â»ãªãã¸ã§ã¯ãã«é¢é£ã¥ãããã¦ããUVãããã®å称ãé¸æãã¦ãã ããã
ãªãã¸ã§ã¯ãã«èã®ãã¯ã¹ãã£ãåæ ããã¾ããã
ã¾ã¨ã
ããã¾ã§èªãã§ãã ãã£ãæ¹ã®ä¸ã«ã¯ããããããPhotoshopã§ã°ã©ãã¼ã·ã§ã³ããããªãã使ããªãã¦ãããã£ãã¥ã¼ãºã«ã«ã©ã¼ã©ã³ãã使ç¨ãã¦ããã°ãããªã¢ã«ã ãã§åããã¨ã§ããããããã¨æãããããããã¾ããã
ããè¯ããã¯ã¹ãã£ã«ä»ä¸ããã«ã¯ããããã大äºãªã¨ããã§ãé¦ã®é¨åã«ã¯ãã£ã¨æ¿ãå½±ãæãè¾¼ãã ããèãèãªã©ã«ã¯èµ¤ã¿ã足ãã¦ãããããè¸ãªã©ãã£ã¨ç«ä½æã強調ãããã¨ããã«ã¯ãã¯ã¹ãã£ã«ãã©ã¤ãã£ã³ã°å¦çãå ããå¿ è¦ãããã¾ãã
å¿ç¨ç·¨ã¨ãã¦ãã°ã©ãã¼ã·ã§ã³ãããã®å©ç¹ããã¯ã¹ãã£ã®æ¸ãè¾¼ã¿æ¹æ³ã«ã¤ãã¦ããå°ãæãä¸ãã話ãªã©ãèãã¦ãã®ã§ãããè¨äºãé·ããªã£ã¦ãã¾ã£ãã®ã§ãä»å¾å¥è¨äºã¨ãã¦æ稿ãããã¨æãã¾ãã
æå¾ã¾ã§ãèªã¿ããã ããããã¨ããããã¾ããã
ææ¥ã®Blender Advent Calendar 2014ã¯ãkozmofããããªãããã¯ãã«ã«ãªãã¨ï¼æªå®ï¼ãæ¸ãã¾ããã§ãã
ããããã©ããã¼ï¼
LINEã¹ã¿ã³ããã¢ã³ã¨ããããã販売éå§ãã¾ããï¼ï¼
é·ã審æ»æéãçµãããã¢ã³ 㨠ããããããããã販売éå§ã¨ãªãã¾ããï¼
ã¹ã³ãã£ãã·ã¥ãã©ã¼ã«ãã®å¥³ã®åãã¢ã³ãã¨é»ç«ã®ç·ã®åããããããã®ã¹ã¿ã³ãã§ãã
ä»ã®ç«ç³»ã¹ã¿ã³ãã¨ã®éãã¯ãã«ããã«åãã®LOVEãªè¦ç´ ãå°ããå ¥ã£ã¦ãããã¨ã§ãï¼ ãããæ°ã«å ¥ã£ã¦ããã ãã¾ããããããªãã®ãã¼ããã¼ã¨ä¸ç·ã«ä½¿ã£ã¦ããã ãããå¬ããã§ãã
è©å¤ããããã°â¦åãã£ã©ã¯ã¿ã¼åä½ã§ãè²ããªã·ãã¥ã¨ã¼ã·ã§ã³ã¡ãã»ã¼ã¸ã å¢ããããã¼ã¸ã§ã³ãä½æãããã¨æã£ã¦ãã¾ãã
(13/12/06 æ´æ°) æå®ããã©ãã«ã«ã¿ã¤ã ã©ã¤ã³ãããã移åããFlashã®æ¡å¼µæ©è½
æå®ããã©ãã«ã«ã¿ã¤ã ã©ã¤ã³ãããã移åããFlash Proã®æ¡å¼µæ©è½ãä½æãã¾ããã
ãã®æ¡å¼µæ©è½ã®ã¢ã¤ãã¢ã¯ãA.e.Suckãã¾ã®è¨äºã§ã
æ²ããä½ã§ãã¬ã¼ã çªå·ãæå®ãã¦åçãããã移åããã³ãã³ãããããã§ãããããã®ã©ãã«çããã£ãããããªããåä»ãã¦ãã©ãã«åãæå®ãã¦åçãããã移åãããã³ãã³ãã
ã¨ããçºè¨ãã¿ã¤ãããããã¨ã¦ã便å©ãããªJSFLãªã®ã§ãåå¼·ãã¦ãä½ã£ã¦ã¿ã¾ããã
â¦ããã¿ã¤ã ã©ã¤ã³ãæ°ç¾ãã¬ã¼ã 以ä¸ã«ãªãã¨ãããã移åããã¾ã§ã«å°ãæéããããã¾ãorz
表示ãã¦ããã¿ã¤ã ã©ã¤ã³ã®ããããåããã ããªã®ã§ãã·ã¼ã³ã¾ããã 移åãã§ãã¾ããã
ãããªãããªã§ããã¾ãã¡å®ç¨æ§ã«ä¹ããæ¡å¼µæ©è½ãªã®ã§ãããã¨ããããä½ã£ãã®ã§ã²ã£ããå
¬éãã¦è¦ããã¨æãã¾ãã
(2013/12/06 追è¨)
ã³ã¼ãã®æé©åãè¡ããã¿ã¤ã ã©ã¤ã³ã®ãã¬ã¼ã æ°ãå¤ãã¦ãã¿ã¤ã ã©ã¤ã³ãããã®ç§»åã«æéãããããªããªãã¾ããã
ä¿®æ£ãã¼ã¸ã§ã³ã¯ä¸è¨ã«ã¢ãããã¼ããã¾ããã
ãã¦ã³ãã¼ã
æå®ã©ãã«ã«ç§»å v1.1.0ï¼ZXPå½¢å¼ï¼Adobe Flash CS6 以éï¼ï¼goto_label_v1.1.0.zxp
æå®ã©ãã«ã«ç§»å v1.1.0ï¼ã½ã¼ã¹ãã¡ã¤ã«ï¼ï¼goto_label_v1.0.0.zip
æ©è½èª¬æ
- ç¾å¨è¡¨ç¤ºä¸ã®ã¿ã¤ã ã©ã¤ã³ã®ãããããæå®ããã©ãã«ã®ä½ç½®ã«ç§»åãã¾ããã ã¼ãã¼ã¯ãªããã表示ä¸ã§ããã°ããã®ã ã¼ãã¼ã¯ãªããã®ã¿ã¤ã ã©ã¤ã³ãããã移åãã¾ãã
- ã©ãã«åãéè¤ãã¦ããå ´åã¯ãæåã«è¦ã¤ãã£ããã¬ã¼ã ã©ãã«ã®ä½ç½®ã«ãããã移åãã¾ãã
åä½ç°å¢
- Adobe Flash CS6 以éï¼Windows/Macï¼
- Mac OS X 10.7.5ãAdobe Flash CS6ãAdobe Flash CC ã§åä½ç¢ºèªãè¡ã£ã¦ãã¾ãã
ãã¶ãWindowsã§ãåãã¨æãã¾ãããã¤ã³ã¹ãã¼ã«ã§ããªãã£ãããåããªãã£ããããå ´å㯠@necogane ã¾ã§æãã¦ãã ããã
使ãæ¹
- Extension Manager ã使ç¨ãã¦ã[goto_label_v1.1.0.zxp]ãã¤ã³ã¹ãã¼ã«ãã¾ãã
- [ã³ãã³ã]ã¡ãã¥ã¼â[æå®ã©ãã«ã«ç§»å]ãé¸æãã¾ãã
- [ãã¬ã¼ã ã©ãã«]ã«ç§»åãããã©ãã«åãå ¥åãã[OK]ãã¿ã³ãã¯ãªãã¯ãã¾ãã
- ã¿ã¤ã ã©ã¤ã³ããããæå®ãããã¬ã¼ã ã©ãã«ã®ä½ç½®ã«ç§»åãã¾ãã
注æ
ãã¬ã¼ã æ°ãå¤ãï¼500ãã¬ã¼ã 以ä¸ã®å ´åï¼ã¨ããããã移åããã¾ã§ã«å°ãå¾ ãããã¾ããé度ã®æ¹åçããªããæ¤è¨ãã¾ããâæ¹åãã¾ããã- ã©ãã«ç¨ã®ã¬ã¤ã¤ã¼ã¯ããªãã¹ãä¸çªä¸ã«ç½®ãã¦ããã¦ãã ããã
ããã¯ãå é¨çã«åã¬ã¤ã¤ã¼ã®ãã¼ãã¬ã¼ã ãã¨ã«ã©ãã«ã®ãã§ãã¯ãè¡ã£ã¦ããã®ã§ãããã¬ã¤ã¤ã¼ã¯ä¸ããé çªã«æ¤ç´¢ãã¦ãã¾ãããã®ãããä¸çªä¸ã«ã©ãã«ã¬ã¤ã¤ã¼ãç½®ãã¦ããã¨ãä¸çªåãã«ãã§ãã¯ãè¡ãããã®ã§ãã©ãã«ã®ä½ç½®ã®æ¤ç´¢å¦çã«æéãããããªããªãã¾ãã
éã«ãã¼ãã¬ã¼ã ã沢山ï¼500ãï¼æ¯ã£ã¦ããã¬ã¤ã¤ã¼ãä¸çªä¸ã«ç½®ããã¦ããã¨ãå¾ ã¡æéãããã£ã¦ãã¾ãã¾ãã®ã§ã注æãã ããã
SFWãã¼ã¿ã®æå·åã«é¢ãããã¨
ã²ã¼ã ã®ãªã½ã¼ã¹ãã¼ã¿ã®æå·åãè¤åæ¹æ³ã調ã¹ã¦ãã¦ããã¼ã¿ãæå·åãè¤åãããã¨ã¯ã§ãããã©ãèå¿ã®ç§å¯éµãã©ãã«æãããã°è¯ãã®ãæ©ãã§ããã
SWFèªä½ã«ç§å¯éµãå«ãã¦ãã¾ãã¨ãä»®ã«SWFãéã³ã³ãã¤ã«ããã¦ãã¾ã£ãå ´åã«ãã¬ãã¬ã«ãªã£ã¦ãã¾ãã
æ å ±ãæ¢ãã¦ããã¨ãããSWFãã¼ã¿ã®æå·åã«é¢ãããã¨ããAdobeã®ãã¼ã¸ã«æ²è¼ããã¦ããã
より安全なSWF Webアプリケーションの作成 | Adobe Developer Connection
éçºè ã¯SWFãã¡ã¤ã«ãéã³ã³ãã¤ã«ã§ãããã¨ãèªèãã¦ããå¿ è¦ãããã¾ãããã®ããããããã®æå·åæ¹å¼ã®ç§å¯éµããã³ãã©ã¤ãã¼ãéµã¯ãSWFãã¡ã¤ã«èªä½ã®ä¸ã«æ ¼ç´ã§ãã¾ãããå°ãªãã¨ãã対称æ¹å¼ã®ç§å¯éµã¨é対称æ¹å¼ã®ãã©ã¤ãã¼ãéµã¯ãã»ãã¥ãªãã£ã§ä¿è·ãããã¤ã³ã¿ã¼ããããããã³ã«ãéãã¦ãã¦ã³ãã¼ãããããã¨ã³ãã¦ã¼ã¶ã®ãã·ã³ä¸ã®SWFããçæãããã¨ã«ãã£ã¦ãæ¼æ´©ãé²æ¢ããå¿ è¦ãããã¾ãã
å¼ç¨ç®æãæ´ã«æç²ããã¨ãä¸è¨ã®2ã¤ã®æ¹æ³ãããã¨ãããã¨ã ã£ãã
- ã»ãã¥ãªãã£ã§ä¿è·ãããã¤ã³ã¿ã¼ããããããã³ã«ãéãã¦ãã¦ã³ãã¼ããã
- ã¨ã³ãã¦ã¼ã¶ã®ãã·ã³ä¸ã®SWFããçæãã
ãã ãã¤ã³ã¿ã¼ãããã«æ¥ç¶ã§ããªãå ´åãããã¨æãã®ã§ãä»ã«ãæ¹æ³ããªããæ¢ãã¦ã¿ãã
ActionScript 3.0 ã§ããã£ã¹ãã¬ã¤ãªãã¸ã§ã¯ãããBitmapDataãåå¾ããã«ã¯ï¼
ã¤ã³ã¹ã¿ã³ã¹åããMovieClipãªã©ã®DisplayObjectããBitmapDataãåå¾ããã«ã¯ãdraw (BitmapData.draw ã¡ã½ãã)ã使ç¨ããã ãã®éãmatrixã«DisplayObjectã®ã¹ã±ã¼ã«æ å ±ã渡ããã¨ã§ãå¤å½¢å¾ã®BitmapDataãå¾ããã¨ãåºæ¥ãã
flash on 2013-11-21 - wonderfl build flash online
package { import flash.display.Bitmap; import flash.geom.Matrix; import flash.display.BitmapData; import flash.display.MovieClip; import flash.display.Sprite; public class FlashTest extends Sprite { public function FlashTest() { //DisplayObject ãä½æ var _mc:MovieClip = new MovieClip(); _mc.graphics.beginFill(0xFF0000); _mc.graphics.drawRect(0,0,24,24); _mc.graphics.endFill(); //[1]ãã¹ãã®ããã¹ã±ã¼ã«ã2åã«ãã _mc.scaleX = 2; _mc.scaleY = 2; //DisplayObject ã¨åããµã¤ãºã® BitmapData ãä½æ //ãããããããã¼ã¿1 var _bitmapData1:BitmapData = new BitmapData(_mc.width,_mc.height,false); //ãããããããã¼ã¿2 var _bitmapData2:BitmapData = new BitmapData(_mc.width,_mc.height,false); //DisplayObject ã®ã¹ã±ã¼ã«æ å ±ãåå¾ var _matrix:Matrix = new Matrix(); _matrix.scale(_mc.scaleX,_mc.scaleY); //BitmapData ã«æ¸ã込㿠//[2]ãããããããã¼ã¿1ã¯ãã®ã¾ã¾ _bitmapData1.draw(_mc); //[3]ãããããããã¼ã¿2ã«ã¯ãMatrixã渡ã _bitmapData2.draw(_mc,_matrix); //[4]ãããããããã¼ã¿1ã®æ¹ã¯ã[1]ã®ã¹ã±ã¼ã«ãåæ ãããä½ææã® DisplayObject ã®ãµã¤ãºã®ã¾ã¾ var bitmap1:Bitmap = new Bitmap(_bitmapData1); this.addChild(bitmap1); //[5]ãããããããã¼ã¿2ã®æ¹ã¯ã[1]ã®ã¹ã±ã¼ã«ãåæ ãã2åã®å¤§ããã§è¡¨ç¤ºããã var bitmap2:Bitmap = new Bitmap(_bitmapData2); bitmap2.x = 48;//ä½ç½®èª¿æ´ this.addChild(bitmap2); } } }
ActionScript 3.0 ã§Stringåã®å é¨æåã³ã¼ãã¯ï¼
ãUTF-16BEãï¼BEã¯ããã¯ã¨ãã£ã¢ã³ï¼ã
Adobe Flash Platform * ãã¼ã¿åã®ãString ãã¼ã¿åãã«ãæ¸ããã¦ãã¦ãcharCodeAtã§æåã³ã¼ãã調ã¹ãã¨UTF-16BEå½¢å¼ã§æåã³ã¼ããè¿ã£ã¦ããã
ï¼charCodeAt ã¯Unicode表ã¨ç
§ããåãããã¨ãã«ãããããããï¼
å¤é¨èªã¿è¾¼ã¿ããããã¹ããã¡ã¤ã«èªä½ã®æåã³ã¼ãã¯ãUTF-8ããæ¨å¥¨ã¨ããã¦ãããããByteArrayã使ãèªåã§ããã¹ããã¡ã¤ã«ã®æåã³ã¼ãã調ã¹ãæã¨ãcharCodeAtã§èª¿ã¹ãæåã³ã¼ãã¨ã®éãããããããã£ãã®ã§ã¡ã¢ã
ã¯ã¦ãªããã°ã§SWFãã¡ã¤ã«ã®åãè¾¼ã¿ãã¹ã
DropBoxã®[Public]ãã©ã«ãã使ç¨ãã¦ãSWFãã¡ã¤ã«ã表示ã [Public]ãã©ã«ãæ©è½ã®å¾©æ´»ã¯ãä¸è¨ãªã³ã¯ãåèã«ããã¦ããã ãããæè¬ã
ã·ã±ã¢ã¯ Tech: Dropboxã§å»æ¢ãããPublicãã©ã«ãæ©è½ãï¼ç§ã§å¾©æ´»ãããæ¹æ³
Flash Player 11.7.0 以ä¸ãã¤ã³ã¹ãã¼ã«ãã¦ãã ããã