scene.tscn 816 B

123456789101112131415161718192021222324252627282930
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://CPU_phys.gd" type="Script" id=1]
  3. [node name="scene" type="Node2D"]
  4. [node name="Control" type="Control" parent="."]
  5. margin_right = 40.0
  6. margin_bottom = 40.0
  7. [node name="Label" type="Label" parent="Control"]
  8. margin_right = 40.0
  9. margin_bottom = 14.0
  10. custom_colors/font_color = Color( 0.615686, 0.615686, 0.615686, 1 )
  11. text = "Control: Zoom - mouse left/right, or keyboard +-
  12. Left click on shape to add mass, right to reduce mass.
  13. (only on black and red)
  14. # colors
  15. # black static object with gravity
  16. # red movable object with gravity, and do not react on other gravity
  17. # blue moving object without gravity
  18. # green moving object without gravity and collision
  19. this scene display "
  20. [node name="CPU_phys" type="Node2D" parent="."]
  21. script = ExtResource( 1 )