-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/guluc3m/morgana
- Loading branch information
Showing
17 changed files
with
237 additions
and
54 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,22 @@ | ||
[gd_resource type="SpriteFrames" load_steps=3 format=2] | ||
|
||
[ext_resource path="res://assets/prototipos/enemigos/enemy_slime_fire.png" type="Texture" id=1] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/skelet_idle_anim_f2.png" type="Texture" id=2] | ||
|
||
[resource] | ||
animations = [ { | ||
"frames": [ ExtResource( 1 ) ], | ||
"loop": true, | ||
"name": "idle", | ||
"speed": 4.0 | ||
}, { | ||
"frames": [ ExtResource( 2 ) ], | ||
"loop": false, | ||
"name": "dead", | ||
"speed": 5.0 | ||
}, { | ||
"frames": [ ExtResource( 1 ) ], | ||
"loop": false, | ||
"name": "attack", | ||
"speed": 5.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,22 @@ | ||
[gd_resource type="SpriteFrames" load_steps=3 format=2] | ||
|
||
[ext_resource path="res://assets/prototipos/enemigos/enemy_slime_normal.png" type="Texture" id=1] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/skelet_idle_anim_f2.png" type="Texture" id=2] | ||
|
||
[resource] | ||
animations = [ { | ||
"frames": [ ExtResource( 1 ) ], | ||
"loop": true, | ||
"name": "idle", | ||
"speed": 4.0 | ||
}, { | ||
"frames": [ ExtResource( 2 ) ], | ||
"loop": false, | ||
"name": "dead", | ||
"speed": 5.0 | ||
}, { | ||
"frames": [ ExtResource( 1 ) ], | ||
"loop": false, | ||
"name": "attack", | ||
"speed": 5.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,31 @@ | ||
[gd_resource type="SpriteFrames" load_steps=12 format=2] | ||
|
||
[ext_resource path="res://assets/prototipos/characters_sprites/swampy_idle_anim_f1.png" type="Texture" id=1] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/swampy_idle_anim_f3.png" type="Texture" id=2] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/skelet_idle_anim_f1.png" type="Texture" id=3] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/skelet_idle_anim_f0.png" type="Texture" id=4] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/skelet_idle_anim_f2.png" type="Texture" id=5] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/swampy_idle_anim_f2.png" type="Texture" id=6] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/swampy_idle_anim_f0.png" type="Texture" id=7] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/swampy_run_anim_f0.png" type="Texture" id=8] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/swampy_run_anim_f2.png" type="Texture" id=9] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/swampy_run_anim_f3.png" type="Texture" id=10] | ||
[ext_resource path="res://assets/prototipos/characters_sprites/swampy_run_anim_f1.png" type="Texture" id=11] | ||
|
||
[resource] | ||
animations = [ { | ||
"frames": [ ExtResource( 7 ), ExtResource( 1 ), ExtResource( 6 ), ExtResource( 2 ), ExtResource( 8 ), ExtResource( 11 ), ExtResource( 9 ), ExtResource( 10 ) ], | ||
"loop": true, | ||
"name": "idle", | ||
"speed": 4.0 | ||
}, { | ||
"frames": [ ExtResource( 4 ), ExtResource( 3 ), ExtResource( 5 ) ], | ||
"loop": false, | ||
"name": "dead", | ||
"speed": 5.0 | ||
}, { | ||
"frames": [ ExtResource( 9 ), null, ExtResource( 9 ), null, ExtResource( 9 ) ], | ||
"loop": false, | ||
"name": "attack", | ||
"speed": 5.0 | ||
} ] |
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.
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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
class_name Inventory | ||
extends Object | ||
""" | ||
Esta clase está destinada a ser la estructura de datos que gestione | ||
los ITEMS que posee el jugador en su inventario. | ||
""" | ||
|
||
var _items = [] | ||
# Deberíamos cambiarlo a un diccionario donde se guarden los objetos usando su referencia y el número de unidades | ||
|
||
func _init(): | ||
print("jajaja") | ||
|
||
func add_item(item): | ||
_items.append(item) | ||
|
||
func remove_item(item): | ||
_items.remove(item) | ||
|
||
func get_item(item_type): | ||
print("get_item IS NOT IMPLEMENTED") | ||
|
||
func get_items(): | ||
return _items.duplicate() |
Oops, something went wrong.