Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR para release 1.0.8 #11

Merged
merged 102 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
b9745f8
QoLs listado de movs dex avanzada
dpertierra May 12, 2024
894e746
Fix agregar cargas al pokevial cuando no está vacio
dpertierra May 25, 2024
ab10f7b
Update readme, fix pokevial
dpertierra May 25, 2024
642a6e5
Merge pull request #1 from SkyFangames/main
dpertierra Jun 3, 2024
04924b8
Agrega validacion para la constante System::VERSION
dpertierra Jun 4, 2024
cc01c2d
Merge pull request #2 from SkyFangames/main
dpertierra Jun 9, 2024
56c5a46
Agrega metodos de evolucion
dpertierra Jun 19, 2024
e742dd2
Update README.md
dpertierra Jun 19, 2024
40afb00
Update README.md
dpertierra Jun 19, 2024
4e80e5a
Arreglo ortográfico
SkyFangames Jun 30, 2024
658438a
Fix en el pokevial el método de recharge_vial no detectaba bien que t…
dpertierra Jul 1, 2024
a3ac417
Fix pokevial
dpertierra Jul 1, 2024
fbe8065
Error de mayúscula
SkyFangames Jul 2, 2024
6c790d4
Merge branch 'dev' of https://github.com/SkyFangames/La-Base-de-Sky i…
SkyFangames Jul 2, 2024
c04984d
Corrección flag Pecharunt
SkyFangames Jul 2, 2024
ca89079
Overworld de Gossifleur, sprite de greninja y traducción
SkyFangames Jul 8, 2024
8f3b457
Mini bugs de código y textos.
SkyFangames Jul 10, 2024
cdb8474
Corrección ortográfica y de errores del turbo
SkyFangames Jul 12, 2024
06ea8e2
Arreglo OW zigzagoo galar
SkyFangames Jul 15, 2024
ee90dca
Arreglos de espacios
dpertierra Jul 16, 2024
e8cda2d
Arreglo smoliv OW
SkyFangames Jul 17, 2024
e05b67e
Correccion de indentacion
dpertierra Jul 19, 2024
f1b41a0
Fix repelentes no funcionaban
dpertierra Jul 19, 2024
1c27cb2
Arreglo evento pokémon de ejemplo de cry
SkyFangames Jul 21, 2024
cd58c71
Agrega opcion para desactivar el nuevo repexp
dpertierra Jul 24, 2024
a5831ad
Fix script barra entrenadores, issue erased
dpertierra Jul 24, 2024
fba8d31
Update gitignore
dpertierra Jul 24, 2024
be5fcb9
Update readme
dpertierra Jul 24, 2024
27596a8
Fix stone axe y ceaseless edge
dpertierra Jul 25, 2024
0aa166d
actualiza readme
dpertierra Jul 25, 2024
9428850
Elimina el plugin del modo random que se pusheo por error
dpertierra Jul 25, 2024
34b8d76
Agrega CI CD para chequeo de ruby al pushear
dpertierra Jul 25, 2024
bbb849a
prueba ci cd
dpertierra Jul 25, 2024
4cfef5e
Github action CI CD chequeo de codigo ruby
dpertierra Jul 25, 2024
924abce
Solo mostrar errores
dpertierra Jul 25, 2024
eedfadd
testing CI CD
dpertierra Jul 25, 2024
fee742a
fixes reportados por el ci cd
dpertierra Jul 25, 2024
b03beaf
Opción de tener mapas sin reflejos del personaje
SkyFangames Jul 26, 2024
deb0695
Updateado el readme.
SkyFangames Jul 26, 2024
3922909
Fix PokédexQuickAccess reportado por Danzante
dpertierra Jul 27, 2024
147d7ef
Borra echoln
dpertierra Jul 27, 2024
9dc5840
Borra Graphics del DBK y EUI
dpertierra Jul 27, 2024
dd8f45e
Sprites animados en la dex no cargaban con el plugin
SkyFangames Jul 28, 2024
dac622c
Merge branch 'dev' of https://github.com/SkyFangames/La-Base-de-Sky i…
SkyFangames Jul 28, 2024
cf1ca69
agrega workflow para crear release
dpertierra Jul 28, 2024
2dc0ff6
Update realease.yml
dpertierra Jul 28, 2024
283e906
Versión en pantalla de título e icono de bulbasaur
SkyFangames Jul 28, 2024
a76be4d
Merge branch 'dev' of https://github.com/SkyFangames/La-Base-de-Sky i…
SkyFangames Jul 28, 2024
f008eca
fix release workflow
dpertierra Jul 28, 2024
bfb5b77
Only run ruby checks on ruby files
dpertierra Jul 28, 2024
0e34290
Agrega la licencia original del repo de essentials de Maruno
dpertierra Jul 28, 2024
4ad2044
Merge pull request #4 from SkyFangames/main
dpertierra Jul 28, 2024
ffadf76
Actualizacion de Modular UI
SkyFangames Jul 28, 2024
fa61355
Merge branch 'dev' of https://github.com/SkyFangames/La-Base-de-Sky i…
SkyFangames Jul 28, 2024
9372c5c
Actualización de huellas
SkyFangames Jul 28, 2024
6cfe746
Créditos de las huellas nuevas
SkyFangames Jul 28, 2024
440fb82
Corregidos problemas con sprites de basculegion y vivillon
SkyFangames Jul 29, 2024
f898d4f
Añadidas las formas de Pikachu
SkyFangames Jul 30, 2024
9590518
Correcciones de OWs y faltas
SkyFangames Jul 31, 2024
fff53e4
Busqueda por nombre en la pokédex
dpertierra Jul 31, 2024
6a7ab3b
Cambiada la interfaz de la dex para añadir icono de lupa
SkyFangames Jul 31, 2024
81a7db4
Updateada pokédex a v2.0.1
SkyFangames Jul 31, 2024
ce6de92
Update de versión en main para logs de errores
SkyFangames Jul 31, 2024
036e2e4
Agregados al readme los nuevos cambios.
SkyFangames Jul 31, 2024
fe33cc4
Corrección de pequeño bug en la Pokédex
SkyFangames Jul 31, 2024
d82dd08
Actualizado script de combinar scripts
SkyFangames Jul 31, 2024
2b662bc
fix scripts_combine.rb (#9)
dpertierra Jul 31, 2024
1dd2516
Merge pull request #10 from SkyFangames/main
dpertierra Jul 31, 2024
da82dd4
Agrega una opcion para un text input con un callback en on key press
dpertierra Aug 1, 2024
5157044
Fix movimiento en el listado de movimientos en la dex avanzada
dpertierra Aug 1, 2024
a191356
Merge branch 'dev' of https://github.com/SkyFangames/La-Base-de-Sky i…
SkyFangames Aug 1, 2024
1a22a44
Arreglo descripción de Hachazo pétreo, faltas y código de trade desde pc
SkyFangames Aug 1, 2024
ae2a4ab
Arreglo acceder a la pokedex desde el summary
dpertierra Aug 1, 2024
61fa553
Detecta borrado en Keyboard input
dpertierra Aug 1, 2024
fa0ff39
Fix pokedex access + search
dpertierra Aug 2, 2024
8ed732c
Fix condiciones acceso pokedex
dpertierra Aug 2, 2024
8c31aeb
Agrega validación para evitar crasheo
dpertierra Aug 2, 2024
658907f
Arreglos acceso pokedex y elimina echoln
dpertierra Aug 2, 2024
ce425cd
Elimina funcion no utilizada
dpertierra Aug 2, 2024
c2c1d22
Busqueda en la Pokedex on input
dpertierra Aug 2, 2024
d620ccf
agrega reader de los sprites de la pokedex
dpertierra Aug 2, 2024
4a0e502
Arreglo bug en la incubadora.
SkyFangames Aug 9, 2024
7525cad
Agrega validacion a la incubadora
dpertierra Aug 10, 2024
626968c
Corrección descripción en el movimiento Detección
dpertierra Aug 10, 2024
8829bf3
Corrige descripción del movimiento Protección
dpertierra Aug 10, 2024
2894a4c
Actualiza descripcion de Aguijón letal
dpertierra Aug 10, 2024
b54ac33
Traducción de tipos
dpertierra Aug 11, 2024
601d0af
Agrega validacion a battle animations
dpertierra Aug 12, 2024
77fa3f3
Mejoras de codigo menores basadas en buenas practicas de ruby
dpertierra Aug 12, 2024
df03ebe
Cambios NPC random y agrega NPC Monotype
dpertierra Aug 16, 2024
922154e
Corrección de sprites
SkyFangames Aug 17, 2024
f31dbbb
Merge branch 'dev' of https://github.com/SkyFangames/La-Base-de-Sky i…
SkyFangames Aug 17, 2024
777d870
Plugins updateados
SkyFangames Aug 17, 2024
b3e6967
Update version plugin
SkyFangames Aug 17, 2024
ba1acf5
Actualización de iconos
SkyFangames Aug 18, 2024
983b250
corrige error de pirotecnia reportado por cabra
dpertierra Aug 23, 2024
19ea377
Arreglado error bayas y corregido enlace wiki
SkyFangames Aug 25, 2024
c59ac20
Merge branch 'dev' of https://github.com/SkyFangames/La-Base-de-Sky i…
SkyFangames Aug 25, 2024
85994fc
Error de mayúsculas
SkyFangames Aug 27, 2024
155bb48
Correcciones traducciones
SkyFangames Aug 27, 2024
70899dd
Actualización pantalla título y versión
SkyFangames Aug 28, 2024
e9daf4d
Update readme
SkyFangames Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .github/workflows/realease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Create release

on:
release:
types:
- created

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Zip Folder
run: zip -r LA_BASE_DE_SKY_V${{github.ref_name}}.zip . -x ".git/*" ".github/*" ".gitignore" "LA BASE DE SKY/rgss-compiler.json", ".ruby-lsp/*"

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: LA_BASE_DE_SKY_V${{github.ref_name}}.zip
generate_release_notes: true
make_latest: true
token: ${{ secrets.TOKEN_GITHUB }}
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,17 @@ LA BASE DE SKY/Data/States.rxdata
LA BASE DE SKY/Data/Weapons.rxdata
LA BASE DE SKY V1.0.6.zip
LA BASE DE SKY/rgss-compiler.json
LA BASE DE SKY/Data/Actors.rxdata
LA BASE DE SKY/Data/Armors.rxdata
LA BASE DE SKY/Data/Enemies.rxdata
LA BASE DE SKY/Data/Skills.rxdata
LA BASE DE SKY/Data/States.rxdata
LA BASE DE SKY/Data/Weapons.rxdata
LA BASE DE SKY/Data/Actors.rxdata
LA BASE DE SKY/Data/Animations.rxdata
LA BASE DE SKY/Data/Actors.rxdata
LA BASE DE SKY/Data/Armors.rxdata
LA BASE DE SKY/Data/Enemies.rxdata
LA BASE DE SKY/Data/Skills.rxdata
LA BASE DE SKY/Data/States.rxdata
LA BASE DE SKY/Data/Weapons.rxdata
Binary file modified LA BASE DE SKY/Data/Map026.rxdata
Binary file not shown.
Binary file modified LA BASE DE SKY/Data/Map042.rxdata
Binary file not shown.
Binary file modified LA BASE DE SKY/Data/MapInfos.rxdata
Binary file not shown.
Binary file modified LA BASE DE SKY/Data/PluginScripts.rxdata
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,21 @@ module Settings
# Almacena la ruta para los gráficos utilizados por este plugin.
BATTLE_UI_GRAPHICS_PATH = "Graphics/Plugins/Enhanced Battle UI/"

# Cuando está activado, aparecerán botones para abrir los menús de interfaz
# de usuario al seleccionar comandos.
SHOW_UI_PROMPTS = true
#-----------------------------------------------------------------------------
# The display style for button prompts used to open UI menus that appear when selecting commands.
# 0 => No prompts shown
# 1 => Always show prompt
# 2 => Show prompt, but hide after 2 seconds.
#-----------------------------------------------------------------------------
UI_PROMPT_DISPLAY = 2


#-----------------------------------------------------------------------------
# When true, Move UI background will reflect the color of the move type.
#-----------------------------------------------------------------------------
USE_MOVE_TYPE_BACKGROUNDS = true


# Cuando es falso, la pantalla no mostrará la efectividad del tipo de movimientos
# contra especies nuevas que encuentres por primera vez.
# Cuando es verdadero, siempre se mostrará la efectividad del tipo, incluso para
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -891,3 +891,51 @@ def pbMessageFreeText(message, currenttext, passwordbox, maxlength, width = 240,
return retval
end


def pb_free_text_with_on_input(msg_window, current_text, password_box, max_length, width = 240, on_input = nil)
window = WindowTextEntryKeyboardPerKey.new(current_text, 0, 0, width, 64, nil, false, on_input)
configure_window(window, msg_window, password_box, max_length, current_text)

Input.text_input = true
loop do
break if handle_input(window, msg_window, current_text)
end
Input.text_input = false
window.dispose
Input.update
window.text
end

def handle_input(window, msg_window, current_text = '')
Graphics.update
Input.update
if Input.triggerex?(:ESCAPE)
window.text = current_text
return true
elsif Input.triggerex?(:RETURN)
return true
end

window.update
msg_window&.update
yield if block_given?
end

def configure_window(window, msg_window, password_box, max_length, current_text)
window.maxlength = max_length
window.visible = true
window.z = 99_999
pbPositionNearMsgWindow(window, msg_window, :right)
window.text = current_text
window.password_char = '*' if password_box
end

def pb_message_free_text_with_on_input(message, currenttext, passwordbox, maxlength, width = 240, on_input = nil, &block)
msgwindow = pbCreateMessageWindow
retval = pbMessageDisplay(msgwindow, message, true,
proc { |msgwndw|
next pb_free_text_with_on_input(msgwndw, currenttext, passwordbox, maxlength, width, on_input, &block)
}, &block)
pbDisposeMessageWindow(msgwindow)
retval
end
101 changes: 100 additions & 1 deletion LA BASE DE SKY/Data/Scripts/018_Objects and windows/013_TextEntry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,106 @@ def update
end
end

# This class represents a window for text entry with a keyboard per key.
#
# It extends the `Window_TextEntry` class and adds functionality for handling keyboard input.
#
# @author DPertierra
# @version 1.0.0
#
class WindowTextEntryKeyboardPerKey < Window_TextEntry
# ...

##
# Initializes the window with the given text, position, width, height, heading, and options.
#
# @param text [String] The initial text to display in the window.
# @param x [Integer] The x-coordinate of the window's position.
# @param y [Integer] The y-coordinate of the window's position.
# @param width [Integer] The width of the window.
# @param height [Integer] The height of the window.
# @param heading [String, nil] The heading to display above the text entry area.
# @param usedarkercolor [Boolean] Whether to use a darker color for the window.
# @param on_input [Proc, nil] The callback to invoke when a key is pressed.
#
def initialize(text, x, y, width, height, heading = nil, usedarkercolor = false, on_input = nil)
super(text, x, y, width, height, heading, usedarkercolor)
@on_input = on_input
end

##
# Deletes the last character in the text entry area.
#
# @return [void]
#
def delete
return false unless @helper.delete

@cursor_timer_start = System.uptime
@cursor_shown = true
@on_input&.call(@helper.text)
refresh

true
end

def insert(ch)
return false unless @helper.insert(ch)

@cursor_timer_start = System.uptime
@cursor_shown = true
refresh
@on_input&.call(@helper.text, ch)

true
end

def move_left
return unless @helper.cursor.positive?

@helper.cursor -= 1
@cursor_timer_start = System.uptime
@cursor_shown = true
refresh
end

def move_right
return unless @helper.cursor < text.scan(/./m).length

@helper.cursor += 1
@cursor_timer_start = System.uptime
@cursor_shown = true
refresh
end

def handle_input
# Moving cursor
if Input.triggerex?(:LEFT) || Input.repeatex?(:LEFT)
move_left
elsif Input.triggerex?(:RIGHT) || Input.repeatex?(:RIGHT)
move_right
elsif Input.triggerex?(:BACKSPACE) || Input.repeatex?(:BACKSPACE)
delete if @helper.cursor.positive?
elsif Input.triggerex?(:RETURN) || Input.triggerex?(:ESCAPE)
# return
else
Input.gets.each_char { |c| insert(c) }
end
end

def update
cursor_to_show = ((System.uptime - @cursor_timer_start) / 0.35).to_i.even?
if cursor_to_show != @cursor_shown
@cursor_shown = cursor_to_show
refresh
end

return unless active

handle_input
end
end

#===============================================================================
#
#===============================================================================
Expand Down Expand Up @@ -554,4 +654,3 @@ def refresh
end
end
end

Loading