Upload files to 'scenes/s_main'
This commit is contained in:
parent
7eca7d767f
commit
80e34307b5
|
@ -1,10 +1,11 @@
|
|||
[gd_scene load_steps=13 format=2]
|
||||
[gd_scene load_steps=14 format=2]
|
||||
|
||||
[ext_resource path="res://scenes/s_main/default_env.tres" type="Environment" id=1]
|
||||
[ext_resource path="res://scenes/s_main/s_main.gd" type="Script" id=2]
|
||||
[ext_resource path="res://entities/player/Player.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://scenes/assets/ladder/Ladder.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://scenes/assets/fps_counter/FPS_Counter.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://scenes/s_main/filetest.gd" type="Script" id=6]
|
||||
[ext_resource path="res://scenes/s_main/materials/blue.material" type="Material" id=7]
|
||||
|
||||
[sub_resource type="CubeMesh" id=1]
|
||||
|
@ -177,19 +178,48 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0 )
|
|||
transform = Transform( -4.37114e-08, 0, 7, 0, 1.51, 0, -1, 0, -3.0598e-07, 13.25, 2, -5.25 )
|
||||
|
||||
[node name="FPS_Counter" parent="." instance=ExtResource( 5 )]
|
||||
margin_left = 3.95751
|
||||
margin_top = 8.57983
|
||||
margin_right = 103.958
|
||||
margin_bottom = 30.5798
|
||||
margin_left = 3.46374
|
||||
margin_top = 21.809
|
||||
margin_right = 103.464
|
||||
margin_bottom = 43.809
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
margin_left = 7.89392
|
||||
margin_top = 31.358
|
||||
margin_right = 360.894
|
||||
margin_bottom = 79.358
|
||||
margin_left = 570.086
|
||||
margin_top = 486.375
|
||||
margin_right = 1012.09
|
||||
margin_bottom = 585.375
|
||||
text = "Made with <3 by the Mimimal64 Team
|
||||
This software is open-source and licensed under GPLv3
|
||||
fork SuperV on https://tildegit.org/minimal64/superv"
|
||||
fork SuperV on https://tildegit.org/minimal64/superv
|
||||
|
||||
Also, use SHIFT-F1 to release your mouse and change the FOV slider.
|
||||
Do the same again to un-release it."
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="jtload" type="Node" parent="."]
|
||||
script = ExtResource( 6 )
|
||||
__meta__ = {
|
||||
"_editor_description_": "Load the Java test file. Woo!"
|
||||
}
|
||||
|
||||
[node name="Label2" type="Label" parent="."]
|
||||
margin_left = 4.40973
|
||||
margin_top = 7.55952
|
||||
margin_right = 120.41
|
||||
margin_bottom = 21.5595
|
||||
text = "d e b u g m e n u"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label3" type="Label" parent="."]
|
||||
margin_left = 2.8695
|
||||
margin_top = 52.4408
|
||||
margin_right = 174.87
|
||||
margin_bottom = 66.4408
|
||||
text = "Version: pre-alpha4272021"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
extends Node
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
func save_game():
|
||||
var save_game = File.new()
|
||||
save_game.open("user://savegame.save", File.WRITE)
|
||||
var save_nodes = get_tree().get_nodes_in_group("Persist")
|
||||
for i in save_nodes:
|
||||
var node_data = "test.ial"
|
||||
save_game.store_line(to_json(node_data))
|
||||
save_game.close()
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
|
@ -12,9 +12,10 @@ var mouse_mode: String = "CAPTURED"
|
|||
|
||||
func _ready() -> void:
|
||||
print("SuperV Debug Terminal")
|
||||
if fast_close:
|
||||
print("** Fast Close enabled in the 's_main.gd' script **")
|
||||
print("** 'Esc' to close 'Shift + F1' to release mouse **")
|
||||
print("** This has important info for bug-reporting! **")
|
||||
print("** If you encounter glitches, copy this and post to **")
|
||||
print("** https://tildegit.org/minimal64/superv/issues **")
|
||||
print("** thanks! -minimal64 team ***")
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
|
|
Reference in New Issue