-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
6a0a2ae
commit f60bfdc
Showing
683 changed files
with
189 additions
and
10,007 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,21 @@ | ||
extends State | ||
|
||
onready var king = get_tree().get_current_scene().get_node("King") | ||
|
||
|
||
|
||
|
||
|
||
|
||
func _physics_process(delta): | ||
#print("_pp: Idle") | ||
pass | ||
|
||
func _input(event): | ||
if event is InputEventMouseButton: | ||
if event.button_index == BUTTON_LEFT and event.pressed: | ||
print("Left button was clicked at ", event.position) | ||
switch_to("running") | ||
if event.button_index == BUTTON_WHEEL_UP and event.pressed: | ||
print("Wheel up") | ||
|
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,46 +1,20 @@ | ||
[gd_scene load_steps=8 format=2] | ||
[gd_scene load_steps=5 format=2] | ||
|
||
[ext_resource path="res://assets/Enchanted Forest Characters with animations.png" type="Texture" id=1] | ||
[ext_resource path="res://assets/Characters.png" type="Texture" id=2] | ||
[ext_resource path="res://assets/Fantasy RPG NPCs - Individuel Frames/Alchemist/Alchemist_Idle_1.png" type="Texture" id=3] | ||
[ext_resource path="res://assets/dungeontiles-extended v1.1/dungeontileset-extended-palette.png" type="Texture" id=4] | ||
[ext_resource path="res://assets/dungeontiles-extended v1.1/dungeontileset-extended.png" type="Texture" id=5] | ||
[ext_resource path="res://assets/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4.png" type="Texture" id=6] | ||
[ext_resource path="res://assets/Enchanted Forest - Individual Frames/Ranger/Ranger_Idle_1.png" type="Texture" id=7] | ||
[ext_resource path="res://Idle.gd" type="Script" id=1] | ||
[ext_resource path="res://Running.gd" type="Script" id=2] | ||
[ext_resource path="res://entites/King.tscn" type="PackedScene" id=3] | ||
[ext_resource path="res://lib/StateManager.gd" type="Script" id=8] | ||
|
||
[node name="MainScreen" type="Node2D"] | ||
|
||
[node name="Dungeontileset-extended" type="Sprite" parent="."] | ||
visible = false | ||
position = Vector2( 398, 578 ) | ||
texture = ExtResource( 5 ) | ||
[node name="King" parent="." instance=ExtResource( 3 )] | ||
position = Vector2( 194, 147 ) | ||
|
||
[node name="Characters" type="Sprite" parent="Dungeontileset-extended"] | ||
visible = false | ||
position = Vector2( 140, -156 ) | ||
texture = ExtResource( 2 ) | ||
[node name="StateManager" type="Node" parent="."] | ||
script = ExtResource( 8 ) | ||
|
||
[node name="EnchantedForestCharactersWithAnimations" type="Sprite" parent="Dungeontileset-extended"] | ||
visible = false | ||
position = Vector2( -198, -216 ) | ||
texture = ExtResource( 1 ) | ||
[node name="Idle" type="Node" parent="StateManager"] | ||
script = ExtResource( 1 ) | ||
|
||
[node name="0X72DungeonTilesetIiV14" type="Sprite" parent="."] | ||
visible = false | ||
position = Vector2( 353, 312 ) | ||
texture = ExtResource( 6 ) | ||
|
||
[node name="RangerIdle1" type="Sprite" parent="0X72DungeonTilesetIiV14"] | ||
visible = false | ||
position = Vector2( -269, 124 ) | ||
texture = ExtResource( 7 ) | ||
|
||
[node name="AlchemistIdle1" type="Sprite" parent="0X72DungeonTilesetIiV14"] | ||
visible = false | ||
position = Vector2( -277, 155 ) | ||
texture = ExtResource( 3 ) | ||
|
||
[node name="Dungeontileset-extended-palette" type="Sprite" parent="0X72DungeonTilesetIiV14"] | ||
visible = false | ||
position = Vector2( -161, 168 ) | ||
texture = ExtResource( 4 ) | ||
[node name="Running" type="Node" parent="StateManager"] | ||
script = ExtResource( 2 ) |
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,10 @@ | ||
extends State | ||
|
||
|
||
func _input(event): | ||
if event is InputEventMouseButton: | ||
if event.button_index == BUTTON_LEFT and event.pressed: | ||
print("Left button was clicked at ", event.position) | ||
switch_to("idle") | ||
if event.button_index == BUTTON_WHEEL_UP and event.pressed: | ||
print("Wheel up") |
Binary file removed
BIN
-6 KB
assets/0x72_DungeonTilesetII_v1.4/0x72_DungeonTilesetII_v1.4/.DS_Store
Binary file not shown.
Binary file removed
BIN
-312 Bytes
assets/0x72_DungeonTilesetII_v1.4/__MACOSX/._0x72_DungeonTilesetII_v1.4
Binary file not shown.
Binary file removed
BIN
-120 Bytes
assets/0x72_DungeonTilesetII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/._.DS_Store
Binary file not shown.
Binary file removed
BIN
-368 Bytes
...setII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/._0x72_DungeonTilesetII_v1.4.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...ilesetII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/._0x72_DungeonTilesetII_v1.4.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-212 Bytes
assets/0x72_DungeonTilesetII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/._frames
Binary file not shown.
Binary file removed
BIN
-312 Bytes
...II_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_idle_anim_f0.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...setII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_idle_anim_f0.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-312 Bytes
...II_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_idle_anim_f1.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...setII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_idle_anim_f1.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-312 Bytes
...II_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_idle_anim_f2.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...setII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_idle_anim_f2.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-312 Bytes
...II_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_idle_anim_f3.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...setII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_idle_anim_f3.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-312 Bytes
...tII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_run_anim_f0.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...esetII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_run_anim_f0.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-312 Bytes
...tII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_run_anim_f1.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...esetII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_run_anim_f1.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-312 Bytes
...tII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_run_anim_f2.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...esetII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_run_anim_f2.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-312 Bytes
...tII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_run_anim_f3.png
Binary file not shown.
30 changes: 0 additions & 30 deletions
30
...esetII_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_demon_run_anim_f3.png.import
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-312 Bytes
...I_v1.4/__MACOSX/0x72_DungeonTilesetII_v1.4/frames/._big_zombie_idle_anim_f0.png
Binary file not shown.
Oops, something went wrong.