-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
カメラ実装 #25
カメラ実装 #25
Conversation
@lettas コンフリクトしてるっちゃ |
ビームが狙った位置に飛ばなくなる |
ほげあ |
なおすっちゃ |
masterをマージしたらconvertAbsolutePosition的なアヤシゲなメソッドがplayer.jsあたりにできるからそのへんが悪さしてる可能性あるっちゃ |
ちょっと直してみるっちゃ? |
Conflicts: public/js/src/entity/player.js public/js/src/scene/beamQuest.js いったん、大まかに、remoteを生きで
player.jsのonMouseDownでクリックした座標が絶対座標になってないのがだめみたい。 |
なおしたっちゃ |
|
|
そやねー。そしてplayerクラスがやる仕事じゃない感もある |
このらいんなっぷだとcameraが一番近い |
(適任ではない) |
ピコヨロ |
とりあえず
|
CCFollow
っていうアクションの便利さが異常だったので勢いに任せてカメラを実装しました。baseLayerを逆に動かしたりする苦しみから解放された気分です。
あと、playerLayerなくしちゃいました。