목록분류 전체보기 (165)
현제의 현재이야기

스크립트 에디터 오리엔테이션 create script -> screate component + 누르면 함수 리스트 출력 log 함수는 파라미터로 넘겨진 값을 메이커 하단 콘솔 창으로 출력해준다. 그 후 스크립트가 작성된 컴포넌트를 엔티티에 추가. 프로퍼티 에디터 맨 밑 add component> 그러면 출력된다 기본문법 local : 변수 선언 반복문 for count = 1, 10, 1 do log(count) end 조건문 local sum = 0 for cnt = 1, 10, 1 do if cnt % 2 == 0 then sum = sum + cnt end end 나머지 함수 https://mod-developers.nexon.com/ko/docs/?postId=172 https://signin.n..

교안 5 자주 사용하는 컴포넌트 tween component 각 property정보는 필요할 때 참고하자. 엄청 다양한 프로퍼티가 있음에 놀람. 움직이는 것도 여러가지로 가능하다. ex) 종류: Quad, Expo, Cubic, Quart, Quint, Circ, Sine, Elastic, Bounce, Back rigidbody component 강체의 물리적인 속성을 컨트롤 - gravity : 공중에 떠있거나 추락 - IsBlockVerticalLine: 세로 방향 foothold - IsQuaterViewMove: 지형에 안떨어지고 자유롭게 이동 가능. 플레이어 모델 프로퍼티 값을 통해서 캐릭터 초기값을 조정 가능cameraDeadZone>> 이건 좀 수정 해야될 듯? 0이면 카메라가 아바타 고정..

교안 1, 2 복습 workspace: 리소스 관리 공간이다. -MOD 중요 개념- Entity: 모든 객체 요소 Compent: entity가 수행할 일과 가지게 될 성질, 스크립트 컴포넌트(직접 제작)와 네이티브 컴포넌트(미리 만들어진)가 존재 네이티브 컴포넌트 경로: workspace - baseenvironment, nativescripts, modcompent property : 컴포넌트의 세부적인 값을 조정 model: 엔티티와 컴포넌트의 집합체 교안 3 복습 (기본 컴포넌트의 이해) transform compent 용어 3가지 - position: 좌표, 위치 - scale - rotation: z축으로 회전 world가 붙으면 '절대' 좌표이다. translate 함수 void OnBegi..
로그인을 해보자 account 어플 하나 생성 어플 하나 만들면 해야 할 것, settings.py에 가서 알려주고, urls.py 만들어서 urls 분리하고, modelproject urls.py 가서 include를 작성한다. is_valid()는 함수라서 ()를 붙여야한다. 회원가입을 해보자.
from django.conf import settings from django.conf.urls.static import static urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) 외우기 그 다음 models.py 작성하기. image = models.ImageField(upload_to="blog/", blank=True, null=True) 그리고 Pillow install forms.py 앱 내에 생성. from django import forms from .models import Blog class BlogForm(forms.ModelForm): class Meta: model = Blog fields ..

n, m = tuple(map(int, input().split())) arr = list(map(int, input().split())) arr.sort(key=lambda x: (x % 10, x)) result = 0 pointer = 0 while m != 0 and pointer < n: if arr[pointer] == 10: result += 1 pointer += 1 elif arr[pointer] % 10 == 0: if m