itch html export setup

This commit is contained in:
Hurlu 2021-06-12 12:08:43 +02:00
parent 6ce37a84f9
commit d2fc787c2a
5 changed files with 40 additions and 0 deletions

2
.gitignore vendored
View File

@ -8,3 +8,5 @@ export_presets.cfg
# Mono-specific ignores
.mono/
# my ignores
build/

31
Scenes/TestScn.tscn Normal file
View File

@ -0,0 +1,31 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://Scripts/rotaa.gd" type="Script" id=1]
[ext_resource path="res://Graphics/Placeholder.png" type="Texture" id=2]
[node name="Node2D" type="Node2D"]
[node name="Placeholder" type="Sprite" parent="."]
position = Vector2( 512, 296 )
texture = ExtResource( 2 )
script = ExtResource( 1 )
[node name="Placeholder2" type="Sprite" parent="."]
position = Vector2( 18.3143, 583.069 )
texture = ExtResource( 2 )
script = ExtResource( 1 )
[node name="Placeholder3" type="Sprite" parent="."]
position = Vector2( 1006.32, 582.178 )
texture = ExtResource( 2 )
script = ExtResource( 1 )
[node name="Placeholder4" type="Sprite" parent="."]
position = Vector2( 1006.49, 16.5036 )
texture = ExtResource( 2 )
script = ExtResource( 1 )
[node name="Placeholder5" type="Sprite" parent="."]
position = Vector2( 16.2689, 17.0209 )
texture = ExtResource( 2 )
script = ExtResource( 1 )

4
Scripts/rotaa.gd Normal file
View File

@ -0,0 +1,4 @@
extends Sprite
func _physics_process(delta):
self.rotate(deg2rad(120 * delta))

View File

@ -1,5 +1,7 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
[resource]
background_mode = 2
background_sky = SubResource( 1 )

View File

@ -16,6 +16,7 @@ _global_script_class_icons={
[application]
config/name="GMTK2021"
run/main_scene="res://Scenes/TestScn.tscn"
config/icon="res://icon.png"
[rendering]