-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
3,956 additions
and
692 deletions.
There are no files selected for viewing
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/conevir10.png-8b372ac73b6b935727eea1403642ce05.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://Images/conevir/conevir10.png" | ||
dest_files=[ "res://.import/conevir10.png-8b372ac73b6b935727eea1403642ce05.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
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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
extends Path2D | ||
|
||
onready var folow = $PathFollow2D | ||
export var speed=100 | ||
|
||
func _process(delta): | ||
folow.set_offset(folow.get_offset()+100*delta) | ||
folow.set_offset(folow.get_offset()+speed*delta) | ||
|
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/character.png-7a996d3b758d22c506b76a7c15391284.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://character.png" | ||
dest_files=[ "res://.import/character.png-7a996d3b758d22c506b76a7c15391284.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 |
Large diffs are not rendered by default.
Oops, something went wrong.
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,12 @@ | ||
[gd_resource type="Environment" load_steps=2 format=2] | ||
|
||
[sub_resource type="ProceduralSky" id=1] | ||
sun_longitude = 180.0 | ||
|
||
[resource] | ||
background_mode = 2 | ||
background_sky = SubResource( 1 ) | ||
glow_enabled = true | ||
glow_blend_mode = 1 | ||
glow_hdr_threshold = 1.3 | ||
glow_bicubic_upscale = true |
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,118 @@ | ||
[gd_scene load_steps=9 format=2] | ||
|
||
[ext_resource path="res://projectile_1.tscn" type="PackedScene" id=1] | ||
[ext_resource path="res://assets/flow_trail.png" type="Texture" id=2] | ||
[ext_resource path="res://assets/NotoSansUI_Regular.ttf" type="DynamicFontData" id=3] | ||
|
||
[sub_resource type="GDScript" id=1] | ||
script/source = "extends Spatial | ||
|
||
|
||
var speed := 1.0 | ||
func _ready(): | ||
pass | ||
|
||
|
||
func _process(delta): | ||
$rot.rotate_y(speed*delta) | ||
|
||
|
||
func _on_back_btn_button_down(): | ||
get_tree().change_scene(\"res://Menu.tscn\") | ||
" | ||
[sub_resource type="DynamicFont" id=5] | ||
size = 18 | ||
use_mipmaps = true | ||
use_filter = true | ||
font_data = ExtResource( 3 ) | ||
[sub_resource type="Shader" id=2] | ||
code = "shader_type spatial; | ||
|
||
render_mode unshaded; | ||
|
||
uniform vec4 color : hint_color = vec4(1.0); | ||
uniform sampler2D flow_texture :hint_albedo; | ||
uniform float flow_strength = 1.0; | ||
uniform float flow_speed = 1.0; | ||
uniform float dark_edge = 1.0; | ||
uniform float trail_offset_speed = 1.0; | ||
uniform float dissolve_flow_speed = 1.0; | ||
|
||
|
||
void fragment(){ | ||
vec4 _color = COLOR*color; | ||
float edge_mask = clamp(UV.y*(1.0-UV.y)*4.0, 0.0, 1.0); | ||
|
||
/// Tail | ||
vec2 uv_tail_offset = UV + vec2(flow_speed*TIME, 0.0); | ||
vec2 tail_distortion = (texture(flow_texture, uv_tail_offset).rg-vec2(0.5))*2.0*flow_strength*(1.0-UV.x); | ||
uv_tail_offset = UV + tail_distortion + vec2(TIME * trail_offset_speed, 0); | ||
float t = texture(flow_texture, uv_tail_offset).b; | ||
|
||
/// Dissolve | ||
vec2 uv_d = UV + vec2(dissolve_flow_speed*TIME, 0); | ||
float d = texture(flow_texture, uv_d).g + 2.0 * UV.x - 1.0; | ||
d = clamp(d, 0.0, 1.0); | ||
|
||
float tail = t * d * edge_mask; | ||
// ALBEDO = vec3(tail); | ||
EMISSION = _color.rgb * clamp(tail+edge_mask, 0, 1); | ||
ALPHA = _color.a*tail; | ||
// a | ||
}" | ||
[sub_resource type="ShaderMaterial" id=3] | ||
shader = SubResource( 2 ) | ||
shader_param/color = Color( 1, 1, 1, 1 ) | ||
shader_param/flow_strength = 0.4 | ||
shader_param/flow_speed = 1.0 | ||
shader_param/dark_edge = 1.0 | ||
shader_param/trail_offset_speed = 1.2 | ||
shader_param/dissolve_flow_speed = 0.8 | ||
shader_param/flow_texture = ExtResource( 2 ) | ||
[sub_resource type="QuadMesh" id=4] | ||
size = Vector2( 4, 1 ) | ||
[node name="root" type="Spatial"] | ||
script = SubResource( 1 ) | ||
[node name="ui" type="Control" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
[node name="back_btn" type="Button" parent="ui"] | ||
margin_left = 20.0 | ||
margin_top = 20.0 | ||
margin_right = 144.0 | ||
margin_bottom = 52.0 | ||
custom_fonts/font = SubResource( 5 ) | ||
text = "<- Back" | ||
__meta__ = { | ||
"_edit_use_anchors_": false, | ||
"_editor_description_": "" | ||
} | ||
[node name="rot" type="Spatial" parent="."] | ||
[node name="projectile" parent="rot" instance=ExtResource( 1 )] | ||
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0, 0 ) | ||
[node name="projectile2" parent="rot" instance=ExtResource( 1 )] | ||
transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, -10, 0, 0 ) | ||
[node name="Camera" type="Camera" parent="."] | ||
transform = Transform( 0.707107, 0.298836, -0.640856, 0, 0.906308, 0.422618, 0.707107, -0.298836, 0.640856, -15, 10, 15 ) | ||
[node name="MeshInstance" type="MeshInstance" parent="Camera"] | ||
transform = Transform( 1, 0, 0, 0, 1, -8.9407e-08, 0, 1.49012e-07, 1, 0, 1.90735e-06, -2.72972 ) | ||
visible = false | ||
material_override = SubResource( 3 ) | ||
mesh = SubResource( 4 ) | ||
material/0 = null | ||
[connection signal="button_down" from="ui/back_btn" to="." method="_on_back_btn_button_down"] |
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,120 @@ | ||
[gd_scene load_steps=10 format=2] | ||
|
||
[ext_resource path="res://character.tscn" type="PackedScene" id=1] | ||
[ext_resource path="res://assets/checker_roughness.png" type="Texture" id=2] | ||
[ext_resource path="res://assets/checker.png" type="Texture" id=3] | ||
[ext_resource path="res://assets/checker_normal.png" type="Texture" id=4] | ||
[ext_resource path="res://assets/NotoSansUI_Regular.ttf" type="DynamicFontData" id=5] | ||
|
||
[sub_resource type="GDScript" id=1] | ||
script/source = "extends Spatial | ||
|
||
|
||
var ap :AnimationPlayer | ||
|
||
|
||
func _ready(): | ||
ap = $character/AnimationPlayer | ||
ap.play(\"TPos\") | ||
|
||
$sun.shadow_enabled = true | ||
|
||
|
||
|
||
func _on_SpinBox_item_selected(id): | ||
if id == 1: | ||
ap.playback_speed = 1 | ||
$character/character/Skeleton/sword/sword.visible = true | ||
$character/character/Skeleton/foot_r/trail.visible = false | ||
$character/character/Skeleton/foot_l/trail.visible = false | ||
ap.play(\"Sword_loop\") | ||
elif id == 2: | ||
ap.playback_speed = 1 | ||
$character/character/Skeleton/sword/sword.visible = false | ||
$character/character/Skeleton/foot_r/trail.visible = true | ||
$character/character/Skeleton/foot_l/trail.visible = true | ||
ap.play(\"Capoeira_Flair_loop\") | ||
else: | ||
ap.playback_speed = 1 | ||
$character/character/Skeleton/sword/sword.visible = false | ||
$character/character/Skeleton/foot_r/trail.visible = false | ||
$character/character/Skeleton/foot_l/trail.visible = false | ||
ap.play(\"TPos\") | ||
|
||
|
||
|
||
func _on_back_btn_button_down(): | ||
get_tree().change_scene(\"res://Menu.tscn\") | ||
" | ||
[sub_resource type="DynamicFont" id=4] | ||
size = 18 | ||
use_mipmaps = true | ||
use_filter = true | ||
font_data = ExtResource( 5 ) | ||
[sub_resource type="SpatialMaterial" id=2] | ||
albedo_texture = ExtResource( 3 ) | ||
roughness = 0.9 | ||
roughness_texture = ExtResource( 2 ) | ||
normal_enabled = true | ||
normal_scale = 1.0 | ||
normal_texture = ExtResource( 4 ) | ||
uv1_triplanar = true | ||
[sub_resource type="PlaneMesh" id=3] | ||
size = Vector2( 100, 100 ) | ||
[node name="root" type="Spatial"] | ||
script = SubResource( 1 ) | ||
[node name="ui" type="Control" parent="."] | ||
anchor_right = 1.0 | ||
anchor_bottom = 1.0 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
[node name="back_btn" type="Button" parent="ui"] | ||
margin_left = 20.0 | ||
margin_top = 20.0 | ||
margin_right = 144.0 | ||
margin_bottom = 52.0 | ||
custom_fonts/font = SubResource( 4 ) | ||
text = "<- Back" | ||
__meta__ = { | ||
"_edit_use_anchors_": false, | ||
"_editor_description_": "" | ||
} | ||
[node name="gnd" type="MeshInstance" parent="."] | ||
material_override = SubResource( 2 ) | ||
mesh = SubResource( 3 ) | ||
material/0 = null | ||
[node name="character" parent="." instance=ExtResource( 1 )] | ||
[node name="SpinBox" type="OptionButton" parent="."] | ||
margin_left = 20.0 | ||
margin_top = 100.0 | ||
margin_right = 74.0 | ||
margin_bottom = 24.0 | ||
text = "T-Pos" | ||
items = [ "T-Pos", null, false, 0, null, "Sword", null, false, 1, null, "Capoeira Flair", null, false, 2, null ] | ||
selected = 0 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
[node name="sun" type="DirectionalLight" parent="."] | ||
transform = Transform( 1, 0, 0, 0, 0.819152, 0.573577, 0, -0.573577, 0.819152, 0, 0, 0 ) | ||
light_energy = 5.0 | ||
directional_shadow_mode = 0 | ||
directional_shadow_depth_range = 1 | ||
directional_shadow_max_distance = 32.0 | ||
[node name="Camera" type="Camera" parent="."] | ||
transform = Transform( 0.707107, 0.353553, -0.612372, 0, 0.866025, 0.5, 0.707107, -0.353553, 0.612372, -1.80367, 2.46431, 3.0144 ) | ||
visible = false | ||
[connection signal="button_down" from="ui/back_btn" to="." method="_on_back_btn_button_down"] | ||
[connection signal="item_selected" from="SpinBox" to="." method="_on_SpinBox_item_selected"] |
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/godot_trail.png-a1470f335d0a69edadcced018844d290.stex" | ||
metadata={ | ||
"vram_texture": false | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://godot_trail.png" | ||
dest_files=[ "res://.import/godot_trail.png-a1470f335d0a69edadcced018844d290.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 |
Oops, something went wrong.