My project does not work but is not giving any console errors

My project (the zipped file below) is not working and is not giving any console responses (shown in the image below). Eventually, it starts saying “Not Responding” on my project window, and a popup shows saying dmengine.exe is not responding and I have to close the window. My entire project comes up as blank even though it was working a few days ago. Could you help me identify the issue? Thanks.

iter3-CRASHED.zip (4.3 MB)

I’m wondering, is your script code running?
Can you put a print("Hello") in your init function?

function init(self)
    print("hello")
end

Do you get this printout?

If so, then I’d start looking at adding more prints in your code, since the message “Not Responding” sounds a bit like the script may be stuck in an infinite loop somewhere.

1 Like

Here are the scripts which do not return the print out that should:

image
image
image
image
image

Hi there,

there is an infinite while loop in your time_and_score.gui_script. It runs while play == true and play is never set to false nor is the loop broken.

2 Likes

Please share code as text. It is easier for people to help, mark text and share it in their answer. Use the “</>” Preformatted Text button when you write your reply.

1 Like

I have got something to appear on my screen now. Thank you so much!

2 Likes