Added all the things

This commit is contained in:
Nathan Anderson
2022-08-04 10:50:28 -06:00
commit 417044bfda
18 changed files with 760 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://scripts/house.gd" type="Script" id=1]
[ext_resource path="res://roger-roger/chadHouse.png" type="Texture" id=2]
[sub_resource type="CapsuleShape2D" id=3]
radius = 12.2857
height = 2.57142
[sub_resource type="RectangleShape2D" id=4]
extents = Vector2( 86, 63.5 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 3.5, 2 )
[node name="House" type="Node2D"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -125 )
scale = Vector2( 5, 5 )
texture = ExtResource( 2 )
[node name="HouseBody" type="StaticBody2D" parent="."]
collision_layer = 4
collision_mask = 7
[node name="CollisionShape2D" type="CollisionShape2D" parent="HouseBody"]
position = Vector2( -7, -90 )
scale = Vector2( 7, 7 )
shape = SubResource( 3 )
[node name="CollisionShape2D2" type="CollisionShape2D" parent="HouseBody"]
position = Vector2( -6, -49.5 )
shape = SubResource( 4 )
[node name="DoorBody" type="StaticBody2D" parent="."]
scale = Vector2( 7, 7 )
collision_layer = 4
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorBody"]
position = Vector2( -0.857143, 1.57143 )
shape = SubResource( 2 )
+63
View File
@@ -0,0 +1,63 @@
[gd_scene load_steps=14 format=2]
[ext_resource path="res://roger-roger/runningSprites/aberlin/AberlinFinal.png" type="Texture" id=1]
[ext_resource path="res://roger-roger/runningSprites/aberlin/Aberlin2.png" type="Texture" id=2]
[ext_resource path="res://roger-roger/runningSprites/aberlin/Aberlin5.png" type="Texture" id=3]
[ext_resource path="res://roger-roger/runningSprites/aberlin/Aberlin6.png" type="Texture" id=4]
[ext_resource path="res://roger-roger/runningSprites/aberlin/Aberlin4.png" type="Texture" id=5]
[ext_resource path="res://roger-roger/runningSprites/aberlin/Aberlin3.png" type="Texture" id=6]
[ext_resource path="res://roger-roger/runningSprites/aberlin/Aberlin1.png" type="Texture" id=7]
[ext_resource path="res://roger-roger/runningSprites/aberlin/AberlinStart.png" type="Texture" id=8]
[ext_resource path="res://roger-roger/LadyAberlin.png" type="Texture" id=9]
[ext_resource path="res://scripts/neighbor.gd" type="Script" id=10]
[sub_resource type="CircleShape2D" id=3]
radius = 215.037
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 9 ) ],
"loop": true,
"name": "idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 8 ), ExtResource( 7 ), ExtResource( 2 ), ExtResource( 6 ), ExtResource( 5 ), ExtResource( 3 ), ExtResource( 4 ), ExtResource( 1 ) ],
"loop": true,
"name": "run",
"speed": 8.0
}, {
"frames": [ ExtResource( 7 ), ExtResource( 2 ), ExtResource( 9 ) ],
"loop": true,
"name": "walk",
"speed": 5.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
radius = 12.0
height = 10.0
[node name="Neighbor" type="KinematicBody2D"]
script = ExtResource( 10 )
[node name="RogerArea2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="RogerArea2D"]
shape = SubResource( 3 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 1, -29 )
scale = Vector2( 5, 5 )
frames = SubResource( 1 )
animation = "walk"
frame = 2
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -1, 0 )
rotation = 1.5708
shape = SubResource( 2 )
[node name="WanderTimer" type="Timer" parent="."]
[connection signal="body_entered" from="RogerArea2D" to="." method="_on_RogerArea2D_body_entered"]
[connection signal="timeout" from="WanderTimer" to="." method="_on_WanderTimer_timeout"]
+50
View File
@@ -0,0 +1,50 @@
[gd_scene load_steps=13 format=2]
[ext_resource path="res://roger-roger/runningSprites/Rogers5.png" type="Texture" id=1]
[ext_resource path="res://roger-roger/runningSprites/Rogers4.png" type="Texture" id=2]
[ext_resource path="res://roger-roger/runningSprites/Rogers6.png" type="Texture" id=3]
[ext_resource path="res://roger-roger/runningSprites/Rogers2.png" type="Texture" id=4]
[ext_resource path="res://roger-roger/runningSprites/Rogers3.png" type="Texture" id=5]
[ext_resource path="res://roger-roger/runningSprites/RogersFinal.png" type="Texture" id=6]
[ext_resource path="res://roger-roger/runningSprites/Rogers1.png" type="Texture" id=7]
[ext_resource path="res://roger-roger/runningSprites/RogersStart.png" type="Texture" id=8]
[ext_resource path="res://scripts/player.gd" type="Script" id=9]
[ext_resource path="res://roger-roger/mrRogers.png" type="Texture" id=10]
[sub_resource type="CapsuleShape2D" id=2]
radius = 13.0
height = 10.0001
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 10 ) ],
"loop": true,
"name": "idle",
"speed": 5.0
}, {
"frames": [ ExtResource( 8 ), ExtResource( 7 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 2 ), ExtResource( 1 ), ExtResource( 3 ), ExtResource( 6 ) ],
"loop": true,
"name": "run",
"speed": 8.0
} ]
[node name="Player" type="KinematicBody2D"]
collision_mask = 7
script = ExtResource( 9 )
ACCELERATION = 2000
FRICTION = 2500
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 4 )
rotation = 1.5708
shape = SubResource( 2 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 2, -25 )
scale = Vector2( 5, 5 )
frames = SubResource( 1 )
animation = "idle"
playing = true
[node name="Camera2D" type="Camera2D" parent="."]
current = true
+180
View File
File diff suppressed because one or more lines are too long
+9
View File
@@ -0,0 +1,9 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://roger-roger/tree.png" type="Texture" id=1]
[node name="Tree" type="Node2D"]
[node name="Sprite" type="Sprite" parent="."]
scale = Vector2( 6, 6 )
texture = ExtResource( 1 )
+36
View File
@@ -0,0 +1,36 @@
[gd_scene load_steps=5 format=2]
[ext_resource path="res://roger-roger/trolley-lg.png" type="Texture" id=1]
[ext_resource path="res://scripts/trolley.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 38, 10 )
[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 44.5, 8.25 )
[node name="Trolley" type="KinematicBody2D"]
script = ExtResource( 2 )
[node name="TrolleySeatArea" type="Area2D" parent="."]
collision_layer = 0
[node name="SeatAreaShape" type="CollisionShape2D" parent="TrolleySeatArea"]
position = Vector2( -1, -41 )
shape = SubResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 0, -70 )
scale = Vector2( 6, 6 )
texture = ExtResource( 1 )
[node name="TrolleyShape" type="CollisionPolygon2D" parent="."]
position = Vector2( 0, -64 )
scale = Vector2( 0.8, 0.8 )
polygon = PoolVector2Array( 172, -5, 198, 106, 150, 106, 122, 127, 74, 109, 46, 83, 43.75, 16.25, -46.25, 16.25, -48, 48, -48, 84, -78, 110, -114, 127, -148, 107, -197, 107, -163, 5, -163, -72, 165, -72 )
[node name="TrolleyClosedShape" type="CollisionShape2D" parent="."]
position = Vector2( 0, -2.25 )
shape = SubResource( 3 )
[connection signal="body_entered" from="TrolleySeatArea" to="." method="_on_TrolleySeatArea_body_entered"]