Skip to content

Commit

Permalink
move stuff to samples directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Mar 13, 2024
1 parent d689f4e commit cd14631
Show file tree
Hide file tree
Showing 19 changed files with 179 additions and 148 deletions.
11 changes: 0 additions & 11 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,4 @@
/docs/texture_regions_cut.png export-ignore
/docs/skeleton_regions.png export-ignore
/docs/softbody_final.png export-ignore
/demo export-ignore
/demo/Asparagus.png export-ignore
/demo/stickman.png export-ignore
/demo/Boil.png export-ignore
/demo/Boiled_Egg_Half.png export-ignore
/demo/demo.tscn export-ignore
/demo/softbody2d_full.png export-ignore
/demo/softbody2d_inner.png export-ignore
/demo/softbody2d.png export-ignore
/demo/softbody2d_phys_bouncy.tres export-ignore
/demo/softbody2d_phys_slippery.tres export-ignore

4 changes: 2 additions & 2 deletions project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ config_version=5
[application]

config/name="SoftBody2D"
run/main_scene="res://demo/demo.tscn"
run/main_scene="res://samples/softbody2d/demo.tscn"
config/features=PackedStringArray("4.2")
config/icon="res://demo/softbody2d.png"
config/icon="res://samples/softbody2d/softbody2d.png"

[display]

Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
3 changes: 3 additions & 0 deletions samples/softbody2d/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Samples for Softbody2D.

Open either the demo.tscn or tutorial.tscn and run them.
156 changes: 122 additions & 34 deletions demo/demo.tscn → samples/softbody2d/demo.tscn

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://e43003nmrylg"]

[ext_resource type="Script" path="res://demo/pickable_rigidbody.gd" id="1_5o2ep"]
[ext_resource type="Script" path="res://samples/softbody2d/pickable_rigidbody.gd" id="1_5o2ep"]

[node name="PickableRigidBody" type="RigidBody2D"]
input_pickable = true
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
Loading

0 comments on commit cd14631

Please sign in to comment.