fix: created turno_cocina_peso_usado, fixes #58

This commit is contained in:
2024-08-23 16:19:13 +02:00
parent 4a27efa9a8
commit 5c7d3e7f3f
5 changed files with 280 additions and 65 deletions

View File

@@ -1,67 +1,9 @@
# Escoria Demo Game
# Las Gymkhanikas de Uli
![](https://raw.githubusercontent.com/godot-escoria/.github/main/design/escoria-logo-small.png)
Point-and-click adventure game developed using Escoria framework and Godot engine.
[![Join our Discord](https://img.shields.io/discord/884336424780984330.svg?label=Join%20our%20Discord&logo=Discord&colorB=7289da&style=for-the-badge)](https://discord.com/invite/jMxJjuBY5Z)
## Building from source
Libre framework for the creation of point-and-click adventure games with the multi-platform game engine [Godot Engine](https://godotengine.org).
Check out the [Escoria documentation](https://docs.escoria-framework.org), especially the Getting Started Guide for further details.
If you want to contribute to the development of Escoria, please read our [Contribution guidelines](https://github.com/godot-escoria/.github/blob/main/CONTRIBUTING.md).
This is the demo game that acts as a testing ground for future Escoria development and a general showcase of its features.
## Art credits
- Ripper paper texture [Image by starline](https://www.freepik.com/free-vector/three-long-piece-torn-papers-transparent-background_8563073.htm#query=ripped%20paper%20texture&position=0&from_view=keyword&track=ais) on Freepik
- blank-white-notepaper-design texture [Image by rawpixel.com](https://www.freepik.com/free-vector/blank-white-notepaper-design_16397306.htm#query=notebook%20texture&position=0&from_view=keyword&track=ais) on Freepik
### Characters
- Mark spritesheet by Marco Giorgini - marcogiorgini.com
Licence : CC0 Licence
https://opengameart.org/content/mark-2d-adventure-game-sprite
with some additions (talk animations) by Julian Murgia
- Worker spritesheet based on Mark spritesheet by Marco Giorgini - marcogiorgini.com
Licence: CC0 Licence
edited by Julian Murgia
### Items
* Generic items by Kenney
* Animal pack redux by Kenney
Licence: CC0 Licence
https://www.kenney.nl/assets/generic-items
## Sound credits
* Concrete footstep
Licence: CC0 Licence
https://www.kenney.nl/
* “Game Menu Looping” (Licence CC-BY 4.0)
* “Mystical Ocean Puzzle Game” (Licence CC-BY 4.0)
by Eric Matyas
www.soundimage.org
## Cursors
* Pointers part 4 by "yd"
Licence: CC0 Licence
https://opengameart.org/content/pointers-part-4x
edited by Julian Murgia
## Font
These fonts are provided as an example. Please mind checking the licence before redistributing with your game.
- Caslon Antique
https://www.1001fonts.com/caslon-antique-font.html#license
Licence: Free for personal use - Free for commercial use
This is the font used in LucasArt's game Curse of Monkey Island.
- Onesize
https://www.whatfontis.com/Onesize.font
Licence: Free for personal use
This is the font used in LucasArt's games The Secret of Monkey Island and Monkey Island 2: Lechuck's Revenge.
1) Clone `gymkhana` repo
2) Clone `escoria-save-game` repo (develop branch)
3) Create `gymkhana/addons/escoria-core` symlink pointing to `escoria-demo-game/addons/escoria-core`

View File

@@ -0,0 +1,5 @@
:action3
say player "Este es el peso gracias al cual pesé las lentejas justas que necesitaba."
say player "Me trae grandes recuerdos."
say player "Poniéndole un bol encima conseguí un objeto para pesar ingredientes."
say player "Fue la primera vez que combiné objetos del inventario, que tiempos aquellos."

View File

@@ -0,0 +1,25 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://addons/escoria-ui-return-monkey-island/esc_item_with_tooltip.gd" type="Script" id=1]
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_peso.png" type="Texture" id=2]
[ext_resource path="res://gymkhana/items/inventory/assets/turno_cocina_peso_inventario.png" type="Texture" id=3]
[node name="turno_cocina_peso_usado" type="Area2D"]
pause_mode = 1
script = ExtResource( 1 )
global_id = "turno_cocina_peso_usado"
esc_script = "res://gymkhana/items/inventory/turno_cocina_peso_usado.esc"
inventory_texture = ExtResource( 3 )
dialog_color = Color( 1, 1, 1, 1 )
custom_data = {
"tooltips": {
"action3": "Mirar"
}
}
animations = null
[node name="Sprite" type="Sprite" parent="."]
rotation = -0.0698132
scale = Vector2( 0.18, 0.18 )
texture = ExtResource( 2 )

View File

@@ -13,4 +13,4 @@
say player "Con esto suficiente."
inventory_remove turno_cocina_peso_bol
inventory_add turno_cocina_bol_lentejas
inventory_add turno_cocina_peso
inventory_add turno_cocina_peso_usado

243
saves/save_001.tres Normal file
View File

@@ -0,0 +1,243 @@
[gd_resource type="Resource" load_steps=2 format=2]
[ext_resource path="res://addons/escoria-core/game/core-scripts/save_data/esc_savegame.gd" type="Script" id=1]
[resource]
script = ExtResource( 1 )
escoria_version = "1.0.0"
game_version = "0.1.0"
name = "Post-intro"
date = {
"day": 23,
"dst": true,
"hour": 12,
"minute": 43,
"month": 8,
"second": 14,
"weekday": 5,
"year": 2024
}
main = {
"current_scene_filename": "res://gymkhana/rooms/turno_cocina/cocina_delante/cocina_delante.tscn",
"last_scene_global_id": "cocina_delante"
}
globals = {
"ESC_CURRENT_SCENE": "cocina_delante",
"ESC_DIALOG_CHOSEN_OPTION": "¿Que te parece que haga la comida?",
"ESC_LAST_SCENE": "cocina",
"FORCE_LAST_SCENE_NULL": false,
"cocina_delante_intro_played": true,
"cocina_intro_played": true,
"intro_dialog2_playing": false,
"new_game": true,
"turno_cocina_eneko_catando": false,
"turno_cocina_ingrediente_ajo_en_lentejas": false,
"turno_cocina_ingrediente_lentejas": false,
"turno_cocina_ingrediente_patatas": false,
"turno_cocina_ingrediente_romero": false,
"turno_cocina_libro_leido_count": 0
}
inventory = [ "turno_cocina_frontal", "turno_cocina_libro_de_cocina" ]
objects = {
"_music": {
"active": true,
"interactive": true,
"playback_position": 9.75075,
"state": "res://gymkhana/sounds/music_loop.ogg"
},
"_sound": {
"active": true,
"interactive": true,
"playback_position": 4.62113,
"state": "default"
},
"_speech": {
"active": true,
"interactive": true,
"state": "default"
},
"cocina_delante": {
"_camera": {
"active": true,
"interactive": true,
"state": "default",
"target": "player"
},
"cocina_delante_pegatinas": {
"active": true,
"custom_data": {
"tooltips": {
"action1": "cocina_delante_pegatinas_action1",
"action2": "cocina_delante_pegatinas_action2"
}
},
"interactive": true,
"state": "default"
},
"cocina_delante_puerta_cocina": {
"active": true,
"custom_data": {
"tooltips": {
"action1": "cocina_delante_puerta_cocina_action1"
}
},
"interactive": true,
"state": "default"
},
"cocina_delante_puerta_despensa": {
"active": true,
"custom_data": {
"tooltips": {
"action1": "cocina_delante_puerta_despensa_action1"
}
},
"interactive": true,
"state": "default"
},
"cocina_delante_puerta_detras": {
"active": true,
"custom_data": {
"tooltips": {
"action1": "cocina_delante_puerta_detras_action1"
}
},
"interactive": true,
"state": "default"
},
"eneko_smoking": {
"active": true,
"custom_data": {
"tooltips": {
"action1": "cocina_delante_eneko_smoking_action1",
"action2": "cocina_delante_eneko_smoking_action2"
}
},
"global_transform": Transform2D( 1.23314, 0, 0, 1.23314, 813, 440 ),
"interactive": true,
"last_deg": 271,
"last_dir": 0,
"state": "speak"
},
"new_game_start_location": {
"active": true,
"interactive": true,
"state": "default"
},
"player": {
"active": true,
"custom_data": {
},
"global_transform": Transform2D( 0.971569, 0, 0, 0.971569, 758.729, 541.12 ),
"interactive": false,
"last_deg": 71,
"last_dir": 4,
"state": "speak_down"
},
"puerta_cocina_start": {
"active": true,
"interactive": true,
"state": "default"
},
"puerta_despensa_start": {
"active": true,
"interactive": true,
"state": "default"
},
"puerta_detras_start": {
"active": true,
"interactive": true,
"state": "default"
},
"turno_cocina_ajo": {
"active": false,
"custom_data": {
"tooltips": {
"action1": "Coger ajo",
"action3": "Mirar",
"action4": "Usar"
}
},
"interactive": true,
"state": "default"
},
"turno_cocina_carton": {
"active": true,
"custom_data": {
"tooltips": {
"action1": "Mirar",
"action2": "Coger",
"action3": "Mirar",
"action4": "Usar"
}
},
"interactive": true,
"state": "default"
},
"turno_cocina_frontal": {
"active": true,
"custom_data": {
"tooltips": {
"action3": "frontal_action3",
"action4": "Usar"
}
},
"interactive": true,
"state": "default"
},
"turno_cocina_libro_de_cocina": {
"active": false,
"custom_data": {
"tooltips": {
"action1": "Mirar",
"action2": "Coger",
"action3": "Leer"
}
},
"interactive": true,
"state": "default"
},
"turno_cocina_madera": {
"active": true,
"custom_data": {
"tooltips": {
"action1": "cocina_delante_madera_action1",
"action2": "cocina_delante_madera_action2",
"action3": "cocina_delante_madera_action3",
"action4": "cocina_delante_madera_action4"
}
},
"interactive": true,
"state": "default"
}
}
}
events = {
"events_queue": {
"_front": [ ],
"intro_dialog2_channel": [ ],
"intro_dialog_channel": [ ]
},
"sched_events": [ ]
}
terrain_navpolys = {
"cocina_delante": {
"NavigationPolygonInstance": true
}
}
settings = {
"custom_settings": {
"a_custom_setting": 100
},
"escoria_version": "1.0.0",
"fullscreen": false,
"master_volume": 0.391,
"music_volume": 0.649,
"sfx_volume": 1.0,
"speech_enabled": true,
"speech_volume": 1.0,
"text_lang": "es",
"voice_lang": "fr_FR"
}
custom_data = {
"ui_type": "rtmi-ui"
}