camera now has scroll direction toggles

This commit is contained in:
pennyrigate 2022-12-26 22:57:47 -05:00
parent 48cc1d43d6
commit c60375cb98
11 changed files with 202 additions and 70 deletions

View file

@ -1,4 +1,4 @@
[gd_resource type="TileSet" load_steps=18 format=2]
[gd_resource type="TileSet" load_steps=16 format=2]
[ext_resource path="res://graphics/tiles/grass.png" type="Texture" id=1]
@ -29,15 +29,9 @@ points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
[sub_resource type="ConvexPolygonShape2D" id=9]
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
[sub_resource type="ConvexPolygonShape2D" id=10]
points = PoolVector2Array( 8, 5, 0, 5, 0, 8, 8, 8 )
[sub_resource type="ConvexPolygonShape2D" id=11]
points = PoolVector2Array( 8, 0, 8, 0, 8, 0, 8, 0 )
[sub_resource type="ConvexPolygonShape2D" id=12]
points = PoolVector2Array( 8, 0, 8, 0, 8, 8, 8, 8 )
[sub_resource type="ConvexPolygonShape2D" id=13]
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
@ -126,12 +120,6 @@ points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
"shape": SubResource( 9 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 3, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 10 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
@ -141,12 +129,6 @@ points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 12 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {
"autotile_coord": Vector2( 2, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 13 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
}, {