반응형

전체 글 56

[unityLearn] 2D Roguelike 2 of 14 : Animation 튜토리얼 ( 2 / 2 )

원본 동영상 3:30 ~ Player 설정하기 Player 오브젝트의 Inspector의 오브젝트 속성 중 Tag를 Player로 변경 Layer을 Blocking Layer로 변경 #Tip 영상에서는 Food ~ Soda까지는 튜토리얼에서 미리 tag를 추가 해 놓은 상태이며, Tag – Add Tag… 로 추가가 가능하다 #Tip 프로젝트에 Food, Exit, Enemy, Soda 태그가 없다면 추가해 준다 Player 오브젝트가 가지고 있는 Sprite Renderer의 Sorting Layer를 Units로 변경 #Tip Tag, Layer, Sorting Layer 태그(Tag)는 오브젝트를 식별하는데 사용되는 값이다 쉽게 별명 정도로 생각하면 좋다 레이어(Layer)는 오브젝트들의 그룹 또는..

[unityLearn] 2D Roguelike 2 of 14 : Animation 튜토리얼 ( 1 / 2 )

원본 동영상 2.Player and Enemy Animations 플레이어 오브젝트 만들기 빈 오브젝트 생성 (두 방법 중 하나를 선택) (1) Menu - GameObject – Create Empty (2) Inspector – 우클릭 – Create Empty 빈 오브젝트의 이름은 Player로 변경 (1) 오브젝트 클릭 - 우클릭 – Rename (2) 오브젝트 클릭 – F2 Player Animation 만들기 Sprites 폴더에 준비되어 있는 sprite sheet 열기 #Tip 일반적으로는 한 장의 이미지로 인식하지만 튜토리얼에서는 이미 slice 되어 있는 이미지가 준비되어 있습니다. #Tip 이미지를 셋팅 하는 방법은 Sptite클릭 후 Inspector에서 Sprite Mode – M..

[unityLearn] 2D Roguelike 1 of 14 : Project Introduction 튜토리얼

이번 튜토리얼은 유니티에서 공식으로 제공하는 2D 로그 라이크 게임입니다. 필요 에셋은 아래의 링크에서 찾아보실 수 있습니다. 2D Roguelike - Unity Learn Learn how to make a 2D Roguelike game with this project. Over the course of the project you will create procedural tile-based levels, implement turn-based movement, add a hunger system, and finally add audio and mobile touch controls. This video series was learn.unity.com

[ series ] C언어로 만든 BlackJack 카드 게임 [ 2 / 2 ]

IDE : Visual Studio 2019 - 텍스트 저장 방식 추가 - 이름으로 사용자 구분 같은 이름이면 자동으로 점수 불러오기 #include #include #include #include void gameload(char* filename); void init(int* Card); void cardSet(int* DealerC, int* PlayerC, int* Card); int gameStart(int* DealerC, int* PlayerC); int cardPrt(int* Card, int* i, int* Aa); void GameFinish(int gameSet); void gameSave(char* filename); int GameScore = 1000; int Bgold = 0;..

programming/C \ C++ 2019.11.19

[ series ] C언어로 만든 BlackJack 카드 게임 [ 1 / 2 ]

IDE : Visual Studio 2019 1. 플레이어는 2장의 카드를 받은후 시작 2. Hit or Stay 선택 3. Hit을 하면 플레이어는 한장더 받음 4. Stay 를 하면 플레이어 종료 5. 딜러 턴 시작 6. 딜러는 두장을 받은후 플레이어보다 값이 적을시 한장더 받음 7. 플레이어 와 딜러 모두 21이 넘으면 game over 8. 값이 21이 되면 블랙잭 추가적인 조건 블랙잭과 동일 #include #include #include void init(int* Card); void cardSet(int* DealerC, int* PlayerC, int* Card); int gameStart(int* DealerC, int* PlayerC); int cardPrt(int* Card, int*..

programming/C \ C++ 2019.11.19
반응형