GDQuest / learn-gdscript

Learn Godot's GDScript programming language from zero, right in your browser, for free.
https://gdquest.github.io/learn-gdscript/
Other
2.07k stars 153 forks source link

Lesson 10: app crashes if running a second time #560

Closed Fallenhero83 closed 2 years ago

Fallenhero83 commented 2 years ago

Describe the bug App Freezes if practice is run for a second time

To Reproduce Steps to reproduce the bug:

  1. Go to 'Lesson 10: Creating Circular Movement'
  2. Click on 'Run a second time'

Information about your device (please complete the following information):

Fallenhero83 commented 2 years ago

All happened on Lesson 11: Time Delta - Moving in a Circle Using Delta

lavenderdotpet commented 2 years ago

having the same issue

lavenderdotpet commented 2 years ago

move_local_x in lesson 11 crashes for me on firefox linux

lavenderdotpet commented 2 years ago

ah ok so it seems if its anything under 100 * delta so like 50 will crash it

NathanLovato commented 2 years ago

Could you please share the exact code you used that caused the issue?

lavenderdotpet commented 2 years ago

heres a screenshot of it being frozen image

lavenderdotpet commented 2 years ago

also happened on one the previous tests image screenshot i sent to a friend

lavenderdotpet commented 2 years ago

also doubt this is a problem so ima just throw it in here so i dont make an issue over it but ur able to cause the health test to integer overflow image

NathanLovato commented 2 years ago

I could reproduce the freeze, but have no idea what's causing it. The error's not helpful, unfortunately. In the meantime, I recommend downloading one of the desktop versions; https://gdquest.itch.io/learn-godot-gdscript

henriquelalves commented 2 years ago

The freeze appears to be fixed on bleeding edge, most likely because of the Debug build.

NathanLovato commented 2 years ago

Thanks!

KareemFarrag commented 1 year ago

this lesson crash on windows 10 exe when run code at full screen