äžäœ3Dãšã³ãžã³ã§ããUnreal Engine 4ãšUnityã®æ¯èŒãç¶ããä»åã¯2Dãããžã§ã¯ããéçºããéã®å©ç¹ãšæ¬ ç¹ãæ€èšããŸãã Unrealã2Dã«é©ããŠããçç±ã2次å ã²ãŒã ã®åºæ¬èŠçŽ ã䜿çšããäœæ¥ã®ç·šææ¹æ³ãããã³éªšæ Œã¢ãã¡ãŒã·ã§ã³ã䜿çšããŠ2Dãã£ã©ã¯ã¿ãŒãå®è£ ã§ããããšã確èªããŸãã
Unity 5ãšUE4ã3Dã²ãŒã ã«é¢ããŠãã§ã«æ¯èŒããŠããŸãã ã€ãŸããUnrealã¯ã¯ãŒã«ã§ãé«å質ã®3次å ã²ãŒã ã®éçºã«äœ¿çšã§ãããšããçµè«ã«éããŸããã ãããã2Dã²ãŒã ã®äžçã®ç¶æ³ã¯ã©ãã§ããïŒ Unity 5ãšUnreal Engine 4.16ãæ¯èŒããŠãã ããã
ã¢ã³ãªã¢ã«ãšã³ãžã³4察Hollow KnightïŒUnityïŒ
3Dåãã®Unrealã®äººæ°ãçãäœå°ããªãå Žåãããšãã°ãåçšã®2Dãããžã§ã¯ãã¯äºå®äžãããŸããã ãããã£ãŠãçåãçããŸãïŒUnrealã2Dã«äœ¿çšãã䟡å€ã¯ãããŸããïŒãã®ãããªãããžã§ã¯ãã«ã¯åé·ãããã®ã§ããããïŒ
ïŒã¹ã¯ãªãŒã³ã·ã§ããã®èæ¯ã«ããïŒã²ãŒã Hollow Knightã®äŸã§ãã®åé¡ãæ€èšããŠãã ããã Unityãšã³ãžã³ã§äœæãããPCããŒãžã§ã³ã¯8.5 GBãå æããéåžžã«åŒ·åãªãããžã§ã¯ãã§ãã Unrealã§åæ§ã®ã²ãŒã ãäœæããå Žåãã©ã³ã¿ã€ã ã©ã€ãã©ãªã¯ãããžã§ã¯ãã¢ã»ã³ããªã§çŽ100ã200 MBãå æããŸãã 倧èŠæš¡ãããžã§ã¯ãã®å Žåãã¢ãã€ã«ã²ãŒã ã§ããæ°ã®ã¬ãã€ãã®éããããããšããããããããã¯ããã»ã©æãããšã§ã¯ãããŸããã
ã¢ã³ãªã¢ã«ã¯2Dã²ãŒã ã®äœæã«ã©ã®ããã«åœ¹ç«ã¡ãŸããïŒ
Unrealã®å©ç¹ã¯ããã«ãŒããªã³ãã§ã²ãŒã ãäœæã§ããããšã§ãã Blooprintã¯ããžã¥ã¢ã«ããã°ã©ãã³ã°ããŒã«ã®ã·ã¹ãã ã§ãããããã°ã©ãã³ã°èšèªã®æ·±ãç¥èããªããŠããããžã¥ã¢ã«ã¹ããŒã ã®ã¿ã§ã²ãŒã ãäœæã§ããŸãã
å€ãã®å Žåãããã°ã©ãã ãã§ãªããã¬ãã«ãã¶ã€ããŒãã¢ãã¡ãŒã¿ãŒãã²ãŒã ãã¶ã€ããŒãèšèšå³ã䜿çšããŸãã ãããã¯ãã¹ãŠã®ãšã³ãžã³ãµãã·ã¹ãã ã«çµã¿èŸŒãŸããŠãããC ++ã³ãŒãã§æ¡åŒµã§ããŸãã
ããªã³ããä»ããã²ãŒã ãªããžã§ã¯ãã®å¶åŸ¡ã®å®è£
ãŸããã²ãŒã ãäœæãå§ããã°ããã®å Žåã¯ãæåã®ã²ãŒã ã2Dã§äœæããŠã¿ãŠãã ããã3Dã²ãŒã ãããå®çŸ©ãåçŽã§ããããã§ãã 2Dã®å Žåãå¿ èŠãªã³ã³ããŒãã³ãã¯å°ãªããã²ãŒã ã®ä»çµã¿èªäœã¯ããã©ãããã§ãã ãã¡ããããã®ãããªãããžã§ã¯ãã§ã¯ãå¿ èŠã«å¿ããŠ3Dã¢ãã«ãèæ¯ãšããŠäœ¿çšã§ããŸãã åå¿è ã®éçºè ã«ãšã£ãŠã¯ãUnityã®CïŒèšèªãUE4ã®C ++ãåŠã¶ãããããã«ãŒããªã³ãã·ã¹ãã ãç解ããæ¹ãç°¡åã§ãã
æ¢ã«Unrealãè©Šããããšãããæ¹ã¯ãUnreal Gameplay Frameworkã·ã¹ãã ã«æ £ããŠãããããããŸãããããã¯ããã£ã©ã¯ã¿ãŒã³ã³ãããŒã«ïŒãã¬ãŒã€ãŒã³ã³ãããŒã©ãŒïŒããHUDãã²ãŒã ã€ã³ã¿ãŒãã§ãŒã¹ãã¢ãã¡ãŒã·ã§ã³ã«è³ãäžé£ã®ãšã³ãžã³ãšã³ãã£ãã£ã§ãã 2Dã³ã³ããŒãã³ãã®ã»ããã¯3Dã«äœ¿çšããããã®ãšã¯ãããã«ç°ãªããšããäºå®ã«ãããããããäœæ¥ã®äžè¬ååã¯ééããªãååšããŠããŸãã
ã¢ã³ãªã¢ã«ã«ã¯çŽ æŽããããã«ããã¬ã€ã€ãŒããããŸãã ããã¯ãé«ã¬ãã«ã®ã¯ã©ã€ã¢ã³ã/ãµãŒããŒçžäºäœçšã®çµã¿èŸŒã¿ãšã³ãžã³å®è£ ã§ããããã®å©ããåããŠãã¯ã©ã€ã¢ã³ãã³ãŒããšãµãŒããŒã³ãŒãã®äž¡æ¹ãããã«èšè¿°ã§ããŸãã ãšããã§ããã®ã¿ã¹ã¯ã¯éåçã«ãã£ãŠã解決ãããŸãã ãã®å Žåããšã³ãžã³äžã«å°çšãµãŒããŒãæ§ç¯ã§ããŸãã Unityãšã³ãžã³ã«ã¯ãã®ãããªå¯èœæ§ã¯ãããŸããã ããã«ããšãã£ã¿ãŒã§ã¯ãå¿ èŠãªæ°ã®ã²ãŒã ã€ã³ã¹ã¿ã³ã¹ãèµ·åããŠããã«ããã¬ã€ã€ãŒã²ãŒã ããã¹ãããã®ã䟿å©ã§ãã ãã®èµ·åã¢ãŒãã¯ãéåžžã®èµ·åã¢ãŒããšããã»ã©å€ããããè¿œå ã®æéãå¿ èŠãšããŸããã
Unityã®2D
Unityã¯2Dã²ãŒã ã«äœãæäŸããŸããïŒ ãŸããSprite Rendererã³ã³ããŒãã³ãã2Dã²ãŒã ã°ã©ãã£ãã¯ã¹ã®ããŒã¹ã§ãã ã¹ãã©ã€ããã³ã³ãã³ããã©ã«ããŒãããšãã£ã¿ãŒã®ã·ãŒã³ã«è»¢éãããããã«åºã¥ããŠã¬ãã«èŠçŽ ãšã²ãŒã ãªããžã§ã¯ããæ§ç¯ã§ããŸãã Unrealã§ã¯ãã·ãŒã³ç·šéã®åæ§ã®ã¡ã«ããºã ã«æ³šæããŠãã ããã ã¹ãã©ã€ãã³ã³ããŒãã³ããéåžžã®ãã©ãã°ã¢ã³ãããããã§ã·ãŒã³ã«ãã©ãã°ã§ããŸãã ã¹ãã©ã€ãïŒãã¬ãŒã ããšïŒã¢ãã¡ãŒã·ã§ã³ãå®è£ ããããã«ãUnityã¯2ã€ã®æ¹æ³ãæäŸããŸãïŒ
- Animation Controllerã®ã¹ãã©ã€ãã眮ãæããããšã«ããïŒ3Dãªããžã§ã¯ããšåãã¢ãã¡ãŒã·ã§ã³ããŒã«ã䜿çšïŒãçµæã¯è€æ°ã®ã¹ãã©ã€ããš1ã€ã®ã°ã©ãã£ãã¯ãªããžã§ã¯ãã«ãªããã¢ãã¡ãŒã·ã§ã³ã¯ãã®ã¹ãã©ã€ãã®ãã¯ã¹ãã£ãå€æŽããŸãã
- ãã¯ã¹ãã£ããã¢ãã©ã¹ãäœæããŸãã UVã¢ãã¡ãŒã·ã§ã³ã¹ã¯ãªããã䜿çšããŠã¢ãã¡ãŒã·ã§ã³ãäœæã§ããŸãã UV座æšã®ã·ããã«ãããåç»ãååŸãããŸãã ãã®å Žåã1ã€ãŸãã¯è€æ°ã®ã¢ãã¡ãŒã·ã§ã³ã¯ãªããã1ã€ã®ãã¯ã¹ãã£ã«é 眮ãããŸãã
Unityã®æ³šç®ãã¹ãæ©èœã¯ã䜿çšæžã¿ã®ã¹ãã©ã€ããã¢ãã©ã¹ã§èªåããã±ãŒãžåã§ããããšã§ãã ã²ãŒã ãäœæãã段éã§ã¯ãå€ãã®ã¹ãã©ã€ããããããšãå¿é ããããšã¯ã§ããŸãããæé©åã®ããã«äœããã®æ¹æ³ã§ã¹ãã©ã€ããæ§æããå¿ èŠããããŸãã 確ãã«ããã®æ©èœã¯ããã©ã«ãã§ç¡å¹ã«ãªã£ãŠãããã»ãšãã©ã®å Žåãéçºäžã®ãããžã§ã¯ãã®ã¢ã»ã³ããªãé«éåãããŸãã
Unrealã®2D
ã¢ã³ãªã¢ã«ãšã³ãžã³4ã§ã¯ããããžã§ã¯ããŸãã¯ãããã¿ã€ãã®äœæã¯å€ãã®å Žåããã³ãã¬ãŒãã®éžæããå§ãŸãããããã®ã¹ããããæ€èšããŠãã ããã éçºè ãå§ããããããã«ã2D Side Scrollerãããžã§ã¯ããã³ãã¬ãŒãããããŸãã ããã¯Side Scroller 3Dãã³ãã¬ãŒãã«é¡äŒŒããŠããŸããããã®ã°ã©ãã£ãã¯ã¹ã¯æšæºã®Paper2Dãã©ã°ã€ã³ã«åºã¥ããŠããŸãã ããã«ããã2Dã¹ãã©ã€ããã€ãŸããã²ãŒã ãçµã¿ç«ãŠãéåžžã«åºæ¬çãªã°ã©ãã£ãã¯èŠçŽ ããµããŒããããŸãã
ã¹ãã©ã€ãã«å ããŠãã¢ãã¡ãŒã·ã§ã³ã¯ãªãããããããããã¯ããªããããã¯ãšåŒã°ããŸãã åããŒãžã«1ã€ã®ãã¬ãŒã ãæç»ããããããã°ããããã£ãŠåç»åãååŸãããšãã¡ã¢åž³ã®ããã«èŠããŸãã ããªããããã¯ã¯ãæãåçŽãª2次å ã¢ãã¡ãŒã·ã§ã³ã®æ段ã§ãã ã¹ãã©ã€ããšåæ§ã«ããã¯ã¹ãã£ããã«ãŒããã°ã©ã ããã€ã³ããŒãã§ãããã¯ã¹ãã£ã¢ãã©ã¹ã¬ã€ã¢ãŠãèšå®ãæ§æã§ããŸãã ã¢ãã©ã¹ãUnrealã«ããŒãããããšã«ãããåã¹ãã©ã€ããåå¥ã®ã¢ã»ãããšããŠååŸãããããåçŽã«ã¹ããŒãžã«ãã©ãã°ããŸãã
ããã§ã¯ã2D Side Scrollerãããžã§ã¯ãã䜿çšãããšãã£ã¿ãŒã®ã¹ã¯ãªãŒã³ã·ã§ããã衚瀺ãããŸãã ãã£ã©ã¯ã¿ãŒå¶åŸ¡ããã£ã©ã¯ã¿ãŒã®äžçãšã®çžäºäœçšïŒç©çïŒãããã³ã¢ãã¡ãŒã·ã§ã³ã®åãæ¿ããå®è£ ããŸãã 2Dã°ã©ãã£ãã¯ã«ããããããããããžã§ã¯ãã®ç©çã¯3次å ã§ãã ããã¯ãBox2Dã§å®è£ ãããå®éšçãª2Dç©çãWindowsãã©ãããã©ãŒã ã§ã®ã¿å©çšå¯èœã§ãããšããäºå®ã«ãããã®ã§ãã ãã®ããã2Dã¹ãã©ã€ãã¯3次å ã®ç©ççè¡šçŸã«ä»å ãããŸãã ãã®ã¢ãããŒãã¯å°ãå¥åŠãªã®ã§ãç¹å®ã®å¹³é¢å ã§ã®åããå¶éããPaperCharacterãã£ã©ã¯ã¿ãŒçšã®ç¹å¥ãªãã©ã°ããããŸãã
Unityãšã³ãžã³ã§ã¯ãUnrealãšã¯ç°ãªãã2Dç©çã®èŠçŽ ãå®å šã«ãµããŒããããŠããŸããã³ã©ã€ããŒããªãžããããã£ïŒãœãªããããã£ïŒããã®ä»ã®ã³ã³ããŒãã³ãããããŸãã
Unrealã§2Dã¬ãã«ãäœæãã
éåžžãã¬ãã«ã®äœæã¯ãã¹ãã©ã€ãããšãã£ã¿ãŒã®ã²ãŒã ã·ãŒã³ã«è»¢éããããšã§å®è£ ãããŸãã ããããããã«å ããŠãUnrealã«ã¯ã¿ã€ã«ïŒã¿ã€ã«ïŒãšã¿ã€ã«ãããïŒTileMapïŒãäœæããŠã¬ãã«ãç·šéããèå³æ·±ãããŒã«ããããŸãã
ã¬ãã«ã®äœæãéå§ããåã«ãåºå®ãµã€ãºïŒã¿ã€ã«ïŒã®èŠçŽ ã»ãããäºåã«äœæãããããããã¬ãã«ãæ§ç¯ããŸããUnrealã¯ãã¿ã€ã«ãšããããç·šéããããã«å¿ èŠãªããŒã«ãæäŸããŸãã ã¿ã€ã«ã¯ãã°ã©ãã£ãã¯ããŒããšã³ã©ã€ããŒã®äž¡æ¹ãçµã¿åãããŸãã çµæã®ã¿ã€ã«ã¬ãã«ã¯ãç©ççãªè¡šçŸãšã¬ã³ããªã³ã°ã®äž¡æ¹ã®èŠ³ç¹ããèªåçã«æé©åãããŸãïŒæç»åŒã³åºãã®æé©åïŒã
Unrealã§ã¯ãã¬ãã«èŠçŽ ãèšèšå³ã«ãã€ã³ãããããšãã§ããŸãã ãã¢ã³ã¹ã¿ãŒããã®ãã¢ãéãããšããããæšœãççºããå Žåãäœããã®ã€ãã³ããçºçããããªã©ã®ç¹å¥ãªããŒã«ãªãã§ã¹ã¯ãªãããå®è£ ã§ããŸãã
UE4ã®ãã¬ãã«ãã©ã³ããªã³ããã®æçã§ãããªã¬ãŒãŸãŒã³ã«å ¥ã£ããã¬ãŒã€ãŒã«å¯Ÿããåå¿ã®å®è£
Unityã§ã¯ããã®ãããªé¢ä¿ãå®è£ ããããã«ãåã²ãŒã ã€ã³ã¿ã©ã¯ã·ã§ã³ã¡ã«ããºã ã®ã¹ã¯ãªãããŸãã¯ç¹å®ã®ã¬ãã«ã®å¶åŸ¡ã¹ã¯ãªãããäœæããå¿ èŠããããŸãã 倧èŠæš¡ãªãããžã§ã¯ãã®å Žåãã«ããã·ãŒã³ãŸãã¯ã€ãã³ãã®ã·ã¹ãã ãæ§ç¯ããå¿ èŠããããŸãã
Unrealã®2Dãã£ã©ã¯ã¿ãŒ
Unreal Paper2Dãã©ã°ã€ã³ã¯ãPaperCharacterã³ã³ããŒãã³ããæäŸããŸãã ããã¯ãFlipbookãã€ãŸãã¹ãã©ã€ããã¬ãŒã ã¢ãã¡ãŒã·ã§ã³ã·ã¹ãã ã«åºã¥ããã£ã©ã¯ã¿ãŒã§ãã ãã£ã©ã¯ã¿ãŒèªèº«ãšåœŒã®ç©çã¢ãã«ã3Dã«ãã»ã«ã®åœ¢ã§çšæããŸãã
æãªããã®åããå®çŸããããã«ãã«ãã»ã«ã®å¹³ããªåºã«ç¹å¥ãªæããããŸãã éå»ã«æ»ããã¹ãããã®ç«¯ã«ç«ã€ãã£ã©ã¯ã¿ãŒãåããªãããã«ããããšãã§ããŸãã ãã®ç¹ã¯ãäžéšã®ã²ãŒã ã¡ã«ããºã ãŸãã¯ã¬ãã«æ©èœã®éµãšãªãå ŽåããããŸãã
å€ãåŠæ ¡ã®ç©çåŠãå¯èœã«ãªããŸããïŒ
ã¹ã±ã«ãã³ãã£ã©ã¯ã¿ãŒã¯ã©ãã§ããïŒ UnrealãšUnity 5ã®ã©ã¡ãã«ãã2次å ã®éªšæ Œã¢ãã¡ãŒã·ã§ã³çšã®çµã¿èŸŒã¿ã³ã³ããŒãã³ãã¯ãããŸãããããã®åé¡ã«ã€ããŠããã«æ€èšããŸãã
2次å éªšæ Œã¢ãã¡ãŒã·ã§ã³çšã®èæ€
Spineã¯ã2次å ãã£ã©ã¯ã¿ãŒãäœæããããã®å æ¬çãªããã±ãŒãžããã³SDKã§ãã ããã䜿çšããŠããã£ã©ã¯ã¿ãŒã®ã¹ã±ã«ãã³ãäœæãããã¹ãã©ã€ããããã«æ¥ç¶ãããŸãããããã¯å¿ ãããé·æ¹åœ¢ã§ã¯ãããŸãããå¿ èŠãªåœ¢ç¶ãäžããããšãã§ããŸãã ã¢ãã¡ãŒã·ã§ã³ã¯éªšæ Œã§ããã3Dãã£ã©ã¯ã¿ãŒã«äœ¿çšããããã®ãšå®å šã«äŒŒãŠããŸãã ã¹ãã©ã€ããšã¯ç°ãªããã¢ãã¡ãŒã·ã§ã³ã®ããŒãã¬ãŒã éã§ããŒã³ã®åãã®è£éãå®è¡ããããããã¹ã ãŒãºã«ãªããŸãã åæã«ãã¢ãã¡ãŒã·ã§ã³ãã¡ã€ã«ã®ééãå°ãªããªããããã«Spineã䜿çšãããšããªããžã§ã¯ãããã£ã©ã¯ã¿ãŒã«ã¢ã¿ããã§ããŸãã
ãã£ã©ã¯ã¿ãŒã®ããŒã³ã衚瀺ããSpineããã°ã©ã ã®ã¡ã€ã³ãŠã£ã³ããŠ
ãããã£ãŠãSpineã§ã¯ããã¹ãŠã®ã¢ãã¡ãŒã·ã§ã³ãšãªããžã§ã¯ãããã€ã³ãããããã®èšå®ãå«ãããã£ã©ã¯ã¿ãŒãå®å šã«äœæã§ããŸãã ã¢ãã¡ãŒã·ã§ã³èªäœã«å ããŠãSpineã§ã¯ãã¹ãããã®é³ãªã©ãã¢ãã¡ãŒã·ã§ã³ã®ä»»æã®ç¬éã«ã€ãã³ããæ·»ä»ããããšãã§ããŸãã ãšãã£ã¿ãŒã§çŽæ¥èšå®ãããã£ã©ã¯ã¿ãŒãšãã®ã€ãã³ããã¢ãã¡ãŒã·ã§ã³ãšã©ã®ããã«çµã¿åãããããã確èªãããšã³ãžã³ã«é©ãã圢åŒã«ãšã¯ã¹ããŒãã§ããŸãã ããã°ã©ã ãããšã¯ã¹ããŒããããšãåçä»ãã®ã¢ãã©ã¹ãã¡ã€ã«ãåŸãããŸãããã£ã©ã¯ã¿ãŒã®äžéšãšãã¢ãã¡ãŒã·ã§ã³ãšè¿œå ã®èšå®ãå«ãŸããJSONã§ãã ãã£ã©ã¯ã¿ãŒã«ã¯è€æ°ã®ã¹ãã³ããããã¹ãã³ã«ã¯è¿œå ã®ã¹ãã©ã€ããããŒã³ã«è¿œå ã§ããŸãã
ãŸããã¹ãã€ã³ã¯ã¡ãã·ã¥å€åœ¢ããµããŒãããããšãè¿°ã¹ãããŠããŸãã 骚ãåãããšãã¹ãã©ã€ãã¯éªšãšãšãã«äŒžã³ãããšããããŸãã ããã¯ãã®ãããªããã±ãŒãžã®ãã¹ãŠã§ã¯ãããŸããããç¹å®ã®ãã£ã©ã¯ã¿ãŒãäœæããã®ã«åœ¹ç«ã€å¯èœæ§ããããããæ©äŒã¯æ³šç®ã«å€ããŸãã ãŸãããã®ã·ã¹ãã ã䜿çšãããšãã¢ãã¡ãŒã·ã§ã³ãäºãã«ãã¬ã³ãïŒããã¯ã¹ïŒããããã°ã©ã ã§ç®¡çã§ããŸãã èšãæããã°ãããšãã°ã1åã®å®è¡ã¢ãã¡ãŒã·ã§ã³ãäœæããããšã«ããããŠã©ãŒã¯ã¢ãã¡ãŒã·ã§ã³ã«ã¹ã ãŒãºã«ç§»è¡ã§ãããã®éãåæ§ã§ãã
ãã®ç¹å®ã®æ©èœã»ãããšãµããŒãããããã©ãããã©ãŒã ã®å€æ§æ§ã«ãããSpineã·ã¹ãã èªäœã¯å€ãã®å Žåããšã³ãžã³ã®ã¡ã€ã³ã¢ãã¡ãŒã·ã§ã³ã·ã¹ãã ããåé¢ãããŸãã ããšãã°ãUnityã§ãããšããšãã£ã©ã¯ã¿ãŒã«ãã£ãããŒã³ã®éå±€ãäœæã§ããå ŽåïŒããã¯1ã€ã®ãã¿ã³ã§è¡ãããŸãïŒãUnrealã®ãã©ã°ã€ã³ã§ã¯ãŸã ãããŸããã ããã§ãectorãããŒã³ã«ãã€ã³ãããããã®ç¹å¥ãªã³ã³ããŒãã³ããäœæã§ããŸãã ããšãã°ãããŒã³ã®ååãèšå®ãããšããªããžã§ã¯ããããŒã³ã«ã¢ã¿ãããããŸãã
Unreal Engine 4ã®ã¹ãã€ã³
Unrealã®æè¿ã®ããŒãžã§ã³ã§ã¯ãSpineãã©ã°ã€ã³ã®ã¢ã»ã³ãã«ã劚ãããã°ãä¿®æ£ãããçŸåšã§ã¯äœ¿çšã§ããŸãã Spineã®äœ¿çšäŸã¯ãã¹ãŠãã«ãŒããªã³ãã«å®è£ ãããŠãããAPIãžã®ã¢ã¯ã»ã¹ã¯ã³ãŒããšãã«ãŒããªã³ãã®äž¡æ¹ããã§ãã ããšãã°ããã£ã©ã¯ã¿ãŒã®åããã¢ãã¡ãŒã·ã§ã³ã®ãã¬ã³ããã¢ãã¡ãŒã·ã§ã³ã€ãã³ãããã®ãµãŠã³ãã®åçã®äŸããããŸãã
䟿å©ãªã€ãã³ããã€ã³ãããããŸããç¹å¥ãªã€ãã³ããã¢ãã¡ãŒã·ã§ã³ã®ä»»æã®ç¬éã«ãã€ã³ãã§ããŸãã Unrealã§ã¯ãã¢ãã¡ãŒã·ã§ã³èªäœã®ãããªååä»ãã€ãã³ãã䜿çšããŠãã€ãã³ãããªã²ãŒããååã§ç°¡åã«ãã€ã³ãããã²ãŒã ã®åå¿ãããã«å®è£ ã§ããŸãã
Spineã®äž»ãªæ¬ ç¹ã¯ãã¢ãã¡ãŒã·ã§ã³ã·ã¹ãã ãå®éã«Anrialã«é¢é£ããŠããªãããšã§ãã UnrealãæäŸãããã¹ãŠïŒã¢ãã¡ãŒã·ã§ã³ãã«ãŒããªã³ãã«ããã¢ãã¡ãŒã·ã§ã³ã³ã³ãããŒã«ãããŸããŸãªãã¬ã³ãã¹ããŒã ãã¢ãã¡ãŒã·ã§ã³ãšãã£ã¿ãŒãšãã®ã·ãŒã±ã³ã¹ïŒ-ãããã¯ãã¹ãŠãã¹ãã€ã³ããã³2Dã¢ãã¡ãŒã·ã§ã³ã«ã¯äœ¿çšã§ããŸããã Tické¢æ°ã§ã¢ãã¡ãŒã·ã§ã³ãšãã®åãæ¿ããæåã§å¶åŸ¡ããå¿ èŠããããŸãããã»ãšãã©ã®å Žåãè¿œå ã®ã¿ã€ããŒãšç¶æ ãå¿ èŠã«ãªããŸãã ãã®ã¢ãããŒãã®ãããªãã®ã¯ãUnity 4ã®å€ãã¢ãã¡ãŒã·ã§ã³ã·ã¹ãã ã«äŒŒãŠãããã¢ãã¡ãŒã·ã§ã³ã³ã³ããŒãã³ãã§PlayãBlendãCrossFadeæ©èœã䜿çšããå¿ èŠããããŸããã
ããã§ãããã®ãã©ã°ã€ã³ã¯ãUnrealã«ã¯ãªã2Déªšæ Œã¢ãã¡ãŒã·ã§ã³ã䜿çšã§ãããšããç¹ã§åªããŠããŸãã ããã䜿çšãããšããã€ãããã¯ã§ã¹ã ãŒãºãªã¢ãã¡ãŒã·ã§ã³ã§2Dãã£ã©ã¯ã¿ãŒãäœæããåæŠåšã®è¿œå ã®ã¢ãã¡ãŒã·ã§ã³ã»ãããäœæãã代ããã«ããªããžã§ã¯ãïŒæŠåšãªã©ïŒããã£ã©ã¯ã¿ãŒã®ããŒã³ã«ãªã³ã¯ããããšã§ãã¢ãŒãã£ã¹ãã®ã¡ã¢ãªãšåŽåãç¯çŽã§ããŸãã
Unreal Engine 4ã®2Dæé©å
å žåçãªæé©åæ¹æ³ã¯ãã¢ãã©ã¹ã§ã®ã¬ãã«ã¹ãã©ã€ãã®ããã±ãŒãžåã§ãã ããã«ããããã¯ã¹ãã£ãåãæ¿ããå¿ èŠããªããªããŸãã Unreal Engineã§ãããã€ãã®åäžã®ã¹ãã©ã€ããã·ãŒã³ã«ãã©ãã°ããå Žåãåãæ°ã®ãããŒã³ãŒã«ãçºçããŸãã 2Dã®ã¬ã³ããªã³ã°ã®èªåæé©åã¯çµã¿èŸŒãŸããŠããªããããMergeSpritesããŒã«ã䜿çšããŠã¬ãã«ãšã°ã«ãŒãã®äžéšãéžæããããšã¯çã«ããªã£ãŠããŸãã Merge SpritesããŒã ã¯ã3Dãªããžã§ã¯ãã®ã¢ã¯ã¿ãŒã®ããŒãžã«äŒŒãŠãããè€æ°ã®ãªããžã§ã¯ãã1ã€ã«çµåããŸãã ã¹ãã©ã€ãã®çµåã¯ããªããžã§ã¯ãã®è¡çªãçµã¿åãããŸãã
ã¹ãã©ã€ããžãªã¡ããªã®ç·šé
ãšã³ãžã³ã«ã¯ãã¹ãã©ã€ããžãªã¡ããªç·šéããŒã«ããããŸãã å³ã«ç€ºãããã«ãæšæºã®é·æ¹åœ¢ã®ã¹ãã©ã€ãã®ä»£ããã«ç¬èªã®ã¹ãã©ã€ããèšå®ã§ããŸãã ããšãã°ãéæ床ãã«ããããããšã§ããªãŒããŒãããŒãæžãããŠçç£æ§ãé«ããããšãã§ããŸãã
3次å ã°ã©ãã£ãã¯ã¹ã®ããã«ããããªã¢ã«ã€ã³ã¹ã¿ã³ã¹ã«ããæé©åã¯2Dã«é¢é£ããŠããŸãã Unityã®ããã«çŽ æãç¿æ £ããã³ããŒããããšã¯ã§ããŸãããUnrealã§ãããè¡ãã¹ãã§ã¯ãããŸããã å®éã«ã¬ã³ããªã³ã°ã·ã§ãŒããŒãèšè¿°ãã1ã€ãŸãã¯è€æ°ã®åºæ¬ãããªã¢ã«ãäœæããããã«åºã¥ããŠãå€æŽå¯èœãªãã©ã¡ãŒã¿ãŒïŒè²ããã¯ã¹ãã£ãããã³å®æ°ïŒã®ã»ããã䜿çšããŠãããªã¢ã«ã®ã€ã³ã¹ã¿ã³ã¹ãäœæããããšããå§ãããŸãã ãã®æé©åã«ããããšã³ãžã³ã¯ãã·ã§ãŒããŒã®ã³ã³ãã€ã«æžã¿ããŒãžã§ã³ã®å€§ããªã»ãããäœæããå¿ èŠããªããªããŸããããã«ãããã¢ã»ã³ããªåŸã®ãããžã§ã¯ãã®ãµã€ãºãç¯çŽãããRAMãšãããªã¡ã¢ãªã®äžéšã解æŸãããçç£æ§ãåäžããŸãã
2Dã¢ã»ããïŒããŒã±ãããã¬ã€ã¹ïŒ
ã¹ãã¢ã§è³Œå ¥ã§ããã¢ã»ããã¯ãå€ãã®å Žåãã²ãŒã ã®ãããã¿ã€ãã®éçºãã¹ããŒãã¢ããããŸãã Unity Asset Storeãšåæ§ã«ãEpic Gamesã«ã¯UE4ã®ããŒã±ãããã¬ã€ã¹ããããŸãã ãã®äžã«2Dã¢ã»ããã¯ã»ãšãã©ãããŸããããããã§ãã ãããã¯äž»ã«ã¢ãŒãã»ããã§ãïŒã¬ãã«ãšãã£ã©ã¯ã¿ãŒã ãã©ãããã©ãŒããŒãã©ã³ããŒãªã©ããããžã§ã¯ãå šäœã®ãã¿ãŒã³ãããå ŽåããããŸãããããã¯ããããžã§ã¯ãã®åºç€ãšããŠããŸãã¯ãããã¿ã€ããäœæããããã«äœ¿çšã§ããŸãã ããããæ®å¿µãªããã2Dãããžã§ã¯ãåãã®ç¹å¥ãªããŒã«ãã2Dåãã®ãšãã§ã¯ãã¯ãããŸããã ãã®ç¹ã§ãUnity Asset Storeã®æ¹ãã¯ããã«åªããŠããŸãã2Dã¢ãã¡ãŒã·ã§ã³çšã®ãªãã·ã§ã³ãããã«ãããPuppet2DãAnima2Dãªã©ã®5ã€ã®ã·ã¹ãã ãããããŸãã
2Dã®æ³šç®ãã¹ãUnrealEngine 4æ©èœ
ç§ã¯ããã€ãã®æ³šç®ãã¹ãæ©èœãanrialã§èŠã€ããããšãã§ããŸããã ããšãã°ãã¹ãã©ã€ãã¢ãã¡ãŒã·ã§ã³Paper2Dããªããããã¯ã§ã¯ãåãã¬ãŒã ã«ç¬èªã®ç©çã³ã©ã€ããŒãèšå®ã§ããŸãã ã€ãŸãããã®ãããªã¢ã»ããã®1ã€ã䜿çšãããšãã¢ãã¡ãŒã·ã§ã³ã§ééããéæ³ã®éãªã©ã®çãããªããžã§ã¯ããäœæã§ããŸãã ãããããåãã¬ãŒã ã§è¡çªãå€ããããšã¯ããŸãæé©ã§ã¯ãããŸããããããã§ããã®ãããªæ©äŒããããŸãã
3次å ãã£ã©ã¯ã¿ãŒã®ã¹ã¯ãªãŒã³ã·ã§ããã§ã¯ãã¹ãã©ã€ããçŸå®çãªåœ±ãå²ãã§ããŸãã å®éããããã¯2次å ã§ãããç¹å¥ãªããŒã«ãæŸèæãäœæããããšãªããã¹ãã©ã€ãããã®2Dã·ã£ããŠãç §æãžã®åå¿ããå«ããããšãã§ããŸãã ããã¯ãã¹ãã©ã€ãã«äœ¿çšãããŠãããããªã¢ã«ã眮ãæããããšã§å®è¡ãããŸãã ããã«ã¯ãSprite LitãšSprite Lit ShadowsããããŸãã ããã¯ã2Dã²ãŒã ã«3Dç°å¢ãå«ãŸããŠããå Žåãã€ãŸããã¬ãã«ã3次å ã§ããã£ã©ã¯ã¿ãŒèªäœããã©ãããªå Žåã«äŸ¿å©ã§ãã ããšãã°ãã²ãŒã Ori And The Blind Forestã«ã¯ãã®ãããªèŠçŽ ããããŸãã
ãããžã§ã¯ãèšå®ã§ã¹ãã©ã€ãã®ç¹å¥ãªäžŠã¹æ¿ããæå¹ã«ããããšãã§ããŸãã ãµã€ããã¥ãŒã®ããéåžžã®2Dãããžã§ã¯ããããå ŽåããããããœãŒããã©ã®ããã«è¡ããããã¯ããŸãæ°ã«ããªãã§ãããã ããã¯ã°ã©ãŠã³ãã«ããã·ã¥ã§ããã¹ãã©ã€ãããããŸãã ããããçå°ºæ§ã®ã²ãŒã ããããåçãªããžã§ã¯ãã®é 眮ãå¿ èŠãªå Žåã¯ããœãŒã軞ãã¢ãã軞ãšããŠèšå®ããã®ãçã«ããªã£ãŠããå Žåãããããããããšèªåçã«ãœãŒããããŸãã
åãªããžã§ã¯ãã®ã¹ã¯ãªããã§åæ§ã®äžŠã¹æ¿ããè¡ãããUnityãããžã§ã¯ãã«åºäŒããŸããã Unityã«ã¯ãã¹ãã©ã€ãããœãŒãããããã®ãã©ã¡ãŒã¿ãŒããããŸã-ã¬ã€ã€ãŒãªãã»ããããœãŒãããåã¹ã¯ãªããã¯ãªããžã§ã¯ãã®çŸåšã®åº§æšã«åºã¥ããŠãªãã»ããå€ãèšç®ããŸããã ãã¡ããããã®æ¹æ³ã¯ããã©ãŒãã³ã¹ã«åœ±é¿ããŸãã ã¹ãã©ã€ãã®ãœãŒã軞ã¯ãã¯ã³ã¯ãªãã¯ã§åæ§ã®åé¡ã解決ããŸãã
UE 4ã¢ãã€ã«ããã©ãŒãã³ã¹
UE4ã®ããã©ãŒãã³ã¹ãäœããšããç¥è©±ããããŸãã ããããå®éã«ã¯ã3Dã§ãã£ãŠãããã®çŸããã§å£®å€§ãªãããžã§ã¯ããäœæããããšã¯éåžžã«å¯èœã§ãã ãã ãããã¹ãŠã®ãšã³ãžã³ãšåæ§ã«ãããã©ãŒãã³ã¹ãšæé©åã¯çžäºã«é¢é£ããŠããŸãã éçºæã«ãã®ããšãèæ ®ãããããã¡ã€ãªã³ã°ãšæé©åã«ã¿ã€ã ãªãŒã«åãçµãå¿ èŠããããŸãã 2Dã«é¢ããŠã¯ããã§ã«ããã€ãã®ãã€ã³ããæããŠããŸãã ãŸãããã£ã³ãã¹ãéããŠããã€ãã®2Dã¹ãã©ã€ããæãããšãã§ããŸãã å€ãã¯ãã³ã³ããã¹ããšãããžã§ã¯ãå šäœã«äŸåããŸãã
UE4察Unity 5ïŒ2D
ãŸãšãããšã ã¢ã³ãªã¢ã«ã䜿çšãã䟡å€ã¯ãããŸããïŒãŸãã2Dãããžã§ã¯ãã®éçºã«äžå¯æ¬ ãªæ©èœãšããã§ãªãæ©èœã¯ãããŸããïŒ æ©èœã®éèŠåºŠã®é ã«ãªã¹ãããŸãšããŸããã
ç¹åŸŽ | ã¢ã³ãªã¢ã«ãšã³ãžã³4 | Unity 5 |
---|---|---|
2Dç©çåŠ | Windowsã®ã¿ | ã¯ã |
ã¹ãã©ã€ãããã | ããã¥ã¢ã« | èªå |
ã¹ãã©ã€ãå¹æ | ãã | ã¯ã |
ã¹ãã¢ã®2DããŒã« | ãªãã« | ã¯ã |
ã¹ãã©ã€ãã·ã£ã㊠| ã¯ã | ãã |
èŠèŠçãªãã¬ãã«ã¹ã¯ãªããã | ã¯ã | ãã |
ã¿ã€ã«ã¬ãã«ãšãã£ã¿ãŒ | ã¯ã | ãã |
è¡çªã¢ãã«ã¢ãã¡ãŒã·ã§ã³ | ã¯ã | ãã |
åé ç®ãããå°ãæ€èšããŠãã ããã
2Dç©çåŠã ç§ã®èŠ³ç¹ããèŠããšãäž»ãªåé¡ã¯ãUnrealã«ã¯çŸåšãã»ãšãã©ã®ãã©ãããã©ãŒã ã«2次å ã®ç©çããªããWindowsã®å®éšçãªå®è£ ãããªããšããããšã§ãã ã»ãšãã©ã®ãã©ãããã©ãŒã ã§ã¯2Dç©çåŠã¯ãããŸããããããã¯èŠçã§ãããç©çåŠã¯3Dã³ã³ããŒãã³ããšäººçºçãªå¶éã«ãã£ãŠè¡ãããªããã°ãªããŸããã
2Dã¹ãã©ã€ãã®ãããåŠçã Unityã¯2Dã¹ãã©ã€ãã®ãããŒã³ãŒã«ã®æ°ãæžããŸãããã·ãŒã³ã«å€ãã®2Dã¹ãã©ã€ããè¿œå ãããšãããã¯çµ±èšãŠã£ã³ããŠã«è¡šç€ºãããŸããããããã©ãŒãã³ã¹ã¯ããèªäœãç©èªã£ãŠããŸã-ããã§ããšã³ãžã³ã¯ã¬ã³ããªã³ã°æã«ããããã°ã«ãŒãã«çµåããŸãã ãããŠUnrealã§ã¯ãMerge SpritesããŒã«ã䜿çšããããæ¢åã®Paper2Dã·ã¹ãã ãããåªãããœãªã¥ãŒã·ã§ã³ã衚瀺ããããŸã§åŸ ã€å¿ èŠããããŸãã
ã¹ãã©ã€ãã®å¹æã Unityã§ã¯ãã¹ãã©ã€ãã®ãšãã§ã¯ãã®ããŸããŸãªã¢ã»ãããèŠã€ããããšãã§ããŸãããUnreal Engineã§ã¯ãŸã ãããŸããã
ã¹ãã¢ã®2DããŒã«ã Unityã®å Žåãã¹ãã¢ã«ã¯ããŸããŸãªããŒã«ãã€ãŸããã©ã°ã€ã³ãæ¡åŒµæ©èœããšãã§ã¯ãããããŸãã æ®å¿µãªãããUnreal Marketplaceã«ã¯ã2Dãããžã§ã¯ããšãã®ãã³ãã¬ãŒãã®ã¿ããããããŒã«ã¯ã»ãšãã©ãããŸããã
次ã«ãã¹ãââã©ã€ãããã®åœ±ãªã©ããã¹ãŠã®ãããžã§ã¯ãã«å¿ èŠãªæ©èœã§ã¯ãããŸããã Unrealã®å©ç¹ã¯ãã¬ãã«ããžãã¯ãã«ãŒããªã³ã-ã¬ãã«ãã«ãŒããªã³ããªã©ãèŠèŠçãªã¹ã¯ãªãããšèŠãªãããšãã§ããŸãã ã¿ã€ã«ã¬ãã«ãšãã£ã¿ãŒã¯ãUnrealã§ãã¯ã»ã«ã°ã©ãã£ãã¯ã¹ã䜿çšããŠæãªããã®ã²ãŒã ãäœãããå Žåã«äŸ¿å©ã§ãã ã©ãããŠïŒ ãŸããè¡çªã¢ãã«ã®ã¢ãã¡ãŒã·ã§ã³ãèå³æ·±ãå®éšçæ©èœã§ãã
ãããã«
èŠçŽãããšãUnrealã«ã¯2Dçšã®æãåºæ¬çãªããŒã«ããããŸãããããã€ãã®èå³æ·±ãæ©èœããããŸãã éªšæ Œã¢ãã¡ãŒã·ã§ã³ã䜿çšããå Žåã¯ããµãŒãããŒãã£è£œã®ããŒã«ãããã«åŠç¿ããå¿ èŠããããŸãã æ®å¿µãªãããUnrealã3Dã§æäŸããŠãããããªäŸ¿å©ãã¯ãããŸããã Unrealã®äž»ãªåé¡ã¯ãWindowsãé€ããã¹ãŠã®ãã©ãããã©ãŒã ã«2Dç©çãåã蟌ãŸããŠããªãããšã§ãã
ã»ãšãã©ã®å Žåãã»ãšãã©ã®2Dãããžã§ã¯ãã§ã¯ãUnrealã®ä»£ããã«ä»ã®ãšã³ãžã³ã䜿çšããæ¹ãè³¢æã§ãã ããããããã¯åžžã«ãããžã§ã¯ãèªäœãããªãã®æ¬²æ±ãç®æšãããŒãºã«äŸåããŸãã