added a basic ball that properly inverts velocity when colliding with a world boundary. my balls are getting stuck on each other tho

This commit is contained in:
2024-07-23 18:22:05 +02:00
parent 95fe8fbeff
commit 6b0843a725
11 changed files with 255 additions and 10 deletions
+8
View File
@@ -0,0 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://d2r0ip6xy3a2"]
[ext_resource type="Script" path="res://balls/ball.gd" id="1_ija2k"]
[node name="Ball" type="CharacterBody2D"]
motion_mode = 1
floor_stop_on_slope = false
script = ExtResource("1_ija2k")