<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Joe_noh</author_name>
  <author_url>https://blog.hatena.ne.jp/Joe_noh/</author_url>
  <blog_title>mmag</blog_title>
  <blog_url>https://joe-noh.hatenablog.com/</blog_url>
  <categories>
    <anon>KAPLAY</anon>
  </categories>
  <description>基本は k.camPost(target.worldPos()) なんだけど、常に追いかけるんじゃなくて画面の真ん中あたりでは追従しないでほしい。 function follow(target: GameObj&lt;PosComp&gt;) { let { x: nextX, y: nextY } = k.camPos() const { x: sX, y: sY } = target.screenPos() const { x: wX, y: wY } = target.worldPos() const width = k.width() const height = k.height() const…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjoe-noh.hatenablog.com%2Fentry%2F2025%2F01%2F19%2F014132&quot; title=&quot;KAPLAYでカメラをキャラクターに追従させる - mmag&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/J/Joe_noh/20250119/20250119013438.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-19 01:41:32</published>
  <title>KAPLAYでカメラをキャラクターに追従させる</title>
  <type>rich</type>
  <url>https://joe-noh.hatenablog.com/entry/2025/01/19/014132</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
