billhung / GGJ2020

Repair Shūri Castle 修理城, a Global GameJam #GGJ2020 game made in 2 days
https://globalgamejam.org/2020/games/repair-%E4%BF%AE%E7%90%86%E5%9F%8E-shuri-castle-5
2 stars 0 forks source link

持っているパーツの正しい位置までの距離を計算する処理 Calculate the distance between the correct position and the viewport #7

Closed billhung closed 4 years ago

billhung commented 4 years ago

PLAN プラン:

  1. Group parts into 3 parts パーツを3つのグループに分配する
  2. Pick up the part that's closest to the camera 一番カメラに近いパーツをピックアップする
  3. Calculate the distance between the camera and the correct part position カメラの位置からパートの正しい位置までの処理を計算する
billhung commented 4 years ago

1 and 3 done. 2 by @cormojs will be merged today. 1と3は完成、2は今日中に@cormojsのコードをマージするつもりです。 COMMIT: https://github.com/billhung/GGJ2020/commit/db8dfddd8fa6ec9bb080ca5e7e434c518e2d6469