Version 1.0
BIN
ArchitectsDaughter-Regular.ttf
Normal file
83
Main.gd
Normal file
|
@ -0,0 +1,83 @@
|
|||
extends Node
|
||||
|
||||
var strings = [
|
||||
"Someone asks where to find an unreleased song",
|
||||
"Akira gets aggro at someone in chat on stream-mods",
|
||||
"Darkwing_j makes an appearance",
|
||||
"Lopar makes a poll",
|
||||
"Inquiry about how to join the non-existent Discord server",
|
||||
"Mods get distracted by stream-mod chat",
|
||||
"Annoying Jojo reference",
|
||||
"Akira beats everyone else to something",
|
||||
"Someone makes a business request in chat",
|
||||
"Sub Bomb of 20+",
|
||||
"AutoMod catches a perfectly normal message",
|
||||
"Insomniac_Rap Raid",
|
||||
"Jirard Raid",
|
||||
"We timeout someone",
|
||||
"We ban someone",
|
||||
"We delete a message",
|
||||
"Hugspam",
|
||||
"Broken Shigi",
|
||||
"Mood Flip",
|
||||
"Someone asks who made Saitou's graphics",
|
||||
"AutoMod catches an actual bad message",
|
||||
"Tax Cheer",
|
||||
"Fireworks Cheer",
|
||||
"Star Cheer",
|
||||
"Hype Train",
|
||||
"Raid right at the end of the stream",
|
||||
"We add a new word to the AutoMod block list",
|
||||
"DSKoopa Raid",
|
||||
"Someone just finished Rakuen",
|
||||
"Someone spams a request in chat",
|
||||
"Someone asks for personal information",
|
||||
"We ask someone to stop spamming",
|
||||
"Someone asks about effects/echo",
|
||||
"Widetou appears",
|
||||
"Oddtou appears",
|
||||
"Saitou is Missing",
|
||||
"Rapid-Fire Requests",
|
||||
"Hype Train reaches max level",
|
||||
"We DM someone",
|
||||
"Someone asks about musical equipment",
|
||||
"Someone asks for piano tutorials",
|
||||
"Someone tries to post a link in chat",
|
||||
"Buck Bumble",
|
||||
"We need Google Translate's assistance",
|
||||
"Someone claims a song sounds like something else",
|
||||
"BWA HA HA",
|
||||
"Overuse of the @supershigi tag",
|
||||
"Hello from AN ENTIRE COUNTRY!",
|
||||
"Akira and someone else say the same thing simultaneously",
|
||||
"A dimpy person turns out to be cool",
|
||||
"Live Learn",
|
||||
"Someone needs to read the room",
|
||||
"DJ Oddtou",
|
||||
"Anime song request",
|
||||
"Someone else sees/hears before us",
|
||||
"Self-advertising",
|
||||
"DEEP DREAM",
|
||||
"TIMING"
|
||||
]
|
||||
|
||||
func _ready():
|
||||
randomize()
|
||||
var rng = RandomNumberGenerator.new()
|
||||
rng.randomize()
|
||||
var randseed = rng.get_seed()
|
||||
seed(randseed)
|
||||
print(randseed)
|
||||
$Seed.text = "Seed: " + str(randseed)
|
||||
strings.shuffle()
|
||||
|
||||
for i in range(24):
|
||||
var j = i + 1
|
||||
get_node("squares/%s/Label" % j).set_text(strings[i])
|
||||
get_node("squares/%s/Marker" % j).set_frame(rng.randi_range(0,3))
|
||||
get_node("squares/%s/Marker" % j).modulate = Color(1,1,1,0.5)
|
||||
|
||||
func _been_clicked(what):
|
||||
var button = get_node("squares/%s/Marker" % what)
|
||||
button.visible = !button.visible
|
||||
pass # Replace with function body.
|
926
Main.tscn
Normal file
|
@ -0,0 +1,926 @@
|
|||
[gd_scene load_steps=14 format=2]
|
||||
|
||||
[ext_resource path="res://gfx/sidevert.png" type="Texture" id=1]
|
||||
[ext_resource path="res://gfx/saitou.png" type="Texture" id=2]
|
||||
[ext_resource path="res://ArchitectsDaughter-Regular.ttf" type="DynamicFontData" id=3]
|
||||
[ext_resource path="res://Main.gd" type="Script" id=4]
|
||||
[ext_resource path="res://theme.tres" type="Theme" id=6]
|
||||
[ext_resource path="res://gfx/widetou.png" type="Texture" id=7]
|
||||
[ext_resource path="res://button.gd" type="Script" id=8]
|
||||
[ext_resource path="res://gfx/saitou_uh.png" type="Texture" id=9]
|
||||
[ext_resource path="res://gfx/oddtou.png" type="Texture" id=10]
|
||||
|
||||
[sub_resource type="TileSet" id=1]
|
||||
0/name = "saitou.png 0"
|
||||
0/texture = ExtResource( 2 )
|
||||
0/tex_offset = Vector2( 0, 0 )
|
||||
0/modulate = Color( 1, 1, 1, 1 )
|
||||
0/region = Rect2( 0, 0, 112, 112 )
|
||||
0/tile_mode = 0
|
||||
0/occluder_offset = Vector2( 0, 0 )
|
||||
0/navigation_offset = Vector2( 0, 0 )
|
||||
0/shape_offset = Vector2( 0, 0 )
|
||||
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
0/shape_one_way = false
|
||||
0/shape_one_way_margin = 0.0
|
||||
0/shapes = [ ]
|
||||
0/z_index = 0
|
||||
1/name = "sidevert.png 1"
|
||||
1/texture = ExtResource( 1 )
|
||||
1/tex_offset = Vector2( 0, 0 )
|
||||
1/modulate = Color( 1, 1, 1, 1 )
|
||||
1/region = Rect2( 0, 0, 112, 112 )
|
||||
1/tile_mode = 0
|
||||
1/occluder_offset = Vector2( 0, 0 )
|
||||
1/navigation_offset = Vector2( 0, 0 )
|
||||
1/shape_offset = Vector2( 0, 0 )
|
||||
1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
|
||||
1/shape_one_way = false
|
||||
1/shape_one_way_margin = 0.0
|
||||
1/shapes = [ ]
|
||||
1/z_index = 0
|
||||
|
||||
[sub_resource type="DynamicFont" id=2]
|
||||
size = 65
|
||||
font_data = ExtResource( 3 )
|
||||
|
||||
[sub_resource type="DynamicFont" id=3]
|
||||
font_data = ExtResource( 3 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=4]
|
||||
animations = [ {
|
||||
"frames": [ ExtResource( 2 ), ExtResource( 10 ), ExtResource( 7 ), ExtResource( 9 ) ],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"speed": 5.0
|
||||
} ]
|
||||
|
||||
[node name="Main" type="Node"]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="background" type="ColorRect" parent="."]
|
||||
margin_right = 1000.0
|
||||
margin_bottom = 1000.0
|
||||
color = Color( 0, 0, 0, 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Border" type="TileMap" parent="."]
|
||||
scale = Vector2( 0.75, 0.75 )
|
||||
tile_set = SubResource( 1 )
|
||||
cell_size = Vector2( 112, 112 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( 0, 0, 0, 11, 1, 0, 65536, 1, 0, 65547, 1, 0, 131072, 1, 0, 131083, 1, 0, 196608, 1, 0, 196619, 1, 0, 262144, 1, 0, 262155, 1, 0, 327680, 1, 0, 327691, 1, 0, 393216, 1, 0, 393227, 1, 0, 458752, 1, 0, 458763, 1, 0, 524288, 1, 0, 524299, 1, 0, 589824, 1, 0, 589835, 1, 0, 655360, 1, 0, 655371, 1, 0, 720896, 1, 0, 720907, 1, 0 )
|
||||
|
||||
[node name="Heading" type="Label" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
margin_left = -353.0
|
||||
margin_right = 353.0
|
||||
margin_bottom = 92.0
|
||||
custom_fonts/font = SubResource( 2 )
|
||||
text = "B I N G O"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Seed" type="Label" parent="."]
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_top = -21.0
|
||||
custom_fonts/font = SubResource( 3 )
|
||||
text = "Seed: "
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="squares" type="GridContainer" parent="."]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
margin_left = -403.0
|
||||
margin_top = -403.0
|
||||
margin_right = 403.0
|
||||
margin_bottom = 403.0
|
||||
rect_min_size = Vector2( 792, 792 )
|
||||
columns = 5
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="1" type="Button" parent="squares"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/1"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/1"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="2" type="Button" parent="squares"]
|
||||
margin_left = 162.0
|
||||
margin_right = 320.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/2"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/2"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="3" type="Button" parent="squares"]
|
||||
margin_left = 324.0
|
||||
margin_right = 482.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/3"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/3"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="4" type="Button" parent="squares"]
|
||||
margin_left = 486.0
|
||||
margin_right = 644.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/4"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/4"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="5" type="Button" parent="squares"]
|
||||
margin_left = 648.0
|
||||
margin_right = 806.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/5"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/5"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="6" type="Button" parent="squares"]
|
||||
margin_top = 162.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 320.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/6"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/6"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="7" type="Button" parent="squares"]
|
||||
margin_left = 162.0
|
||||
margin_top = 162.0
|
||||
margin_right = 320.0
|
||||
margin_bottom = 320.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/7"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/7"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="8" type="Button" parent="squares"]
|
||||
margin_left = 324.0
|
||||
margin_top = 162.0
|
||||
margin_right = 482.0
|
||||
margin_bottom = 320.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/8"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/8"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="9" type="Button" parent="squares"]
|
||||
margin_left = 486.0
|
||||
margin_top = 162.0
|
||||
margin_right = 644.0
|
||||
margin_bottom = 320.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/9"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/9"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="10" type="Button" parent="squares"]
|
||||
margin_left = 648.0
|
||||
margin_top = 162.0
|
||||
margin_right = 806.0
|
||||
margin_bottom = 320.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/10"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/10"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="11" type="Button" parent="squares"]
|
||||
margin_top = 324.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 482.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/11"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/11"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="12" type="Button" parent="squares"]
|
||||
margin_left = 162.0
|
||||
margin_top = 324.0
|
||||
margin_right = 320.0
|
||||
margin_bottom = 482.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/12"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/12"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="free" type="Button" parent="squares"]
|
||||
margin_left = 324.0
|
||||
margin_top = 324.0
|
||||
margin_right = 482.0
|
||||
margin_bottom = 482.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/free"]
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/free"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "FREE"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="13" type="Button" parent="squares"]
|
||||
margin_left = 486.0
|
||||
margin_top = 324.0
|
||||
margin_right = 644.0
|
||||
margin_bottom = 482.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/13"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/13"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="14" type="Button" parent="squares"]
|
||||
margin_left = 648.0
|
||||
margin_top = 324.0
|
||||
margin_right = 806.0
|
||||
margin_bottom = 482.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/14"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/14"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="15" type="Button" parent="squares"]
|
||||
margin_top = 486.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 644.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/15"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/15"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="16" type="Button" parent="squares"]
|
||||
margin_left = 162.0
|
||||
margin_top = 486.0
|
||||
margin_right = 320.0
|
||||
margin_bottom = 644.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/16"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/16"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="17" type="Button" parent="squares"]
|
||||
margin_left = 324.0
|
||||
margin_top = 486.0
|
||||
margin_right = 482.0
|
||||
margin_bottom = 644.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/17"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/17"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="18" type="Button" parent="squares"]
|
||||
margin_left = 486.0
|
||||
margin_top = 486.0
|
||||
margin_right = 644.0
|
||||
margin_bottom = 644.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/18"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/18"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="19" type="Button" parent="squares"]
|
||||
margin_left = 648.0
|
||||
margin_top = 486.0
|
||||
margin_right = 806.0
|
||||
margin_bottom = 644.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/19"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/19"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="20" type="Button" parent="squares"]
|
||||
margin_top = 648.0
|
||||
margin_right = 158.0
|
||||
margin_bottom = 806.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/20"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/20"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="21" type="Button" parent="squares"]
|
||||
margin_left = 162.0
|
||||
margin_top = 648.0
|
||||
margin_right = 320.0
|
||||
margin_bottom = 806.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/21"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/21"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="22" type="Button" parent="squares"]
|
||||
margin_left = 324.0
|
||||
margin_top = 648.0
|
||||
margin_right = 482.0
|
||||
margin_bottom = 806.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/22"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/22"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="23" type="Button" parent="squares"]
|
||||
margin_left = 486.0
|
||||
margin_top = 648.0
|
||||
margin_right = 644.0
|
||||
margin_bottom = 806.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/23"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/23"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="24" type="Button" parent="squares"]
|
||||
margin_left = 648.0
|
||||
margin_top = 648.0
|
||||
margin_right = 806.0
|
||||
margin_bottom = 806.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
theme = ExtResource( 6 )
|
||||
flat = true
|
||||
clip_text = true
|
||||
script = ExtResource( 8 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Marker" type="AnimatedSprite" parent="squares/24"]
|
||||
visible = false
|
||||
position = Vector2( 79, 79 )
|
||||
frames = SubResource( 4 )
|
||||
|
||||
[node name="Label" type="Label" parent="squares/24"]
|
||||
margin_right = 158.0
|
||||
margin_bottom = 158.0
|
||||
rect_min_size = Vector2( 158, 158 )
|
||||
text = "Inquiry about how to join the non-existent Discord server"
|
||||
align = 1
|
||||
valign = 1
|
||||
autowrap = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
[connection signal="been_clicked" from="squares/1" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/1" to="squares/1" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/2" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/2" to="squares/2" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/3" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/3" to="squares/3" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/4" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/4" to="squares/4" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/5" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/5" to="squares/5" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/6" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/6" to="squares/6" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/7" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/7" to="squares/7" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/8" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/8" to="squares/8" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/9" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/9" to="squares/9" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/10" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/10" to="squares/10" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/11" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/11" to="squares/11" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/12" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/12" to="squares/12" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/13" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/13" to="squares/13" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/14" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/14" to="squares/14" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/15" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/15" to="squares/15" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/16" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/16" to="squares/16" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/17" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/17" to="squares/17" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/18" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/18" to="squares/18" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/19" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/19" to="squares/19" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/20" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/20" to="squares/20" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/21" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/21" to="squares/21" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/22" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/22" to="squares/22" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/23" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/23" to="squares/23" method="_on_pressed"]
|
||||
[connection signal="been_clicked" from="squares/24" to="." method="_been_clicked"]
|
||||
[connection signal="pressed" from="squares/24" to="squares/24" method="_on_pressed"]
|
11
button.gd
Normal file
|
@ -0,0 +1,11 @@
|
|||
extends Button
|
||||
|
||||
signal been_clicked(what)
|
||||
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
func _on_pressed():
|
||||
var button = self.get_node(".").get_name()
|
||||
emit_signal("been_clicked", button)
|
7
default_env.tres
Normal file
|
@ -0,0 +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 )
|
BIN
export/favicon.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
34
export/favicon.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/favicon.png-80d19ea9a443d34be4d74a9316cc8177.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://export/favicon.png"
|
||||
dest_files=[ "res://.import/favicon.png-80d19ea9a443d34be4d74a9316cc8177.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
20
export/index.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Mod Bingo - Powered by Godot</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: black;
|
||||
}
|
||||
p {
|
||||
color: greenyellow;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<iframe src="./stream-bingo.html" style="margin:auto; width:1000px; height:1000px; display: block;"></iframe>
|
||||
</body>
|
||||
</html>
|
268
export/stream-bingo.html
Normal file
|
@ -0,0 +1,268 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns='http://www.w3.org/1999/xhtml' lang='' xml:lang=''>
|
||||
<head>
|
||||
<meta charset='utf-8' />
|
||||
<meta name='viewport' content='width=device-width, user-scalable=no' />
|
||||
<link id='-gd-engine-icon' rel='icon' type='image/png' href='favicon.png' />
|
||||
<title>stream-bingo</title>
|
||||
<style type='text/css'>
|
||||
|
||||
body {
|
||||
touch-action: none;
|
||||
margin: 0;
|
||||
border: 0 none;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
#canvas {
|
||||
display: block;
|
||||
margin: 0;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#canvas:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.godot {
|
||||
font-family: 'Noto Sans', 'Droid Sans', Arial, sans-serif;
|
||||
color: #e0e0e0;
|
||||
background-color: #3b3943;
|
||||
background-image: linear-gradient(to bottom, #403e48, #35333c);
|
||||
border: 1px solid #45434e;
|
||||
box-shadow: 0 0 1px 1px #2f2d35;
|
||||
}
|
||||
|
||||
|
||||
/* Status display
|
||||
* ============== */
|
||||
|
||||
#status {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
/* don't consume click events - make children visible explicitly */
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
#status-progress {
|
||||
width: 366px;
|
||||
height: 7px;
|
||||
background-color: #38363A;
|
||||
border: 1px solid #444246;
|
||||
padding: 1px;
|
||||
box-shadow: 0 0 2px 1px #1B1C22;
|
||||
border-radius: 2px;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
@media only screen and (orientation:portrait) {
|
||||
#status-progress {
|
||||
width: 61.8%;
|
||||
}
|
||||
}
|
||||
|
||||
#status-progress-inner {
|
||||
height: 100%;
|
||||
width: 0;
|
||||
box-sizing: border-box;
|
||||
transition: width 0.5s linear;
|
||||
background-color: #202020;
|
||||
border: 1px solid #222223;
|
||||
box-shadow: 0 0 1px 1px #27282E;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#status-indeterminate {
|
||||
visibility: visible;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#status-indeterminate > div {
|
||||
width: 4.5px;
|
||||
height: 0;
|
||||
border-style: solid;
|
||||
border-width: 9px 3px 0 3px;
|
||||
border-color: #2b2b2b transparent transparent transparent;
|
||||
transform-origin: center 21px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#status-indeterminate > div:nth-child(1) { transform: rotate( 22.5deg); }
|
||||
#status-indeterminate > div:nth-child(2) { transform: rotate( 67.5deg); }
|
||||
#status-indeterminate > div:nth-child(3) { transform: rotate(112.5deg); }
|
||||
#status-indeterminate > div:nth-child(4) { transform: rotate(157.5deg); }
|
||||
#status-indeterminate > div:nth-child(5) { transform: rotate(202.5deg); }
|
||||
#status-indeterminate > div:nth-child(6) { transform: rotate(247.5deg); }
|
||||
#status-indeterminate > div:nth-child(7) { transform: rotate(292.5deg); }
|
||||
#status-indeterminate > div:nth-child(8) { transform: rotate(337.5deg); }
|
||||
|
||||
#status-notice {
|
||||
margin: 0 100px;
|
||||
line-height: 1.3;
|
||||
visibility: visible;
|
||||
padding: 4px 6px;
|
||||
visibility: visible;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<canvas id='canvas'>
|
||||
HTML5 canvas appears to be unsupported in the current browser.<br />
|
||||
Please try updating or use a different browser.
|
||||
</canvas>
|
||||
<div id='status'>
|
||||
<div id='status-progress' style='display: none;' oncontextmenu='event.preventDefault();'><div id ='status-progress-inner'></div></div>
|
||||
<div id='status-indeterminate' style='display: none;' oncontextmenu='event.preventDefault();'>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
</div>
|
||||
<div id='status-notice' class='godot' style='display: none;'></div>
|
||||
</div>
|
||||
|
||||
<script type='text/javascript' src='stream-bingo.js'></script>
|
||||
<script type='text/javascript'>//<![CDATA[
|
||||
|
||||
var engine = new Engine;
|
||||
var setStatusMode;
|
||||
var setStatusNotice;
|
||||
|
||||
(function() {
|
||||
|
||||
const EXECUTABLE_NAME = 'stream-bingo';
|
||||
const MAIN_PACK = 'stream-bingo.pck';
|
||||
const INDETERMINATE_STATUS_STEP_MS = 100;
|
||||
|
||||
var canvas = document.getElementById('canvas');
|
||||
var statusProgress = document.getElementById('status-progress');
|
||||
var statusProgressInner = document.getElementById('status-progress-inner');
|
||||
var statusIndeterminate = document.getElementById('status-indeterminate');
|
||||
var statusNotice = document.getElementById('status-notice');
|
||||
|
||||
var initializing = true;
|
||||
var statusMode = 'hidden';
|
||||
|
||||
var animationCallbacks = [];
|
||||
function animate(time) {
|
||||
animationCallbacks.forEach(callback => callback(time));
|
||||
requestAnimationFrame(animate);
|
||||
}
|
||||
requestAnimationFrame(animate);
|
||||
|
||||
function adjustCanvasDimensions() {
|
||||
var scale = window.devicePixelRatio || 1;
|
||||
var width = window.innerWidth;
|
||||
var height = window.innerHeight;
|
||||
canvas.width = width * scale;
|
||||
canvas.height = height * scale;
|
||||
canvas.style.width = width + "px";
|
||||
canvas.style.height = height + "px";
|
||||
}
|
||||
animationCallbacks.push(adjustCanvasDimensions);
|
||||
adjustCanvasDimensions();
|
||||
|
||||
setStatusMode = function setStatusMode(mode) {
|
||||
|
||||
if (statusMode === mode || !initializing)
|
||||
return;
|
||||
[statusProgress, statusIndeterminate, statusNotice].forEach(elem => {
|
||||
elem.style.display = 'none';
|
||||
});
|
||||
animationCallbacks = animationCallbacks.filter(function(value) {
|
||||
return (value != animateStatusIndeterminate);
|
||||
});
|
||||
switch (mode) {
|
||||
case 'progress':
|
||||
statusProgress.style.display = 'block';
|
||||
break;
|
||||
case 'indeterminate':
|
||||
statusIndeterminate.style.display = 'block';
|
||||
animationCallbacks.push(animateStatusIndeterminate);
|
||||
break;
|
||||
case 'notice':
|
||||
statusNotice.style.display = 'block';
|
||||
break;
|
||||
case 'hidden':
|
||||
break;
|
||||
default:
|
||||
throw new Error('Invalid status mode');
|
||||
}
|
||||
statusMode = mode;
|
||||
}
|
||||
|
||||
function animateStatusIndeterminate(ms) {
|
||||
|
||||
var i = Math.floor(ms / INDETERMINATE_STATUS_STEP_MS % 8);
|
||||
if (statusIndeterminate.children[i].style.borderTopColor == '') {
|
||||
Array.prototype.slice.call(statusIndeterminate.children).forEach(child => {
|
||||
child.style.borderTopColor = '';
|
||||
});
|
||||
statusIndeterminate.children[i].style.borderTopColor = '#dfdfdf';
|
||||
}
|
||||
}
|
||||
|
||||
setStatusNotice = function setStatusNotice(text) {
|
||||
|
||||
while (statusNotice.lastChild) {
|
||||
statusNotice.removeChild(statusNotice.lastChild);
|
||||
}
|
||||
var lines = text.split('\n');
|
||||
lines.forEach((line) => {
|
||||
statusNotice.appendChild(document.createTextNode(line));
|
||||
statusNotice.appendChild(document.createElement('br'));
|
||||
});
|
||||
};
|
||||
|
||||
engine.setProgressFunc((current, total) => {
|
||||
|
||||
if (total > 0) {
|
||||
statusProgressInner.style.width = current/total * 100 + '%';
|
||||
setStatusMode('progress');
|
||||
if (current === total) {
|
||||
// wait for progress bar animation
|
||||
setTimeout(() => {
|
||||
setStatusMode('indeterminate');
|
||||
}, 500);
|
||||
}
|
||||
} else {
|
||||
setStatusMode('indeterminate');
|
||||
}
|
||||
});
|
||||
|
||||
function displayFailureNotice(err) {
|
||||
var msg = err.message || err;
|
||||
console.error(msg);
|
||||
setStatusNotice(msg);
|
||||
setStatusMode('notice');
|
||||
initializing = false;
|
||||
};
|
||||
|
||||
if (!Engine.isWebGLAvailable()) {
|
||||
displayFailureNotice('WebGL not available');
|
||||
} else {
|
||||
setStatusMode('indeterminate');
|
||||
engine.setCanvas(canvas);
|
||||
engine.startGame(EXECUTABLE_NAME, MAIN_PACK).then(() => {
|
||||
setStatusMode('hidden');
|
||||
initializing = false;
|
||||
}, displayFailureNotice);
|
||||
}
|
||||
})();
|
||||
//]]></script>
|
||||
</body>
|
||||
</html>
|
||||
|
419
export/stream-bingo.js
Normal file
BIN
export/stream-bingo.pck
Normal file
BIN
export/stream-bingo.png
Normal file
After Width: | Height: | Size: 21 KiB |
34
export/stream-bingo.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/stream-bingo.png-45d028c4b020db8402bb87227417b4fa.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://export/stream-bingo.png"
|
||||
dest_files=[ "res://.import/stream-bingo.png-45d028c4b020db8402bb87227417b4fa.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
export/stream-bingo.wasm
Normal file
48
export_presets.cfg
Normal file
|
@ -0,0 +1,48 @@
|
|||
[preset.0]
|
||||
|
||||
name="HTML5"
|
||||
platform="HTML5"
|
||||
runnable=true
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="export/stream-bingo.html"
|
||||
patch_list=PoolStringArray( )
|
||||
script_export_mode=1
|
||||
script_encryption_key=""
|
||||
|
||||
[preset.0.options]
|
||||
|
||||
vram_texture_compression/for_desktop=true
|
||||
vram_texture_compression/for_mobile=false
|
||||
html/custom_html_shell=""
|
||||
html/head_include=""
|
||||
custom_template/release=""
|
||||
custom_template/debug=""
|
||||
|
||||
[preset.1]
|
||||
|
||||
name="Linux/X11"
|
||||
platform="Linux/X11"
|
||||
runnable=true
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="export/lnx/stream-bingo.x86_64"
|
||||
patch_list=PoolStringArray( )
|
||||
script_export_mode=1
|
||||
script_encryption_key=""
|
||||
|
||||
[preset.1.options]
|
||||
|
||||
texture_format/bptc=false
|
||||
texture_format/s3tc=true
|
||||
texture_format/etc=false
|
||||
texture_format/etc2=false
|
||||
texture_format/no_bptc_fallbacks=true
|
||||
binary_format/64_bits=true
|
||||
binary_format/embed_pck=false
|
||||
custom_template/release=""
|
||||
custom_template/debug=""
|
BIN
gfx/marker.png
Normal file
After Width: | Height: | Size: 827 B |
34
gfx/marker.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/marker.png-0077696d3b450bc1ad0d87c4f732e081.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://gfx/marker.png"
|
||||
dest_files=[ "res://.import/marker.png-0077696d3b450bc1ad0d87c4f732e081.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
gfx/oddtou.png
Normal file
After Width: | Height: | Size: 932 B |
34
gfx/oddtou.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/oddtou.png-cb339ca3346b4f5ea181cd80bae75a47.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://gfx/oddtou.png"
|
||||
dest_files=[ "res://.import/oddtou.png-cb339ca3346b4f5ea181cd80bae75a47.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
gfx/saitou.png
Normal file
After Width: | Height: | Size: 762 B |
34
gfx/saitou.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/saitou.png-c214f2fd0f11c1240cf9aafbba74d36f.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://gfx/saitou.png"
|
||||
dest_files=[ "res://.import/saitou.png-c214f2fd0f11c1240cf9aafbba74d36f.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
BIN
gfx/saitou_uh.png
Normal file
After Width: | Height: | Size: 819 B |
34
gfx/saitou_uh.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/saitou_uh.png-459cd3422648f195235781dba9307d6e.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://gfx/saitou_uh.png"
|
||||
dest_files=[ "res://.import/saitou_uh.png-459cd3422648f195235781dba9307d6e.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
gfx/sidehoriz.png
Normal file
After Width: | Height: | Size: 466 B |
34
gfx/sidehoriz.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/sidehoriz.png-e59a9cb0c3b9e1e8111a6bd7ed593055.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://gfx/sidehoriz.png"
|
||||
dest_files=[ "res://.import/sidehoriz.png-e59a9cb0c3b9e1e8111a6bd7ed593055.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
BIN
gfx/sidevert.png
Normal file
After Width: | Height: | Size: 499 B |
34
gfx/sidevert.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/sidevert.png-0737bf67b584ca45cdc8de86f238dd11.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://gfx/sidevert.png"
|
||||
dest_files=[ "res://.import/sidevert.png-0737bf67b584ca45cdc8de86f238dd11.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
BIN
gfx/widetou.png
Normal file
After Width: | Height: | Size: 772 B |
34
gfx/widetou.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/widetou.png-73c73a41adf1664d0df48c9cb35c0807.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://gfx/widetou.png"
|
||||
dest_files=[ "res://.import/widetou.png-73c73a41adf1664d0df48c9cb35c0807.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
BIN
icon.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
34
icon.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
34
project.godot
Normal file
|
@ -0,0 +1,34 @@
|
|||
; Engine configuration file.
|
||||
; It's best edited using the editor UI and not directly,
|
||||
; since the parameters that go here are not all obvious.
|
||||
;
|
||||
; Format:
|
||||
; [section] ; section goes between []
|
||||
; param=value ; assign values to parameters
|
||||
|
||||
config_version=4
|
||||
|
||||
_global_script_classes=[ ]
|
||||
_global_script_class_icons={
|
||||
|
||||
}
|
||||
|
||||
[application]
|
||||
|
||||
config/name="stream-bingo"
|
||||
run/main_scene="res://Main.tscn"
|
||||
config/icon="res://icon.png"
|
||||
|
||||
[display]
|
||||
|
||||
window/size/width=1000
|
||||
window/size/height=1000
|
||||
window/stretch/mode="viewport"
|
||||
window/stretch/aspect="keep"
|
||||
|
||||
[rendering]
|
||||
|
||||
quality/driver/driver_name="GLES2"
|
||||
vram_compression/import_etc=true
|
||||
vram_compression/import_etc2=false
|
||||
environment/default_environment="res://default_env.tres"
|
33
theme.tres
Normal file
|
@ -0,0 +1,33 @@
|
|||
[gd_resource type="Theme" load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://ArchitectsDaughter-Regular.ttf" type="DynamicFontData" id=1]
|
||||
|
||||
[sub_resource type="DynamicFont" id=1]
|
||||
size = 22
|
||||
outline_size = 1
|
||||
outline_color = Color( 0, 0, 0, 1 )
|
||||
use_mipmaps = true
|
||||
use_filter = true
|
||||
font_data = ExtResource( 1 )
|
||||
|
||||
[resource]
|
||||
Button/colors/font_color = Color( 0.88, 0.88, 0.88, 1 )
|
||||
Button/colors/font_color_disabled = Color( 0.9, 0.9, 0.9, 0.2 )
|
||||
Button/colors/font_color_hover = Color( 0.94, 0.94, 0.94, 1 )
|
||||
Button/colors/font_color_pressed = Color( 1, 1, 1, 1 )
|
||||
Button/constants/hseparation = 2
|
||||
Button/fonts/font = null
|
||||
Button/styles/disabled = null
|
||||
Button/styles/focus = null
|
||||
Button/styles/hover = null
|
||||
Button/styles/normal = null
|
||||
Button/styles/pressed = null
|
||||
Label/colors/font_color = Color( 1, 1, 1, 1 )
|
||||
Label/colors/font_color_shadow = Color( 0, 0, 0, 0 )
|
||||
Label/colors/font_outline_modulate = Color( 1, 1, 1, 1 )
|
||||
Label/constants/line_spacing = 3
|
||||
Label/constants/shadow_as_outline = 0
|
||||
Label/constants/shadow_offset_x = 1
|
||||
Label/constants/shadow_offset_y = 1
|
||||
Label/fonts/font = SubResource( 1 )
|
||||
Label/styles/normal = null
|