This commit is contained in:
Torsten 2024-12-22 12:24:50 +01:00
parent d16160323c
commit 1e22d28754
34 changed files with 708 additions and 1822 deletions

View file

@ -0,0 +1,17 @@
```python
func create_button_pink() -> void:
var button := Button.new()
row_bodies.add_child(button)
```
```python
func create_buttons() -> void:
for current_body: String in bodies:
var button := Button.new()
row_bodies.add_child(button)
button.text = current_body.capitalize()
button.pressed.connect(func()-> void:
body.texture = bodies[current_body]
)
```