added mountain

This commit is contained in:
pennyrigate 2023-02-01 17:30:42 -05:00
parent 3d630b51fc
commit ffbfd41f9e
11 changed files with 384 additions and 2 deletions

38
maps/mountain.tscn Normal file
View file

@ -0,0 +1,38 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=1]
[ext_resource path="res://maps/map.gd" type="Script" id=2]
[ext_resource path="res://graphics/backgrounds/mountain_mountain.png" type="Texture" id=3]
[ext_resource path="res://graphics/backgrounds/mountain_clouds.png" type="Texture" id=4]
[ext_resource path="res://graphics/backgrounds/mountain_sunset.png" type="Texture" id=5]
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=6]
[ext_resource path="res://tilesets/t_mountain.tres" type="TileSet" id=7]
[node name="Map" type="Node2D" groups=["map"]]
script = ExtResource( 2 )
[node name="Camera2D" parent="." instance=ExtResource( 1 )]
[node name="Sunset" type="Sprite" parent="Camera2D"]
position = Vector2( 128, 96 )
z_index = -2
texture = ExtResource( 5 )
[node name="Mountain" type="Sprite" parent="Camera2D"]
position = Vector2( 128, 96 )
z_index = -2
texture = ExtResource( 3 )
[node name="Clouds" type="Sprite" parent="Camera2D"]
position = Vector2( 128, 96 )
z_index = -2
texture = ExtResource( 4 )
[node name="Player" parent="." instance=ExtResource( 6 )]
position = Vector2( 32, 160 )
[node name="Ground" type="TileMap" parent="."]
tile_set = ExtResource( 7 )
cell_size = Vector2( 8, 8 )
format = 1
tile_data = PoolIntArray( 1245196, 0, 65536, 1245197, 0, 65537, 1245198, 0, 65537, 1245199, 0, 65538, 1441792, 0, 65536, 1441793, 0, 65537, 1441794, 0, 65537, 1441795, 0, 65537, 1441796, 0, 65537, 1441797, 0, 65537, 1441798, 0, 65537, 1441799, 0, 65537, 1441800, 0, 65537, 1441801, 0, 65537, 1441802, 0, 65537, 1441803, 0, 65537, 1441804, 0, 65537, 1441805, 0, 65537, 1441806, 0, 65537, 1441807, 0, 65537, 1441808, 0, 65537, 1441809, 0, 65537, 1441810, 0, 65537, 1441811, 0, 65537, 1441812, 0, 65537, 1441813, 0, 65537, 1441814, 0, 65537, 1441815, 0, 65537, 1441816, 0, 65537, 1441817, 0, 65537, 1441818, 0, 65537, 1441819, 0, 65537, 1441820, 0, 65537, 1441821, 0, 65537, 1441822, 0, 65537, 1441823, 0, 65538 )