Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

Ads

#1 2020-05-22 08:24:00

Shamurgh
New member
Registered: 2020-05-14
Posts: 2

Saint Seiya (under development)

Dear all,

It's been a while I've been following this forum, without posting as I wanted to have some material to talk about.
I have been working on a Saint Seiya game project for some time now (GBDK) and I would like to show my progress to all of you while sharing my difficulties:

https://www.dropbox.com/s/jahrnwjdu6mkpee/bgb00001.bmp?raw=1 https://www.dropbox.com/s/8fvxnrw3f8n8q18/bgb00002.bmp?raw=1 https://www.dropbox.com/s/rczy55s8nggxppq/bgb00003.bmp?raw=1 https://www.dropbox.com/s/b3f9pxsutrnuap2/bgb00004.bmp?raw=1
https://www.dropbox.com/s/tj2espddb2x6lnb/bgb00005.bmp?raw=1 https://www.dropbox.com/s/bwzg3xahh41lzuk/bgb00006.bmp?raw=1 https://www.dropbox.com/s/asddhvtb52leqfn/bgb00007.bmp?raw=1

Difficulties:
- Rom 0 is full:
I have to optimize my messy code to make some space.
I'm using BGB, but how to know the actual space of Rom 0?

- Music implementation:
I didn't use GBTplayer because of the above so I did a home made player on bank 2.
There I face the problem that delay() would slow down my music as I couldn't use interrupts as a counter as it would switch bank while beeing in another bank and screw up everything.
I'm digging the idea of memorizing the actual bank in the interrupt in order to comeback to it while my interrupt is over. Couldn't find how though.

- My code is a total mess: really have to sort it out cause while not working on the game for a while, it's a nightmare to understand what is what.

- Balance in the damage dealt: kind of not enough or too much, got to adjust this to make the game more strategical.

- Narrative to be added: yeah, no storyline or dialogue so far...

After solving some main issues, it would be my pleasure to share a beta version with you.
Well I hope this will get going well and that you guys would enjoy it.

Last edited by Shamurgh (2020-05-22 08:26:50)

Offline

 

#2 2020-05-22 08:44:59

Ardis
Member
From: USA
Registered: 2019-06-06
Posts: 34
Website

Re: Saint Seiya (under development)

I do have a few suggestions that might help with freeing space in bank 0.

Look for functions that are usually run when you already have a specific memory bank open for something else and try moving those functions into those banks.

You can also put GBT player in any bank. I have GBT player and all my music and sound functions in the same bank on my game. You just have to make sure that is the active bank when you run gbt_update or change songs.

I am looking forward to seeing more of this game. I never got into Saint Seiya, but had been wanting to give it a chance once I clear other things off my backlog of things to watch.

Last edited by Ardis (2020-05-22 08:45:19)


Also known as Arvex in other places.

Offline

 

#3 2020-05-22 15:46:07

toxa
Member
Registered: 2020-02-13
Posts: 90

Re: Saint Seiya (under development)

1. there are several ways to figure out, how much memory do you have free in banks. i use some python utilities from PinoBatch: https://github.com/pinobatch/240p-test- … omusage.py shows you the graphical representation, and this one: https://github.com/pinobatch/libbet/blo … /unused.py in text

2. of course you can use interrupts with player and whatever other code in banks. the main thing you should do is to switch the bank back, before leaving the interrupt. there are several approaches, the most common - is tracking the bank number in some variable and make some kind of stack. you may have a look how this is done in ZGB framework: https://github.com/Zal0/ZGB/blob/master … kManager.h (and BankManager.c) and Stack.h

your interrupt routine will be something like this:

Code:

void timer() {
    PushBank(2);
    gbt_update(); // in bank 2
    PopBank();
}

3. organize your code. ZGB library is a good example to follow; use BGB debug messages to debug your code:  https://gbdev.gg8.se/forums/viewtopic.php?id=703

Last edited by toxa (2020-05-22 15:50:47)

Offline

 

#4 Yesterday 14:15:00

Shamurgh
New member
Registered: 2020-05-14
Posts: 2

Re: Saint Seiya (under development)

Thank you both for your replies, thank to you, I actually managed my way out!

Here's a preliminary version of the game, hopefully you'll like it as it is:

https://www.dropbox.com/s/jpa868msxk7d2 … ya.gb?dl=0

Some Hints:
- If you are tired of fighting Cassios: you can press "B+UP" or "B+DOWN" to change your opponent.
- Just max you right arm full of Cosmo to blast the enemy out.
- The goal is to reduce the life of the head of the opponent to 0.
- Be careful as he can do it as well.
- Hyoga's special attack is not totally working.

Enjoy!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson