Skip to content

Commit 45038f5

Browse files
committed
Retirado 2 datos sin usar zona1dat.h, actualizar fecha, activar auto-cursor
1 parent 02b7878 commit 45038f5

11 files changed

Lines changed: 20 additions & 12 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ Plataforma: **SEGA Mega Drive/Genesis**
99
# Que está desarrollado: #
1010
**+Logos + Titulo + Música**
1111

12-
**+4 Zonas de pruebas** in game , aun en desarrollo:
1312

1413
**Sistema de cuadros de dialogos! Primera version Alpha Test**
14+
![Test Dialogo](https://raw.githubusercontent.com/alicesim1/Penguin-World/main/screenshot/testzone1-test-CuadroDiag.jpg)
15+
1516

17+
**+4 Zonas de pruebas** in game , aun en desarrollo:
1618
![Test Zone 2](https://raw.githubusercontent.com/alicesim1/Penguin-World/main/screenshot/Zona2.JPG)
1719
![Test Zone 4](https://raw.githubusercontent.com/alicesim1/Penguin-World/main/screenshot/Zona4.JPG)
1820

@@ -27,17 +29,20 @@ Zone 4 con paredes "semi" transparentes (matriz de pixeles pintados y no pintado
2729
Resolucion vertical a 240p para PAL 50Hrz, 224 para NTSC(EEUU/JAP) 60Hrz (Diferencia de 16pixeles)
2830

2931
## Botones: ##
30-
**A + Start = Hard-Reset**
3132

3233
**A = Test dialogo 1**
3334
**B = Test dialogo 2**
3435
**C = Test dialogo 3**
36+
**X = Test dialogo 4**
37+
**Y = Test dialogo 5**
3538

39+
**B = Cerrar dialogo
3640

3741
## SEGA Mouse##
42+
3843
[[Puerto 2]] Opcionalmente!
39-
[Tambien compatible con PAD3/6 botones]
40-
Se visualiza un cursor de color verde, que se puede controlar con el raton!
44+
[Tambien compatible con PAD3/6 botones] Si esta conectado!
45+
Se visualiza un cursor de color verde, que se puede controlar con el raton!(o cruzeta)
4146
Por el momento no tiene interacion con nada... esta en desarrollo y estudio.
4247

4348
https://segaretro.org/Sega_Mouse
@@ -53,6 +58,7 @@ Creado con [SGDK de Stephane](https://github.com/Stephane-D/SGDK)
5358

5459

5560
Redes sociales:
61+
5662
https://twitter.com/Alice_Sim1
5763

5864
https://www.twitch.tv/AliceSim1

inc/zona1dat.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44

55
#define TOP_ZONAS 4
66

7-
const u8 const casillas_0[];
8-
const u16 const blxpri_0[];
97

108
const t_zona zona1dat[TOP_ZONAS];
119

12-
13-
1410
#endif

res/logos-titulo.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @Author: Alicia Sanchez Martos "AliceSim1"
55
***********************************************************************************/
66
#include "../inc/global.h"
7-
#define Version "26/07"
7+
#define Version "30/07"
88

99
//res ficheros
1010
#include "../res/logos.h"
@@ -91,7 +91,7 @@ void TITUTLO(){
9191

9292
VDP_setTextPalette(PAL2);
9393
VDP_drawText("Power By",31,23+IS_PALSYSTEM);
94-
VDP_drawText(Version,36,0);
94+
VDP_drawText(Version,35,0);//DD/MM
9595

9696
VDP_setTextPalette(PAL3);VDP_drawText("AliceSim1",9,22+IS_PALSYSTEM);VDP_setTextPalette(PAL0);VDP_drawText("- 2020-2021",19,22+IS_PALSYSTEM);
9797
VDP_drawText("Twitter: @Alice_Sim1",9,24+IS_PALSYSTEM);
81.7 KB
Loading
-25.2 KB
Binary file not shown.

src/dialogos.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ void dialogo(u16 x,u16 y,u8 ancho, u8 alto){
137137

138138
gat=TRUE;
139139
do{
140+
141+
if(CursorON){
142+
_JOYupdateMouse();
143+
SPR_update();
144+
}
145+
140146
if(gat && !BUTTONS[6]) gat=FALSE;
141147
SYS_doVBlankProcess();
142148
}while(!BUTTONS[6] || gat); gat=TRUE;

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ void main(u16 hard){
3636
padraton=JOY_getPortType(PORT_2);
3737
if(padraton==PORT_TYPE_MOUSE) JOY_setSupport(PORT_2, JOY_SUPPORT_MOUSE);
3838

39-
CursorON=FALSE;
40-
//if(padraton==PORT_TYPE_MOUSE || padraton==PORT_TYPE_PAD) CursorON=TRUE;
39+
//CursorON=FALSE;
40+
if(padraton==PORT_TYPE_MOUSE || padraton==PORT_TYPE_PAD) CursorON=TRUE;
4141

4242
JOY_setEventHandler(&inputHandler);
4343

temp/screenshot/Zona2.JPG

-44.5 KB
Binary file not shown.

temp/screenshot/Zona4.JPG

-34.8 KB
Binary file not shown.
-25.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)