본문 바로가기

블로그를 이전합니다. gyutaelee.github.io Game Development 게임 개발자 이규태 gyutaelee.github.io 기존에 사용하던 이 블로그는 마크다운 문법이 너무 투박하게 들어가서 깃허브 블로그로 블로그를 이전합니다.
Unity Clean Code Unity Clean Code (원본 link : https://github.com/sampaiodias/unity-clean-code#methods) The Basics 이 가이드를 읽고 있다면 아마도 C#이 무엇인지, Unity에서 간단한 스크립트를 작성하는 방법과 그렇지 않은 것에 대한 일반적인 이해가 있을 것이다. 그러나 프로그래머가 새 스크립트를 만들 때 가장 먼저 보게되는 원칙을 이해하려고 애쓰는 경우가 종종 있다. 다음을 보자: using System.Collections; using System.Collections.Generic; using UnityEngine; public class MyCustomScript : MonoBehaviour { // Use this for initiali..
Data Structure Data Structure 그래프 (Graph) 정의 그래프는 실제 세계의 현상이나 사물을 정점(Vertex)과 간선(Edge)으로 표현을 하기 위해 사용한다. 비선형 자료구조이다. 표현 그래프는 인접 행렬(Adjacency Matrix) 또는 인접 리스트(Adjacency List)로 표현할 수 있다. 이진트리 (Binary Tree) 정의 모든 노드의 차수를 2 이하로 정해 전체 트리의 차수가 2 이하가 되도록 만든 것이 이진트리이다. 이진트리의 왼쪽 자식 노드와 오른쪽 자식 노드 2개만을 가질 수 있으며, 공백노드도 이진트리의 노드로 취급한다. 이진트리의 서브트리 모두 이진트리이다. 종류 이진트리는 포화 이진 트리(full binary tree), 완전 이진트리(Complete binary tree..
Network (Basic) PROTOCOL | TCP/IP | HTTP | Web Socket 프로토콜 컴퓨터나 원거리 통신 장비 사이에서 메시지를 주고 받는 양식과 규칙의 체계이다. 통신 프로토콜은 신호 체계, 인증, 그리고 오류 감지 및 수정 기능을 포함할 수 있다. 프로토콜은 형식, 의미론, 그리고 통신의 동기 과정 등을 정의하지만 구현되는 방법과는 독립적이다. 구성(OSI 참조 모델 기반) 각 계층의 수직적 상하관계는 Top-Down 구조이다. 물리적 측면 : 자료 전송에 쓰이는 전송 매체, 접속용 단자 및 전송 신호, 회선 규격 등 (물리 계층, 데이터 링크 계층, 네트워크 계층) 논리적 측면 : 프레임 구성, 프레임 안에 있는 각 항목의 뜻과 기능, 자료 전송의 절차 등 (전송 계층, 세션 계층, 표현 계층, 응용 계층..
thrading - Manage concurrent threads threading - Manage concurrent threads link : https://pymotw.com/2/threading/ 스레딩 모듈은 스레드의 저수준 기능을 기반으로 스레드 작업을 훨씬 쉽고, 파이토닉하다(?). 스레드를 사용하면 프로그램이 동일한 프로세스 공간에서 여러 작업을 동시에 실행할 수 있다. Thread Objects 스레드를 사용하는 가장 간단한 방법은 대상 함수로 스레드를 인스턴스화하고, start()를 호출해 작동을 시작하는 것이다. import threading def worker(): """thread worker function""" print 'Worker' return threads = [] for i in range(5): t = threadin..
Choosing the resolution of your 2D art assets link : https://blogs.unity3d.com/kr/2018/11/19/choosing-the-resolution-of-your-2d-art-assets/ https://blogs.unity3d.com/kr/2018/11/19/choosing-the-resolution-of-your-2d-art-assets/ At game events and online, people often ask me this question: “I’m making a 2D game in Unity for both PC and mobile: what resolution should my assets be?” ... blogs.unity3d.com
2D Pixel Perfect- How to set up your Unity project for retro 16-bit games link : https://blogs.unity3d.com/2019/08/02/2d-pixel-perfect-how-to-set-up-your-unity-project-for-retro-16-bit-games/ 2D Pixel Perfect: How to set up your Unity project for retro 16-bit games - Unity Technologies Blog In our first 2D Pixel Perfect guide for retro games, we showed you how to set up the 2D Pixel Perfect tool and how 8-bit graphics were made back in the day... blogs.unity3d.com
2D Pixel Perfect- How to set up your Unity project for retro 8-bit games link : https://blogs.unity3d.com/kr/2019/03/13/2d-pixel-perfect-how-to-set-up-your-unity-project-for-retro-8-bits-games/ https://blogs.unity3d.com/kr/2019/03/13/2d-pixel-perfect-how-to-set-up-your-unity-project-for-retro-8-bits-games/ Retro games with simple mechanics and pixelated graphics can evoke fond memories for veteran gamers, while also being approachable to younger audiences. No... blog..