英文:
All I see is white when I play my Godot game
问题
每次我玩游戏时,我看到的都是白色,如下图所示。当我在编辑器中点击预览时,我的角色的相机视图看起来很正常。
(https://i.stack.imgur.com/PEoqZ.png)
我想知道也许是地图卡住了(我还没有应用纹理,所以一切都还是白色)。然而,当我完全移除了地图时,问题仍然存在。
英文:
Every time I play all I see is white, what is show below. My Camera view for my character looks just fine when I hit preview in the editor.
(https://i.stack.imgur.com/PEoqZ.png)
I wondered if maybe it was stuck in the map (I haven't applied the textures yet so everything is still white). However, when I removed the map entirely it still had that problem
答案1
得分: 1
看起来 Current
标志没有在你的 Camera3D 属性中被检查。
这个标志意味着当运行游戏时,Camera3D 将被用作视点。如果禁用了这个标志,游戏将使用默认视点,这就解释了为什么你所看到的视图与编辑器中的不同。
英文:
It seems the flag Current
is not checked in your Camera3D properties.
This flag means that the Camera3D will be used as viewpoint when running the game. With the flag disabled the game will use the default viewpoint, with explains why the view you are seeing is different from the editor.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论