overlay.tscn 966 B

12345678910111213141516171819202122232425262728
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://assets/ui/control_hints.gd" type="Script" id=1]
  3. [node name="Overlay" type="CanvasLayer"]
  4. [node name="ControlHints" type="CenterContainer" parent="."]
  5. anchor_right = 1.0
  6. offset_bottom = 200.0
  7. script = ExtResource( 1 )
  8. [node name="Label" type="Label" parent="ControlHints"]
  9. offset_left = 348.0
  10. offset_top = 25.0
  11. offset_right = 1251.0
  12. offset_bottom = 175.0
  13. rect_min_size = Vector2(500, 50)
  14. text = "
  15. Controls: WASD to move, Space to jump, R to reset, Shift to walk, T to toggle isometric controls, C to view cube demo, Tab to toggle hints.
  16. UIOJKL to change view mode. U = Forty Five deg, I = Isometric,
  17. O = Top Down, J = Front Side, K = Oblique Y, L = Oblique Z
  18. Not every view mode is meant to be good, it's just to showcase what the system can do.
  19. In actual games, shadows, resizing, parallax, and other hints of depth could be added to make the world seem more 3D.
  20. "
  21. align = 1
  22. valign = 1