generated from ApmeM/godot-template
-
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
13 changed files
with
154 additions
and
27 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,3 @@ | ||
public partial class Player { | ||
public static int PlayerNeutral = 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,31 +1,71 @@ | ||
[gd_scene load_steps=3 format=2] | ||
[gd_scene load_steps=5 format=2] | ||
|
||
[ext_resource path="res://Presentation/assets/Drone_sprite.png" type="Texture" id=1] | ||
[ext_resource path="res://Presentation/assets/Drone_neutral_sprite.png" type="Texture" id=1] | ||
[ext_resource path="res://Presentation/Drones.cs" type="Script" id=2] | ||
[ext_resource path="res://Presentation/assets/Drone_enemy_sprite.png" type="Texture" id=3] | ||
[ext_resource path="res://Presentation/assets/Drone_ally_sprite.png" type="Texture" id=4] | ||
|
||
[node name="Planet" type="Node2D"] | ||
script = ExtResource( 2 ) | ||
|
||
[node name="PlanetSprite" type="Sprite" parent="." groups=["MinimapElement"]] | ||
[node name="DronesCountLabel" type="Label" parent="."] | ||
margin_left = -23.0 | ||
margin_top = -23.0 | ||
margin_right = 23.0 | ||
margin_bottom = 23.0 | ||
text = "0" | ||
align = 1 | ||
valign = 1 | ||
|
||
[node name="NodeNeutral" type="Node2D" parent="."] | ||
|
||
[node name="DroneNeutral1" type="Sprite" parent="NodeNeutral"] | ||
position = Vector2( -5, -2 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 1 ) | ||
|
||
[node name="PlanetSprite2" type="Sprite" parent="." groups=["MinimapElement"]] | ||
[node name="DroneNeutral2" type="Sprite" parent="NodeNeutral"] | ||
position = Vector2( 6, 6 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 1 ) | ||
|
||
[node name="PlanetSprite3" type="Sprite" parent="." groups=["MinimapElement"]] | ||
[node name="DroneNeutral3" type="Sprite" parent="NodeNeutral"] | ||
position = Vector2( 6, -8 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 1 ) | ||
|
||
[node name="DronesCountLabel" type="Label" parent="."] | ||
margin_left = -23.0 | ||
margin_top = -23.0 | ||
margin_right = 23.0 | ||
margin_bottom = 23.0 | ||
text = "0" | ||
align = 1 | ||
valign = 1 | ||
[node name="NodeEnemy" type="Node2D" parent="."] | ||
visible = false | ||
|
||
[node name="DroneEnemy1" type="Sprite" parent="NodeEnemy"] | ||
position = Vector2( -5, -2 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 3 ) | ||
|
||
[node name="DroneEnemy2" type="Sprite" parent="NodeEnemy"] | ||
position = Vector2( 6, 6 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 3 ) | ||
|
||
[node name="DroneEnemy3" type="Sprite" parent="NodeEnemy"] | ||
position = Vector2( 6, -8 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 3 ) | ||
|
||
[node name="NodeAlly" type="Node2D" parent="."] | ||
visible = false | ||
|
||
[node name="DroneAlly1" type="Sprite" parent="NodeAlly"] | ||
position = Vector2( -5, -2 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 4 ) | ||
|
||
[node name="DroneAlly2" type="Sprite" parent="NodeAlly"] | ||
position = Vector2( 6, 6 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 4 ) | ||
|
||
[node name="DroneAlly3" type="Sprite" parent="NodeAlly"] | ||
position = Vector2( 6, -8 ) | ||
scale = Vector2( 0.3, 0.3 ) | ||
texture = ExtResource( 4 ) |
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
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,19 +1,29 @@ | ||
[gd_scene load_steps=3 format=2] | ||
[gd_scene load_steps=5 format=2] | ||
|
||
[ext_resource path="res://Presentation/assets/Example_sprite.png" type="Texture" id=1] | ||
[ext_resource path="res://Presentation/assets/Planet_neutral_sprite.png" type="Texture" id=1] | ||
[ext_resource path="res://Presentation/Planet.cs" type="Script" id=2] | ||
[ext_resource path="res://Presentation/assets/Planet_ally_sprite.png" type="Texture" id=3] | ||
[ext_resource path="res://Presentation/assets/Planet_enemy_sprite.png" type="Texture" id=4] | ||
|
||
[node name="Planet" type="Node2D"] | ||
script = ExtResource( 2 ) | ||
|
||
[node name="PlanetSprite" type="Sprite" parent="." groups=["MinimapElement"]] | ||
[node name="PlanetNeutralSprite" type="Sprite" parent="."] | ||
texture = ExtResource( 1 ) | ||
|
||
[node name="PlanetEnemySprite" type="Sprite" parent="."] | ||
visible = false | ||
texture = ExtResource( 4 ) | ||
|
||
[node name="PlanetAllySprite" type="Sprite" parent="."] | ||
visible = false | ||
texture = ExtResource( 3 ) | ||
|
||
[node name="DronesCountLabel" type="Label" parent="."] | ||
margin_left = -23.0 | ||
margin_top = -23.0 | ||
margin_right = 23.0 | ||
margin_bottom = 23.0 | ||
text = "1" | ||
text = "0" | ||
align = 1 | ||
valign = 1 |
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.
File renamed without changes
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.
File renamed without changes