made a lil asteroids game but now messing around with packed scenes so putting a save heere
This commit is contained in:
parent
caa2cd4c11
commit
d5c27030c5
9 changed files with 129 additions and 16 deletions
|
|
@ -3,6 +3,7 @@ class_name Channel
|
|||
|
||||
|
||||
@export var channel_name : String
|
||||
@export var channel_scene : PackedScene
|
||||
@export_group("Node References")
|
||||
@export var offline_channel_cover : TextureRect
|
||||
@export var game_viewport : SubViewport
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://63rik2noj8id"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://63rik2noj8id"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://diilj7xuttpqu" path="res://icon.svg" id="1_iix04"]
|
||||
[ext_resource type="Script" uid="uid://h43mmpjmmir4" path="res://base modules/channel_controller.gd" id="1_r07ln"]
|
||||
[ext_resource type="Texture2D" uid="uid://cyo0wl4dt3td1" path="res://sprites/offline_channel.png" id="2_01b3p"]
|
||||
[ext_resource type="Script" uid="uid://dlqr0ghj0sh6a" path="res://base modules/move_test.gd" id="2_jbg2j"]
|
||||
[ext_resource type="PackedScene" uid="uid://ch1x8pfdu2b1g" path="res://test_game.tscn" id="3_27arb"]
|
||||
|
||||
[sub_resource type="ViewportTexture" id="ViewportTexture_iix04"]
|
||||
viewport_path = NodePath("GameViewport")
|
||||
|
|
@ -48,16 +47,4 @@ handle_input_locally = false
|
|||
size = Vector2i(640, 360)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="ColorRect" type="TextureRect" parent="GameViewport"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("1_iix04")
|
||||
|
||||
[node name="Node2D" type="Node2D" parent="GameViewport"]
|
||||
script = ExtResource("2_jbg2j")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="GameViewport/Node2D"]
|
||||
texture = ExtResource("1_iix04")
|
||||
[node name="Game" parent="GameViewport" instance=ExtResource("3_27arb")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue