Browse Source

fixed the counting dialog closting test

tags/v0.4.0_alpha
Weird Constructor 3 years ago
parent
commit
a28a2ab830
  1. 3
      _RUN.bat
  2. 6
      godot_project/gamelib/count_window.wl
  3. 2
      godot_project/scenes/system_map/system_map.tscn

3
_RUN.bat

@ -1,5 +1,6 @@
cd godot_bind
@cargo build --release
@copy target\release\sscg_gd.dll ..\godot_project\gdnative\
cd ..\godot_project\
start ..\godot\Godot_v3.1.1-stable_win64.exe
cd ..\godot_bind\
cd ..

6
godot_project/gamelib/count_window.wl

@ -35,10 +35,8 @@
sscg:win.set_label WID:COUNTING :cnt_lbl count;
};
self.del = std:to_drop $true {
std:displayln "DROPPED COUNTER WINDOW";
std:displayln "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYy";
gui:dialog_window WID:COUNTING;
self.on_destroy = std:to_drop $true {
sscg:win.set_window WID:COUNTING;
};
std:strengthen self;

2
godot_project/scenes/system_map/system_map.tscn

@ -140,7 +140,7 @@ mesh = SubResource( 2 )
material/0 = null
[node name="Particles" type="Particles" parent="Drone/RayMesh"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, 0 )
transform = Transform( 1, 0, 0, 0, -4.37114e-008, -1, 0, 1, -4.37114e-008, 0, 0.5, 0 )
cast_shadow = 0
amount = 128
lifetime = 10.0

Loading…
Cancel
Save