Release the beast !
This commit is contained in:
commit
d472efec7b
62
Makefile
Normal file
62
Makefile
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
TARGET = bow
|
||||||
|
TYPE = ps-exe
|
||||||
|
|
||||||
|
SRCS = bow.c \
|
||||||
|
../common/crt0/crt0.s \
|
||||||
|
TIM/bowsht.tim \
|
||||||
|
TIM/bowbg.tim \
|
||||||
|
TIM/menu.tim \
|
||||||
|
TIM/inst.tim \
|
||||||
|
VAG/vil.vag \
|
||||||
|
VAG/crowd.vag \
|
||||||
|
VAG/shoot.vag \
|
||||||
|
VAG/folks.vag \
|
||||||
|
VAG/ready.vag \
|
||||||
|
VAG/pop.vag \
|
||||||
|
VAG/jmp.vag \
|
||||||
|
VAG/toc.vag \
|
||||||
|
|
||||||
|
CPPFLAGS += -I../psyq/include
|
||||||
|
LDFLAGS += -L../psyq/lib
|
||||||
|
LDFLAGS += -Wl,--start-group
|
||||||
|
LDFLAGS += -lapi
|
||||||
|
LDFLAGS += -lc
|
||||||
|
LDFLAGS += -lc2
|
||||||
|
LDFLAGS += -lcard
|
||||||
|
LDFLAGS += -lcomb
|
||||||
|
LDFLAGS += -lds
|
||||||
|
LDFLAGS += -letc
|
||||||
|
LDFLAGS += -lgpu
|
||||||
|
LDFLAGS += -lgs
|
||||||
|
LDFLAGS += -lgte
|
||||||
|
LDFLAGS += -lgun
|
||||||
|
LDFLAGS += -lhmd
|
||||||
|
LDFLAGS += -lmath
|
||||||
|
LDFLAGS += -lmcrd
|
||||||
|
LDFLAGS += -lmcx
|
||||||
|
LDFLAGS += -lpad
|
||||||
|
LDFLAGS += -lpress
|
||||||
|
LDFLAGS += -lsio
|
||||||
|
LDFLAGS += -lsnd
|
||||||
|
LDFLAGS += -lspu
|
||||||
|
LDFLAGS += -ltap
|
||||||
|
LDFLAGS += -Wl,--end-group
|
||||||
|
|
||||||
|
include ../common.mk \
|
||||||
|
|
||||||
|
|
||||||
|
#bowsht.tim:
|
||||||
|
#~ img2tim -org 512 0 -plt 0 960 -bpp 8 -o bowsht.tim bow.png
|
||||||
|
#~ img2tim -org 512 0 -bpp 16 -o bowsht.tim bow.png
|
||||||
|
#~ bowbg.tim:
|
||||||
|
#~ img2tim -org 512 256 -plt 0 961 -bpp 8 -o bowbg.tim bow-bg.png
|
||||||
|
#~ img2tim -org 512 256 -bpp 16 -o bowbg.tim bow-bg.png
|
||||||
|
|
||||||
|
|
||||||
|
#~ nugget : add binary to psx-exe
|
||||||
|
|
||||||
|
#~ bowsht.o: bowsht.tim
|
||||||
|
#~ $(PREFIX)-objcopy -I binary --set-section-alignment .data=4 --rename-section .data=.rodata,alloc,load,readonly,data,contents -O elf32-tradlittlemips -B mips bowsht.tim bowsht.o
|
||||||
|
|
||||||
|
#~ bowbg.o: bowbg.tim
|
||||||
|
#~ $(PREFIX)-objcopy -I binary --set-section-alignment .data=4 --rename-section .data=.rodata,alloc,load,readonly,data,contents -O elf32-tradlittlemips -B mips bowbg.tim bowbg.o
|
45
README.md
Normal file
45
README.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
![Behold the great remake nobody's been waiting for !](preview.png)
|
||||||
|
|
||||||
|
# Bow & Arrow PSX
|
||||||
|
|
||||||
|
Base on the original dos game by John Di Troia, From Bow and Arrow - In Search of the Greatest Archer v1.0 (1992)
|
||||||
|
https://www.classicdosgames.com/company/johnditroia.html
|
||||||
|
|
||||||
|
**WARNING : The following code is *TERRIBLE*, I am learning C, thus the terrible quality. But it does the job ¯\_(ツ)_/¯ and I had FUN**
|
||||||
|
|
||||||
|
Graphics are homemade with the awesome [Aseprite](https://github.com/aseprite/aseprite/) software.
|
||||||
|
|
||||||
|
# Compiling
|
||||||
|
|
||||||
|
This project uses [Nugget+PsyQ](https://github.com/ABelliqueux/nolibgs_hello_worlds#setting-up-the-sdk--modern-gcc--psyq-aka-nuggetpsyq).
|
||||||
|
|
||||||
|
Git clone the project in the pcsx-redux folder : `(...)/pcsx-redux/src/mips/`,then in a terminal, just type `make` to build the ps-exe.
|
||||||
|
|
||||||
|
#Credits !
|
||||||
|
|
||||||
|
## Sound effects :
|
||||||
|
|
||||||
|
ready ©2020 Fesliyan Studios Inc. - https://www.fesliyanstudios.com/play-mp3/4937
|
||||||
|
pop Myinstants - https://www.myinstants.com/instant/pop/?utm_source=copy&utm_medium=share
|
||||||
|
jump 2873.mp3 http://www.universal-soundbank.com/
|
||||||
|
shtoc 2873.mp3 http://www.universal-soundbank.com/
|
||||||
|
shoot ©2020 Fesliyan Studios Inc. - https://www.fesliyanstudios.com/play-mp3/7742
|
||||||
|
|
||||||
|
## Music :
|
||||||
|
|
||||||
|
Folk Round by Kevin MacLeod
|
||||||
|
Link: https://incompetech.filmmusic.io/song/3770-folk-round
|
||||||
|
License: http://creativecommons.org/licenses/by/4.0/
|
||||||
|
|
||||||
|
Village Consort by Kevin MacLeod
|
||||||
|
Link: https://incompetech.filmmusic.io/song/4585-village-consort
|
||||||
|
License: http://creativecommons.org/licenses/by/4.0/
|
||||||
|
|
||||||
|
Crowd Hammer by Kevin MacLeod
|
||||||
|
Link: https://incompetech.filmmusic.io/song/4983-crowd-hammer
|
||||||
|
License: http://creativecommons.org/licenses/by/4.0/
|
||||||
|
|
||||||
|
## Font for the unused You Won, You Lost messages:
|
||||||
|
|
||||||
|
EB Garamond, by Georg Duffner : http://www.georgduffner.at/ebgaramond/index.html,
|
||||||
|
license : https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
|
BIN
TIM/bowbg.tim
Normal file
BIN
TIM/bowbg.tim
Normal file
Binary file not shown.
BIN
TIM/bowsht.tim
Normal file
BIN
TIM/bowsht.tim
Normal file
Binary file not shown.
BIN
TIM/inst.tim
Normal file
BIN
TIM/inst.tim
Normal file
Binary file not shown.
BIN
TIM/menu.tim
Normal file
BIN
TIM/menu.tim
Normal file
Binary file not shown.
BIN
VAG/crowd.vag
Normal file
BIN
VAG/crowd.vag
Normal file
Binary file not shown.
BIN
VAG/folks.vag
Normal file
BIN
VAG/folks.vag
Normal file
Binary file not shown.
BIN
VAG/jmp.vag
Normal file
BIN
VAG/jmp.vag
Normal file
Binary file not shown.
BIN
VAG/pop.vag
Normal file
BIN
VAG/pop.vag
Normal file
Binary file not shown.
BIN
VAG/ready.vag
Normal file
BIN
VAG/ready.vag
Normal file
Binary file not shown.
BIN
VAG/shoot.vag
Normal file
BIN
VAG/shoot.vag
Normal file
Binary file not shown.
BIN
VAG/toc.vag
Normal file
BIN
VAG/toc.vag
Normal file
Binary file not shown.
BIN
VAG/vil.vag
Normal file
BIN
VAG/vil.vag
Normal file
Binary file not shown.
50
animation.c
Normal file
50
animation.c
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
|
||||||
|
// pad stuff
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
u_short u0, v0; // coordinates of top-left corner of uv
|
||||||
|
//~ short pause;
|
||||||
|
short Xoffset;
|
||||||
|
short Yoffset;
|
||||||
|
short index;
|
||||||
|
} frame;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
char timer;
|
||||||
|
char animCursor;
|
||||||
|
char hit;
|
||||||
|
frame *anim;
|
||||||
|
} charSprite;
|
||||||
|
|
||||||
|
frame iddle[1];
|
||||||
|
frame aim[6];
|
||||||
|
frame jump[6];
|
||||||
|
frame reload[6];
|
||||||
|
frame reload_arrow[3];
|
||||||
|
frame arrow[1];
|
||||||
|
frame balloon[8];
|
||||||
|
frame ammunitions[1];
|
||||||
|
frame parchment[1];
|
||||||
|
frame messages[2];
|
||||||
|
frame bubble[1];
|
||||||
|
frame bee[3];
|
||||||
|
frame target[1];
|
||||||
|
frame menu[1];
|
||||||
|
frame inst[1];
|
||||||
|
|
||||||
|
frame *currentFrame;
|
||||||
|
|
||||||
|
void setAnimSheet(char line, frame array[], short arraySize, char gridWidth, char gridHeight, short Xoffset, short Yoffset){
|
||||||
|
for (int i = 0; i < arraySize ;i++){
|
||||||
|
array[i].u0 = (i * gridWidth ) + Xoffset;
|
||||||
|
array[i].v0 = (line * gridHeight) + Yoffset;
|
||||||
|
|
||||||
|
//array[i].pause = 40;
|
||||||
|
|
||||||
|
array[i].Xoffset = 0;
|
||||||
|
array[i].Yoffset = 0;
|
||||||
|
|
||||||
|
array[i].index = i;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
40
credits
Normal file
40
credits
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
There goes the credits !
|
||||||
|
|
||||||
|
==
|
||||||
|
|
||||||
|
Bow & Arrow PSX, by Schnappy, 12-2020
|
||||||
|
V0.1
|
||||||
|
|
||||||
|
Base on the original dos game by John Di Troia, From Bow and Arrow - In Search of the Greatest Archer v1.0 (1992)
|
||||||
|
https://www.classicdosgames.com/company/johnditroia.html
|
||||||
|
|
||||||
|
Graphics by Schnappy
|
||||||
|
|
||||||
|
==
|
||||||
|
|
||||||
|
Sound effects :
|
||||||
|
|
||||||
|
ready ©2020 Fesliyan Studios Inc. - https://www.fesliyanstudios.com/play-mp3/4937
|
||||||
|
pop Myinstants - https://www.myinstants.com/instant/pop/?utm_source=copy&utm_medium=share
|
||||||
|
jump 2873.mp3 http://www.universal-soundbank.com/
|
||||||
|
shtoc 2873.mp3 http://www.universal-soundbank.com/
|
||||||
|
shoot ©2020 Fesliyan Studios Inc. - https://www.fesliyanstudios.com/play-mp3/7742
|
||||||
|
|
||||||
|
Music :
|
||||||
|
|
||||||
|
Folk Round by Kevin MacLeod
|
||||||
|
Link: https://incompetech.filmmusic.io/song/3770-folk-round
|
||||||
|
License: http://creativecommons.org/licenses/by/4.0/
|
||||||
|
|
||||||
|
Village Consort by Kevin MacLeod
|
||||||
|
Link: https://incompetech.filmmusic.io/song/4585-village-consort
|
||||||
|
License: http://creativecommons.org/licenses/by/4.0/
|
||||||
|
|
||||||
|
Crowd Hammer by Kevin MacLeod
|
||||||
|
Link: https://incompetech.filmmusic.io/song/4983-crowd-hammer
|
||||||
|
License: http://creativecommons.org/licenses/by/4.0/
|
||||||
|
|
||||||
|
Font for the unused You Won, You Lost messages:
|
||||||
|
|
||||||
|
EB Garamond, by Georg Duffner : http://www.georgduffner.at/ebgaramond/index.html,
|
||||||
|
license : https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
|
BIN
preview.png
Normal file
BIN
preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 KiB |
Loading…
Reference in New Issue
Block a user