Some errors do not get caught and raised in exported builds

Aperta
#1,460 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
godot

Direzione di ricerca

The report names the lesson file res://course/lesson-10-the-game-loop/lesson.bbcode and the practice code that removes the delta parameter from func _process. Start by comparing how the checker handles that code in the editor and in a web export, and read issue #1443, which may share the cause. Done means a missing parameter in an exported build fails the check the same way it does locally.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

A user reported this: I tested locally before I export and after I export this specific error of the parameter not being defined does not happen, the function doesn't run but no error is raised. May be related to #1443, although in this case at runtime there are no errors at all in the console, both in the web console and in the terminal when running a desktop build from a shell.

L10 P2, I removed "delta" from func _process(delta): (the function) so it just read func _process():
The character did not move but the check believed it did and marked it as a pass. I checked the solution and found my mistake.

Technical information:

Code from the current practice

func _process(delta):
	rotate(0.05)
	move_local_x(5)
Lingua principale
GDScript
Stelle
2.8k
Fork
239
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GDQuest/learn-gdscript

Tutte le issue di GDQuest/learn-gdscript

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.