-
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
0 parents
commit 9e2f522
Showing
66 changed files
with
2,445 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
_build | ||
*.import |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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,6 @@ | ||
# CirclEvade | ||
|
||
Endless Game, Play as a Circle and Evade the Boxes. Under Development | ||
|
||
<hr> | ||
Submission for SG Game Jam 2022. |
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,102 @@ | ||
[gd_scene load_steps=7 format=2] | ||
|
||
[ext_resource path="res://Assets/light.png" type="Texture" id=1] | ||
[ext_resource path="res://Assets/play_button.png" type="Texture" id=2] | ||
[ext_resource path="res://Scripts/Bonus.gd" type="Script" id=3] | ||
|
||
[sub_resource type="CanvasItemMaterial" id=3] | ||
|
||
[sub_resource type="Animation" id=1] | ||
length = 0.001 | ||
tracks/0/type = "value" | ||
tracks/0/path = NodePath("Star:rotation_degrees") | ||
tracks/0/interp = 1 | ||
tracks/0/loop_wrap = true | ||
tracks/0/imported = false | ||
tracks/0/enabled = true | ||
tracks/0/keys = { | ||
"times": PoolRealArray( 0 ), | ||
"transitions": PoolRealArray( 1 ), | ||
"update": 0, | ||
"values": [ 0.0 ] | ||
} | ||
tracks/1/type = "value" | ||
tracks/1/path = NodePath("Star:scale") | ||
tracks/1/interp = 1 | ||
tracks/1/loop_wrap = true | ||
tracks/1/imported = false | ||
tracks/1/enabled = true | ||
tracks/1/keys = { | ||
"times": PoolRealArray( 0 ), | ||
"transitions": PoolRealArray( 1 ), | ||
"update": 0, | ||
"values": [ Vector2( 1, 1 ) ] | ||
} | ||
|
||
[sub_resource type="Animation" id=2] | ||
resource_name = "Spin" | ||
length = 0.6 | ||
loop = true | ||
tracks/0/type = "value" | ||
tracks/0/path = NodePath("Star:scale") | ||
tracks/0/interp = 1 | ||
tracks/0/loop_wrap = true | ||
tracks/0/imported = false | ||
tracks/0/enabled = true | ||
tracks/0/keys = { | ||
"times": PoolRealArray( 0, 0.1, 0.2, 0.3, 0.4, 0.5 ), | ||
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1 ), | ||
"update": 0, | ||
"values": [ Vector2( 1, 1 ), Vector2( 0.8, 1 ), Vector2( 0.6, 1 ), Vector2( 0.5, 0.5 ), Vector2( 0.6, 1 ), Vector2( 0.8, 1 ) ] | ||
} | ||
|
||
[node name="Bonus" type="Area2D"] | ||
material = SubResource( 3 ) | ||
script = ExtResource( 3 ) | ||
|
||
[node name="Star" type="Node2D" parent="."] | ||
scale = Vector2( 1, 1 ) | ||
|
||
[node name="Right" type="Sprite" parent="Star"] | ||
position = Vector2( 37, -11 ) | ||
scale = Vector2( 1.1875, 0.6875 ) | ||
texture = ExtResource( 2 ) | ||
offset = Vector2( 9.26316, 16 ) | ||
|
||
[node name="Left" type="Sprite" parent="Star"] | ||
position = Vector2( -48, 0 ) | ||
rotation = 3.14159 | ||
scale = Vector2( 1.188, -0.688 ) | ||
texture = ExtResource( 2 ) | ||
|
||
[node name="Bottom" type="Sprite" parent="Star"] | ||
position = Vector2( 50, 52 ) | ||
rotation = 1.5708 | ||
scale = Vector2( 1.42602, 0.6875 ) | ||
texture = ExtResource( 2 ) | ||
offset = Vector2( 0.263161, 72.2729 ) | ||
|
||
[node name="Top" type="Sprite" parent="Star"] | ||
position = Vector2( -11, -35.6991 ) | ||
rotation = -1.5708 | ||
scale = Vector2( 1.46812, 0.6875 ) | ||
texture = ExtResource( 2 ) | ||
offset = Vector2( 9.26316, 16 ) | ||
|
||
[node name="Light2D" type="Light2D" parent="."] | ||
texture = ExtResource( 1 ) | ||
color = Color( 0.788235, 0.658824, 0.0627451, 1 ) | ||
|
||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."] | ||
polygon = PoolVector2Array( -20, -25, 0, -105, 20, -25, 95, 0, 20, 30, 0, 110, -20, 25, -95, 0 ) | ||
|
||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] | ||
anims/RESET = SubResource( 1 ) | ||
anims/Spin = SubResource( 2 ) | ||
|
||
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."] | ||
position = Vector2( -4, -1.25 ) | ||
scale = Vector2( 8.9, 10.825 ) | ||
|
||
[connection signal="area_entered" from="." to="." method="_on_Bonus_area_entered"] | ||
[connection signal="viewport_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_viewport_exited"] |
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,43 @@ | ||
[gd_scene load_steps=7 format=2] | ||
|
||
[ext_resource path="res://Assets/square.png" type="Texture" id=1] | ||
[ext_resource path="res://Scripts/Enemy.gd" type="Script" id=2] | ||
[ext_resource path="res://Assets/light.png" type="Texture" id=3] | ||
|
||
[sub_resource type="PhysicsMaterial" id=3] | ||
friction = 0.0 | ||
|
||
[sub_resource type="RectangleShape2D" id=1] | ||
extents = Vector2( 24, 24 ) | ||
|
||
[sub_resource type="OccluderPolygon2D" id=2] | ||
polygon = PoolVector2Array( -24, -24, -24, 24, 24, 24, 24, -24 ) | ||
|
||
[node name="Enemy" type="RigidBody2D"] | ||
physics_material_override = SubResource( 3 ) | ||
gravity_scale = 0.0 | ||
linear_damp = 0.0 | ||
angular_damp = 0.0 | ||
script = ExtResource( 2 ) | ||
|
||
[node name="Sprite" type="Sprite" parent="."] | ||
modulate = Color( 0, 0, 0, 1 ) | ||
texture = ExtResource( 1 ) | ||
|
||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] | ||
shape = SubResource( 1 ) | ||
|
||
[node name="LightOccluder2D" type="LightOccluder2D" parent="."] | ||
occluder = SubResource( 2 ) | ||
|
||
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."] | ||
scale = Vector2( 2.4, 2.4 ) | ||
|
||
[node name="Light2D" type="Light2D" parent="."] | ||
texture = ExtResource( 3 ) | ||
texture_scale = 0.5 | ||
color = Color( 0, 0, 0, 1 ) | ||
energy = 0.5 | ||
mode = 2 | ||
|
||
[connection signal="screen_exited" from="VisibilityNotifier2D" to="." method="_on_VisibilityNotifier2D_screen_exited"] |
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,49 @@ | ||
[gd_scene load_steps=9 format=2] | ||
|
||
[ext_resource path="res://Assets/circle.png" type="Texture" id=1] | ||
[ext_resource path="res://Scripts/Player.gd" type="Script" id=2] | ||
[ext_resource path="res://Assets/light.png" type="Texture" id=3] | ||
[ext_resource path="res://Scenes/Effects/Trail.tscn" type="PackedScene" id=4] | ||
[ext_resource path="res://Assets/Sounds/rebound.wav" type="AudioStream" id=5] | ||
[ext_resource path="res://Assets/Sounds/point.wav" type="AudioStream" id=6] | ||
[ext_resource path="res://Assets/Sounds/explode.wav" type="AudioStream" id=7] | ||
|
||
[sub_resource type="CircleShape2D" id=1] | ||
radius = 27.0 | ||
|
||
[node name="Player" type="Area2D"] | ||
position = Vector2( 288, 512 ) | ||
collision_mask = 15 | ||
script = ExtResource( 2 ) | ||
|
||
[node name="Sprite" type="Sprite" parent="."] | ||
position = Vector2( 0, 3 ) | ||
texture = ExtResource( 1 ) | ||
|
||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."] | ||
position = Vector2( 0, 3 ) | ||
shape = SubResource( 1 ) | ||
|
||
[node name="Light2D" type="Light2D" parent="."] | ||
position = Vector2( 0, 3 ) | ||
texture = ExtResource( 3 ) | ||
shadow_enabled = true | ||
shadow_gradient_length = 1.0 | ||
shadow_filter = 2 | ||
shadow_filter_smooth = 20.0 | ||
|
||
[node name="Trail" parent="." instance=ExtResource( 4 )] | ||
|
||
[node name="TurnSound" type="AudioStreamPlayer" parent="."] | ||
stream = ExtResource( 5 ) | ||
|
||
[node name="PointSound" type="AudioStreamPlayer" parent="."] | ||
stream = ExtResource( 6 ) | ||
volume_db = 5.0 | ||
|
||
[node name="DeathSound" type="AudioStreamPlayer" parent="."] | ||
stream = ExtResource( 7 ) | ||
volume_db = -10.0 | ||
|
||
[connection signal="area_entered" from="." to="." method="_on_Player_area_entered"] | ||
[connection signal="body_entered" from="." to="." method="_on_Player_body_entered"] |
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,58 @@ | ||
[gd_scene load_steps=14 format=2] | ||
|
||
[ext_resource path="res://Scripts/Background.gd" type="Script" id=1] | ||
[ext_resource path="res://Scripts/CirclePlayer.gd" type="Script" id=2] | ||
[ext_resource path="res://Scenes/HUD.tscn" type="PackedScene" id=3] | ||
[ext_resource path="res://Scripts/CircleSpin.gd" type="Script" id=4] | ||
[ext_resource path="res://Scenes/Characters/Player.tscn" type="PackedScene" id=5] | ||
[ext_resource path="res://Scenes/Effects/BonusEffect.tscn" type="PackedScene" id=6] | ||
[ext_resource path="res://Scenes/Timers.tscn" type="PackedScene" id=7] | ||
[ext_resource path="res://Assets/Sounds/new_best.wav" type="AudioStream" id=8] | ||
[ext_resource path="res://Assets/Background.jpg" type="Texture" id=10] | ||
[ext_resource path="res://Scenes/Characters/Enemy.tscn" type="PackedScene" id=11] | ||
[ext_resource path="res://Scenes/Effects/DarkExplosion.tscn" type="PackedScene" id=13] | ||
[ext_resource path="res://Scenes/Characters/Bonus.tscn" type="PackedScene" id=14] | ||
|
||
[sub_resource type="Curve2D" id=1] | ||
_data = { | ||
"points": PoolVector2Array( 0, 0, 0, 0, 61, 1079, 0, 0, 0, 0, 603, 1086, 0, 0, 0, 0, 695, 1073, 0, 0, 0, 0, 61, 1079 ) | ||
} | ||
|
||
[node name="CircleSpin" type="Node2D"] | ||
script = ExtResource( 4 ) | ||
enemy_scene = ExtResource( 11 ) | ||
bonus_scene = ExtResource( 14 ) | ||
enemy_explosion = ExtResource( 13 ) | ||
bonus_explosion = ExtResource( 6 ) | ||
|
||
[node name="Background" type="Node2D" parent="."] | ||
script = ExtResource( 1 ) | ||
|
||
[node name="CanvasModulate" type="CanvasModulate" parent="Background"] | ||
color = Color( 0.278431, 0.211765, 0.211765, 1 ) | ||
|
||
[node name="Background" type="Sprite" parent="Background"] | ||
modulate = Color( 0.32549, 0.341176, 0.823529, 1 ) | ||
position = Vector2( 288, 512 ) | ||
scale = Vector2( 0.411429, 0.411576 ) | ||
texture = ExtResource( 10 ) | ||
|
||
[node name="HUD" parent="." instance=ExtResource( 3 )] | ||
|
||
[node name="Timers" parent="." instance=ExtResource( 7 )] | ||
|
||
[node name="Circle Player" type="Node" parent="."] | ||
script = ExtResource( 2 ) | ||
|
||
[node name="Player" parent="Circle Player" instance=ExtResource( 5 )] | ||
|
||
[node name="EnemSpawnPath" type="Path2D" parent="."] | ||
position = Vector2( -27, 2 ) | ||
curve = SubResource( 1 ) | ||
|
||
[node name="EnemSpawnLocation" type="PathFollow2D" parent="EnemSpawnPath"] | ||
position = Vector2( 61, 1079 ) | ||
rotation = 0.0129147 | ||
|
||
[node name="NewBest" type="AudioStreamPlayer" parent="."] | ||
stream = ExtResource( 8 ) |
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,50 @@ | ||
[gd_scene load_steps=7 format=2] | ||
|
||
[ext_resource path="res://Assets/Star.png" type="Texture" id=1] | ||
[ext_resource path="res://Scripts/BonusEffect.gd" type="Script" id=2] | ||
|
||
[sub_resource type="CanvasItemMaterial" id=1] | ||
blend_mode = 1 | ||
particles_animation = true | ||
particles_anim_h_frames = 1 | ||
particles_anim_v_frames = 1 | ||
particles_anim_loop = false | ||
|
||
[sub_resource type="Gradient" id=2] | ||
colors = PoolColorArray( 1, 1, 1, 1, 1, 1, 1, 0 ) | ||
|
||
[sub_resource type="GradientTexture" id=3] | ||
gradient = SubResource( 2 ) | ||
width = 50 | ||
|
||
[sub_resource type="ParticlesMaterial" id=4] | ||
lifetime_randomness = 1.0 | ||
flag_disable_z = true | ||
direction = Vector3( 0, -1, 0 ) | ||
spread = 90.0 | ||
gravity = Vector3( 0, 0, 0 ) | ||
initial_velocity = 1000.0 | ||
initial_velocity_random = 1.0 | ||
orbit_velocity = 0.0 | ||
orbit_velocity_random = 0.0 | ||
color = Color( 1, 0.882353, 0.0784314, 1 ) | ||
color_ramp = SubResource( 3 ) | ||
hue_variation = -0.01 | ||
hue_variation_random = 1.0 | ||
|
||
[node name="Explosion" type="Particles2D"] | ||
modulate = Color( 0.87451, 0.854902, 0.278431, 1 ) | ||
material = SubResource( 1 ) | ||
scale = Vector2( 0.2, 0.2 ) | ||
lifetime = 1.5 | ||
explosiveness = 1.0 | ||
process_material = SubResource( 4 ) | ||
texture = ExtResource( 1 ) | ||
script = ExtResource( 2 ) | ||
|
||
[node name="Timer" type="Timer" parent="."] | ||
wait_time = 1.5 | ||
one_shot = true | ||
autostart = true | ||
|
||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] |
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,37 @@ | ||
[gd_scene load_steps=5 format=2] | ||
|
||
[ext_resource path="res://Assets/square.png" type="Texture" id=1] | ||
[ext_resource path="res://Scripts/DarkExplosion.gd" type="Script" id=2] | ||
|
||
[sub_resource type="CanvasItemMaterial" id=5] | ||
|
||
[sub_resource type="ParticlesMaterial" id=4] | ||
lifetime_randomness = 1.0 | ||
flag_disable_z = true | ||
direction = Vector3( 0, 0, 0 ) | ||
spread = 180.0 | ||
flatness = 1.0 | ||
gravity = Vector3( 0, 0, 0 ) | ||
initial_velocity = 1000.0 | ||
initial_velocity_random = 0.76 | ||
orbit_velocity = 0.0 | ||
orbit_velocity_random = 0.0 | ||
color = Color( 0, 0, 0, 1 ) | ||
|
||
[node name="Boxplode" type="Particles2D"] | ||
material = SubResource( 5 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
amount = 30 | ||
lifetime = 1.5 | ||
explosiveness = 1.0 | ||
randomness = 1.0 | ||
process_material = SubResource( 4 ) | ||
texture = ExtResource( 1 ) | ||
script = ExtResource( 2 ) | ||
|
||
[node name="Timer" type="Timer" parent="."] | ||
wait_time = 1.5 | ||
one_shot = true | ||
autostart = true | ||
|
||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] |
Oops, something went wrong.