melonJS 카메라 및 드로잉은(는) 무엇을 하나요?
이 스킬은 melonJS에서 카메라 제어 및 즉시 모드 드로잉을 위해 사용합니다 — 대상 추적, 뷰포트 경계, 흔들림 및 페이드, 보조 카메라, 사용자 정의 draw() 내에서 도형, 선, 그라데이션 그리기를 포함합니다. 세계 좌표와 화면 좌표 간 변환, 클리핑 및 마스킹, CanvasRenderTarget을 사용한 베이킹을 다룹니다. 트리거: Camera2d, viewport, follow, setBounds, shake, fadeIn, fadeOut, worldToLocal, localToWorld, colorMatrix, renderer.fill, renderer.stroke, Rect, Ellipse, Polygon, Line, Gradient, clipRect, mask, CanvasRenderTarget, NoiseTexture2d.