diff --git a/doc/demo01_hello/apache-license.png b/doc/demo01_hello/apache-license.png new file mode 100644 index 0000000..c6292bf Binary files /dev/null and b/doc/demo01_hello/apache-license.png differ diff --git a/doc/demo01_hello/apache-license.png.import b/doc/demo01_hello/apache-license.png.import new file mode 100644 index 0000000..88a2489 --- /dev/null +++ b/doc/demo01_hello/apache-license.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/apache-license.png-599073122cee1d1b6911d29651e28109.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo01_hello/apache-license.png" +dest_files=[ "res://.import/apache-license.png-599073122cee1d1b6911d29651e28109.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo01_hello/gd-home.JPG b/doc/demo01_hello/gd-home.JPG new file mode 100644 index 0000000..12e0869 Binary files /dev/null and b/doc/demo01_hello/gd-home.JPG differ diff --git a/doc/demo01_hello/gd-home.JPG.import b/doc/demo01_hello/gd-home.JPG.import new file mode 100644 index 0000000..7e5d47b --- /dev/null +++ b/doc/demo01_hello/gd-home.JPG.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/gd-home.JPG-3866ba9615d150fc9f82a3f7e19e041e.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo01_hello/gd-home.JPG" +dest_files=[ "res://.import/gd-home.JPG-3866ba9615d150fc9f82a3f7e19e041e.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo01_hello/hello.md b/doc/demo01_hello/hello.md index 1772ded..f4f3124 100644 --- a/doc/demo01_hello/hello.md +++ b/doc/demo01_hello/hello.md @@ -1,7 +1,25 @@ # 为什么选择godot -- 比unity简单,更加易上手 -- 源代码开源,不收费,unity和ue都是要收费的 + +- 比unity简单,更加易上手,GDScript学起来也比C#简单 +- 源代码开源,不收费,unity和ue都是要收费的,ue超过100万美元触发5%的分成费用 + ![Image text](apache-license.png) + ![Image text](gd-home.JPG) + - godot的源代码比cocos的源代码少一倍,简介的代码更容易学习底层原理 + +``` +godot的作者尽最大努力的减少第三方库的依赖,最终使其代码非常精简,适合学习 +unity和ue安装后都得1g以上,godot下载包50m就搞定了,而且不用安装 +ue虽然开源源代码,但是代码量太大,历史包袱太重,不适合深入研究底层代码的人 +``` + - 自己能够本地编译godot源代码,成就感爆棚 -- unity用多了,你会感觉自己就是个脚本小子。 +- unity用多了,你会感觉自己就是个脚本小子 + +``` +使用godot你既可以用GDScript去编写代码,也可以用C++去编写代码,还可以去改底层引擎代码 +大部分使用unity的都在和lua做斗争,虽然官方说用C#但是实际上工作用的大部分是lua,脚本中的脚本 +虽然unity可以把C#编译成二进制,但是使用这种方式也就意味着放弃了热更新 +``` + - 用godot你能感觉我能把控底层,我能把控每一行代码的底层细节 diff --git a/doc/demo02_base/gc.JPG.import b/doc/demo02_base/gc.JPG.import new file mode 100644 index 0000000..51836ab --- /dev/null +++ b/doc/demo02_base/gc.JPG.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/gc.JPG-39fa032320410100941ba40578241fc0.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo02_base/gc.JPG" +dest_files=[ "res://.import/gc.JPG-39fa032320410100941ba40578241fc0.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/doc/demo02_base/step.JPG.import b/doc/demo02_base/step.JPG.import new file mode 100644 index 0000000..966474e --- /dev/null +++ b/doc/demo02_base/step.JPG.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/step.JPG-ea371ce51ca536d0350e70aed54f8432.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://doc/demo02_base/step.JPG" +dest_files=[ "res://.import/step.JPG-ea371ce51ca536d0350e70aed54f8432.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0