Question
How to Import SHP File in Godot ?
Godot Version
4.5.stable
Hello , I want make new SHP&PAL tool , But I encountered a little difficulty and need help.
The problem of data import has been bothering me for three or four days , I have to seek help.
Current situation is:
- PIC is load ok , but hasn’t begun to do image processing , like scale crop etc…
- SHP File has problem to read.Read FileHead is OK.
- Pal File is easy to load , but color remap is used gdshader file.
gdshader creater is pYMxlobo/256-shader.
When I Use The Godot to Read .shp File (Westwood SHP Format TS)
Then I have someproblem with DataType.
I already successful to read the Image with :
EveryFrame’s_offset_pos // EveryFrame’s_length and width // anime_frame_size
head= [ 0 , 78 , 66 , 744 ]
frame_num : 1 frame_offset = vec2( 32 , 7 ) frame_size = ve2( 13 , 29 )
This website is .shp file type infomation.
But I don’t know How to Convert the other type var with godot to read correct.
:: split ::
If you have any way to fix this , to make things easy. I will thanks for your help. ofcause, you can goto my github site,to find this project to download this project, and help me please.
Finally, Thanks For Your Help.
statement: I don’t use any other languageScript , Because I really to want to use 100%GDScript to finish my work.
