This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from rakugoteam/2.0.8
2.0.9f1
- Loading branch information
Showing
6 changed files
with
90 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="StreamTexture" | ||
path="res://.import/City.png-f2e0899b2fe253835ec0575710f4be12.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://game/City.png" | ||
dest_files=[ "res://.import/City.png-f2e0899b2fe253835ec0575710f4be12.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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
extends Node2D | ||
|
||
func _ready(): | ||
Rakugo.connect("begin", Rakugo, "hide", ["Dialog"]) | ||
pass | ||
|
||
func _on_ParkBtn_pressed(): | ||
print("park") | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[gd_scene load_steps=4 format=2] | ||
|
||
[ext_resource path="res://addons/Rakugo/nodes/button2D.gd" type="Script" id=1] | ||
[ext_resource path="res://game/City.png" type="Texture" id=2] | ||
[ext_resource path="res://game/Map.gd" type="Script" id=3] | ||
|
||
[node name="Map" type="Node2D"] | ||
z_index = -10 | ||
script = ExtResource( 3 ) | ||
|
||
[node name="City" type="Sprite" parent="."] | ||
position = Vector2( 509.936, 299.991 ) | ||
scale = Vector2( 1.68471, 2.04677 ) | ||
texture = ExtResource( 2 ) | ||
|
||
[node name="ParkBtn" type="Area2D" parent="."] | ||
position = Vector2( 744.626, 149.227 ) | ||
script = ExtResource( 1 ) | ||
use_colors_from_theme = false | ||
idle_color = Color( 1, 1, 1, 0 ) | ||
hover_color = Color( 0.160784, 0.572549, 0.980392, 0.690196 ) | ||
pressed_color = Color( 0.0431373, 0.184314, 0.231373, 0.698039 ) | ||
disable_color = Color( 0.0470588, 0.0470588, 0.0470588, 0.466667 ) | ||
|
||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="ParkBtn"] | ||
position = Vector2( -1.99023, -6.63422 ) | ||
polygon = PoolVector2Array( -11.1022, -88.2991, -188.236, 18.5116, -1.15094, 133.283, 174.656, 25.8092 ) | ||
|
||
[node name="Polygon2D" type="Polygon2D" parent="ParkBtn"] | ||
modulate = Color( 0.992157, 0.972549, 0.972549, 1 ) | ||
show_behind_parent = true | ||
position = Vector2( -1.99023, -6.63422 ) | ||
color = Color( 0.988235, 0.952941, 0.952941, 1 ) | ||
polygon = PoolVector2Array( -11.1022, -88.2991, -188.236, 18.5116, -1.15094, 133.283, 174.656, 25.8092 ) | ||
[connection signal="pressed" from="ParkBtn" to="." method="_on_ParkBtn_pressed"] |