Skip to content
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

makeGameFlow #4

Closed
tecokimura opened this issue Jan 30, 2023 · 11 comments
Closed

makeGameFlow #4

tecokimura opened this issue Jan 30, 2023 · 11 comments

Comments

@tecokimura
Copy link
Owner

Make the game flow loop.
It process, draw, process, and draw...

@tecokimura
Copy link
Owner Author

簡単過ぎたのでゲームのモードも追加する

@tecokimura
Copy link
Owner Author

@tecokimura
Copy link
Owner Author

keyの取得

@tecokimura
Copy link
Owner Author

キーのバッファーまでいけてるはずなので、procでやってた処理をgameに移すところをやる

@tecokimura
Copy link
Owner Author

import をなんとなくでやってたのを調べ直す

@tecokimura
Copy link
Owner Author

parcel-bundler/parcel#4936
これ?長いので見切れてないが

@tecokimura
Copy link
Owner Author

parcel 卒業の方向へ動く・・・

@tecokimura
Copy link
Owner Author

importのエラーとVSCodeのワーニングが食い違ってパニックになってたので一旦import止める
・importを/srcからフルパスで書けば動作するがVSCodeでワーニングが出る
・scriptsから始めればVSCodeでエラーが出ないが動かない
とりあえずimportやめてVScode調べる

@tecokimura
Copy link
Owner Author

VScode が tsconfig.json を理解してなさそう

@tecokimura
Copy link
Owner Author

tecokimura commented Feb 6, 2023

parcelは@はダメそう
https://parceljs.org/features/dependency-resolution/
チルダ/srcで対応する。
package.jsonのaliasも考えたけど、VScodeの設定がまた必要なのでチルダにする

tecokimura added a commit that referenced this issue Feb 6, 2023
tecokimura added a commit that referenced this issue Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant