0 votes

Hi everyone,

I'm having an issue currently with the Create Your First Game tutorial. When creating the Mob scene and finishing it, when I press the play button all I see now is a Gray Screen instead of seeing both the player and the monsters.

When I press Play I am presented with a gray screen. When a play a scene, I narrowed it down that it is the player screen now not showing since I added the Mob scene to it.

How do I fix this and why does the grey occur?

EDIT: I have found the answer. Because the Connect button is broken I ended up using C# code from the tutorial which is not named the same as the actual method in the debugger. I've changed this and now the gray-screen is gone. I can see the player sprite now in the Player Scene

in Engine by (18 points)
edited by

1 Answer

0 votes

I ran into the same issue-- gray screen, no code errors, nada. Not a great intro to godot so far.

by (14 points)

Where are you in the tutorial?

Added this code:
position += velocity * delta
position.x = clamp(position.x, 0, screensize.x)
position.y = clamp(position.y, 0, screen
size.y)

and failed here:

Click "Play Scene" (F6) and confirm you can move the player around the screen in all directions.

Gray screen, no errors or clues to proceed. Would love advice -- I can see the potential of Godot but frustrated so far.

The gray screen is just the default background color. If the player's not showing up, maybe you misread something in the tutorial? Maybe you should go over it again.

I've been over and over it already but will go over it some more.:)

Or you can just upload the project and send it to me

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.