This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

First i am sorry for my english.
I am Building an mobile app and its finished but there is a problem.
When i was started the build app, everything is working but this is
Very complicated app and When it grows it starts to open slow but
Working Fast. This maybe everything is opening in launch in main scene.
When the app finish its showing splah screen and black screen comes.
İn normaly a few minutes its works correctly but now its closing. My godot version 3.3.2
İ tried 3.4.3 also but still not works. I tried to debug with usb but its stoping debug and
İts reconnecting. Logcat also not working and reconnecting. İ cant debug it
And i cant find Any problem, all files stili same with the working times.
İ dont want to start it again. İt takes my 6 mounths. For example there is a b c and d files.
When i will remove the others and these are alone it works but b is not works alone. When they together without b or with b they are not working. Plz help

Godot version 3.3.2
in Engine by (47 points)
edited by

Can you write the "scene change" code?

My projects working system is
There was a main scene. And its Just it. The ui scene is
Child scene in main. And in the main scene there is two nodes.
One is a (problem in a also) one is b.
İn a there is another Child scenes. And there is mobil buttons.
When you press is a button its hiding one and showing the another
One. B also working same. İts like lesson app. İn a lesson. İn b quiz.
When you press a there is categories.when press categoriea it shows numbers.
When you press numbers it show lesson. The problem is the lesson scenes When i put its not working but in b everything is correct. İf you want i can upload photo

Now i sow i am also türk

extends Node

Global gd

var mevcut_sahne = null

func _ready():
   var sabit = get_tree().get_root()
   mevcut_sahne = sabit.get_child(sabit.get_child_count() - 1)
pass

func sahneye_git(yol):
call_deferred("yeni_sahne", yol)
pass


func yeni_sahne(yol):
  mevcut_sahne.free()
  var s = ResourceLoader.load(yol)
  mevcut_sahne = s.instance()
  get_tree().get_root().add_child(mevcut_sahne)
  get_tree().set_current_scene(mevcut_sahne)
pass

Changing the scene is like this, isn't it?

No it isnt.

func _on_giris_d_coraf():
    $giris/dersler.hide()
    $dersler/ders_coraf.show()
    $butom.play()
    $butomm.start()
func _on_ders_coraf_ddgeri():
    cders_sayfa = "0"
    $dersler/ders_coraf.hide()
    $giris/dersler.show()
    $butom.play()
    $butomm.start()


onready var cders_sayfa = "0"
func _on_dersler_coraf_icerik_tdgeri():
    var cdddd = get_node("dersler/ders_coraf"+cders_sayfa)
    if (cders_sayfa == "0"):
        cdddd = get_node("dersler/ders_coraf")
    cdddd.show()
    $dersler/dersler_coraf_icerik.hide()
    $butom.play()
    $butomm.start()

func _on_dersler_coraf_icerik_ders_acik():
    var cdddd = get_node("dersler/ders_coraf"+cders_sayfa)
    if (cders_sayfa == "0"):
        cdddd = get_node("dersler/ders_coraf")
    cdddd.hide()

Projenin oldukça karmaşık bir yapısı var ve herşey hatasız görünüyor.
PC'de herşey çalışıyor ama androidde...

look
Projesetting/Debug/Gdscript = buradan hataları kontrol et .

Hataları kontrol et derken?
Pc de hata vermiyor fakat android de kapanıyor.
Usb ile debuglamayı denedim fakat tam uygulama açılırken
Bağlantıyı kesiyor. Logcat de aynı şekilde

Tüm seçenekleri işaretledim fakat kayda değer birşey bulamadım.

androidde nereye takıldığını debuglamamın bir yolu var mı?
godotla veya godot dışında

Bununla ilgili bilgim yok . Türkçe karakter kullanmış olabilir misin . kontrol et .
"Dosyları ara" kısmına Türkçe karakterlere tek tek bak bi.

Tamam deneyeceğim

Ramazan hala yapamadım yahu bir yardım etsen

Please log in or register to answer this question.

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 Frequently asked questions and 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 [email protected] with your username.