摘要: LibGDX 有两种判断按键是否按下的方法 Gdx.input.isKeyJustPressed(int keyCode) 和 Gdx.input.isKeyPressed(int keyCode) 前者在按键 按下 与 松开 都会返回 true 后者只有当按键 按下 时才会返回 true 因此, 阅读全文
posted @ 2022-02-12 13:54 博麗靈夢 阅读(28) 评论(0) 推荐(0) 编辑