So happy I found your channel. You explain everything clearly and show all the different ways they can be applied. I was at my wit's end trying to make sense of how I could put them in my script. Human brain is so much easier to learn than this lol. Slowly going through your tutorials now.
erase is an inplace method that removes the first occurrence of the value from the list. if you try to capture it with array = array.erase(value), array will evaluate to null because erase does not return anything.
@@acb_gamez educate yourself, I did! They don't support it with list. And no it doesn't support complex exports as in "[Export] public List gO;". the wiki is a mess and like the engine maintenance is a design choice rather than necessity. but they do it for feeeeeeeeeeeeee
@@RegenerationOfficial Typed and exported arrays: @export var textures: Array[Texture] = [] @export var scenes: Array[PackedScene] = [] I don't know what language you are writing in, but Godot is made to be written in GDScript. There are no fees anywhere in Godot, I don't know what you are referring to. What do you mean it slows things down? as in your workflow? because I highly doubt that you would notice a difference in runtime frame rates.
@@acb_gamez it starts with godot misuse of terms like array, gets advanced by longer compile/import times and ends with a quarter of the possible fps. It is noticeable if you are as impatient as me and script it in c#. My criticism towards you is the use of variables, because I don't know what you put into them, I've never used the types you are referring to but never name. But that only matter for amateurs like me.
So happy I found your channel. You explain everything clearly and show all the different ways they can be applied. I was at my wit's end trying to make sense of how I could put them in my script. Human brain is so much easier to learn than this lol. Slowly going through your tutorials now.
You're a very very good teacher. Thanks so much!
You have made the learning process much much easier, I appreciate it.
Thanks man. That last bit helped me with my text system.
Super helpful for understanding lists! ty so much.
Amazing tutorial. I´ll use it as reference if I forget the logic of arrays.
Really helpful
I thought your pug was a motor bike outside....
So array and list is a same thing ?
Yup! they are just different words people use because different programming languages have different terminologies.
@@acb_gamez thx for the explanation !
erase seems to delete the array with the object itself, instead of just the array entry :\
erase is an inplace method that removes the first occurrence of the value from the list. if you try to capture it with array = array.erase(value), array will evaluate to null because erase does not return anything.
why can't I export that list?
You can export lists. You can also statically type them. Look in the docs.
@@acb_gamez educate yourself, I did! They don't support it with list. And no it doesn't support complex exports as in "[Export] public List gO;". the wiki is a mess and like the engine maintenance is a design choice rather than necessity. but they do it for feeeeeeeeeeeeee
@@acb_gamez found a similar workaround with the array, it's not what I want and slows things down. But at least it's kind of familiar
@@RegenerationOfficial
Typed and exported arrays:
@export var textures: Array[Texture] = []
@export var scenes: Array[PackedScene] = []
I don't know what language you are writing in, but Godot is made to be written in GDScript.
There are no fees anywhere in Godot, I don't know what you are referring to.
What do you mean it slows things down? as in your workflow? because I highly doubt that you would notice a difference in runtime frame rates.
@@acb_gamez it starts with godot misuse of terms like array, gets advanced by longer compile/import times and ends with a quarter of the possible fps. It is noticeable if you are as impatient as me and script it in c#.
My criticism towards you is the use of variables, because I don't know what you put into them, I've never used the types you are referring to but never name. But that only matter for amateurs like me.
5k view I'm in the blink of GDScrips learning again.. probably their a little people know this..