i want to make a level editor where you make a text file where you fill with two digit numbers and and each one corresponds to an object but im having trouble figuring out the code to do it
Wat have you done?
SubStr(TEXT , Starting position , How much of it to take )
Position
C i p h e r u s
0 1 2 3 4 5 6 7
SubStr(Cipherus , 4 , 2) = er
SubStr(Cipherus , 2 , 5) = pheru
SubStr(Cipherus , 1 , 3) = iph
SubStr(Cipherus , 0 , 4) = Ciph
SubStr(Cipherus , 7 , 1) = s
https://wiki.gdevelop.io/gdevelop5/all-features/expressions-reference/#text-manipulation
I thought it worked like that but for some reason my code wont work even though the path is right and the text file does have its text set to “01”
Looking at your video on discord you did figure it out?
Oh yes i figured out the problem i accidentally was just not editing the right file so there was no problem with my codeim just stupid
