Initial commit
This commit is contained in:
51
scenes/GameWorld.tscn
Normal file
51
scenes/GameWorld.tscn
Normal file
@ -0,0 +1,51 @@
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://nodes/Player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://nodes/PlayerGui.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://art/kenney_microroguelike_1.2/Tiles/Colored/tile_0027.png" type="Texture" id=3]
|
||||
[ext_resource path="res://art/ScalingMaterial.tres" type="Material" id=4]
|
||||
[ext_resource path="res://nodes/Enemies/Orc.tscn" type="PackedScene" id=5]
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=1]
|
||||
points = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 )
|
||||
|
||||
[sub_resource type="TileSet" id=2]
|
||||
0/name = "tile_0027.png 0"
|
||||
0/texture = ExtResource( 3 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
0/modulate = Color( 1, 1, 1, 1 )
|
||||
0/region = Rect2( 0, 0, 8, 8 )
|
||||
0/tile_mode = 0
|
||||
0/occluder_offset = Vector2( 0, 0 )
|
||||
0/navigation_offset = Vector2( 0, 0 )
|
||||
0/shape_offset = Vector2( 0, 0 )
|
||||
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
0/shape = SubResource( 1 )
|
||||
0/shape_one_way = false
|
||||
0/shape_one_way_margin = 1.0
|
||||
0/shapes = [ {
|
||||
"autotile_coord": Vector2( 0, 0 ),
|
||||
"one_way": false,
|
||||
"one_way_margin": 1.0,
|
||||
"shape": SubResource( 1 ),
|
||||
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
} ]
|
||||
0/z_index = 0
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="."]
|
||||
material = ExtResource( 4 )
|
||||
tile_set = SubResource( 2 )
|
||||
cell_size = Vector2( 8, 8 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -131077, 0, 0, -196605, 0, 0, 131067, 0, 0, 65539, 0, 0 )
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource( 1 )]
|
||||
creatureName = "Player"
|
||||
|
||||
[node name="PlayerGui" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[node name="Orc" parent="." instance=ExtResource( 5 )]
|
||||
position = Vector2( 40, 0 )
|
||||
[connection signal="UpdatePlayerGuiHandler" from="Player" to="PlayerGui" method="OnUpdatePlayerGui"]
|
Reference in New Issue
Block a user