Snake/Scene/Game.tscn
snoweuph 8b21cdcc6a Implement Game logic
TODO: Game UI with settings and start button, Gamepad input, visuals
2023-02-15 18:11:37 +01:00

27 lines
931 B
Text

[gd_scene load_steps=5 format=3 uid="uid://drs4bhpd3vrh2"]
[ext_resource type="Script" path="res://Scripts/GameManager.gd" id="1_lps27"]
[ext_resource type="Texture2D" uid="uid://vv33w22kwgpc" path="res://Assets/tile.png" id="2_wiemx"]
[ext_resource type="Script" path="res://Scripts/TileColors.gd" id="3_gnesl"]
[sub_resource type="Resource" id="Resource_22g0s"]
script = ExtResource("3_gnesl")
empty = Color(1, 1, 1, 1)
snake_head = Color(0, 1, 0, 1)
snake_body = Color(0.133333, 0.545098, 0.133333, 1)
apple = Color(1, 0, 0, 1)
[node name="Node2D" type="Node2D"]
[node name="GameManager" type="Node" parent="."]
[node name="Map" type="Node2D" parent="."]
script = ExtResource("1_lps27")
texture = ExtResource("2_wiemx")
tile_color = SubResource("Resource_22g0s")
[node name="Camera2D" type="Camera2D" parent="."]
[node name="Tile" type="Sprite2D" parent="."]
position = Vector2(182, 214)
texture = ExtResource("2_wiemx")