My first nes game! (DemonDistrict)

A place where you can keep others updated about your NES-related projects through screenshots, videos or information in general.

Moderator: Moderators

klonoa
Posts: 59
Joined: Mon Nov 21, 2011 3:53 pm

My first nes game! (DemonDistrict)

Post by klonoa » Sun Nov 17, 2019 8:49 am

Hey all,

I'd like to share the game I made over the past few months.
It started out as a school project that became quite the passion project.
After I got my grade I and a friend kept working on it to finish it.

It's not completely finished yet but it is finish-able.

Biggest inspirations were the survival horror games of the ps1 and early ps2 era
where you have to collect items and use them to progress through the level.

Feedback is much appreciated!

A few points:

- It's a horror game that contains death, blood and gore.
- Doesn't boot in nestopia for some reason. (maybe someone knows why? Fcuex works.)
Edit: The Ines header was broken! Thx Nocash and lidnariq for spotting this error!
- It's not finished yet so some bugs could be lurking in the dark corners. :P
- Keep in mind it's our very first nes game. :lol:
Attachments
DemonDistrictFixed.nes
Same game with a fixed Ines header
(312.02 KiB) Downloaded 363 times
DemonDistrict.nes
(312.02 KiB) Downloaded 216 times
Last edited by klonoa on Mon Nov 18, 2019 5:42 am, edited 1 time in total.

nocash
Posts: 1210
Joined: Fri Feb 24, 2012 12:09 pm
Contact:

Re: My first nes game! (DemonDistrict)

Post by nocash » Sun Nov 17, 2019 9:45 am

What mapper is that? Do you have a version with intect NES header? The size entry(ies) seem to be broken.
homepage - patreon - you can think of a bit as a bottle that is either half full or half empty

User avatar
Drozerix
Posts: 16
Joined: Sun Feb 24, 2019 3:54 pm
Location: USA
Contact:

Re: My first nes game! (DemonDistrict)

Post by Drozerix » Sun Nov 17, 2019 10:01 am

nocash wrote:What mapper is that? Do you have a version with intect NES header? The size entry(ies) seem to be broken.
Looks like it is an MMC1, right?

lidnariq
Posts: 9379
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: My first nes game! (DemonDistrict)

Post by lidnariq » Sun Nov 17, 2019 11:43 am

Looks to be marked as having 256KB PRG and 128KB CHR, but has only 56KB CHR. Works fine if I change the header to match.

Lots of padding in the PRG; should be possible to re-link the game into 64/64 without much effort.

User avatar
Punch
Posts: 362
Joined: Sat Feb 16, 2013 11:52 am

Re: My first nes game! (DemonDistrict)

Post by Punch » Sun Nov 17, 2019 12:11 pm

I finished it. Pretty neat!

I would maybe tweak the interaction areas and collision detection a bit, and make the menu be exit-able with the A button but this is otherwise pretty cool for a demo.
This is a block of text that can be added to posts you make. There is a 255 character limit.

klonoa
Posts: 59
Joined: Mon Nov 21, 2011 3:53 pm

Re: My first nes game! (DemonDistrict)

Post by klonoa » Sun Nov 17, 2019 12:25 pm

lidnariq wrote:Looks to be marked as having 256KB PRG and 128KB CHR, but has only 56KB CHR. Works fine if I change the header to match.

Lots of padding in the PRG; should be possible to re-link the game into 64/64 without much effort.
Oh wow, how could I have missed that..

What do you mean with padding? Unused space?
What's 64/64?

klonoa
Posts: 59
Joined: Mon Nov 21, 2011 3:53 pm

Re: My first nes game! (DemonDistrict)

Post by klonoa » Sun Nov 17, 2019 12:26 pm

Drozerix wrote:
nocash wrote:What mapper is that? Do you have a version with intect NES header? The size entry(ies) seem to be broken.
Looks like it is an MMC1, right?
Yep, It's the MMC1

klonoa
Posts: 59
Joined: Mon Nov 21, 2011 3:53 pm

Re: My first nes game! (DemonDistrict)

Post by klonoa » Sun Nov 17, 2019 12:29 pm

Punch wrote:I finished it. Pretty neat!

I would maybe tweak the interaction areas and collision detection a bit, and make the menu be exit-able with the A button but this is otherwise pretty cool for a demo.
Thanks for playing and for the feedback! :D

lidnariq
Posts: 9379
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: My first nes game! (DemonDistrict)

Post by lidnariq » Sun Nov 17, 2019 1:49 pm

klonoa wrote:What do you mean with padding? Unused space?
Yeah. You've got a lot of completely unused 16KB pages (#s 6-14) and many of the remainder are less than half full (#s 0,3,4,5)
What's 64/64?
64KB for both PRG and CHR.

User avatar
rainwarrior
Posts: 7812
Joined: Sun Jan 22, 2012 12:03 pm
Location: Canada
Contact:

Re: My first nes game! (DemonDistrict)

Post by rainwarrior » Sun Nov 17, 2019 9:03 pm

I survived!

Congrats on making this.

nocash
Posts: 1210
Joined: Fri Feb 24, 2012 12:09 pm
Contact:

Re: My first nes game! (DemonDistrict)

Post by nocash » Mon Nov 18, 2019 1:59 am

I've changed the CHR size entry to 07 (=56Kbyte), but my emu (no$nes) still displayed garbage with that, apparently not knowing how to map CHR ROM that isn't a power of two in size. It worked when padding the CHR rom to a power of two. I had never problems with that, so I guess 56Kbyte is extremely uncommon (and unlikely to exist as physical chip size in real hardware).

The NMI handler should push/pop A,X,Y registers (or push/pull, in 6502 language). It's somewhat working without because the main program just sits in an endless loop... but before entering that loop, it does execute a few opcodes that do use the A register (which can be destroyed if the NMI should occur during that time).

The game solved end came a bit abrupt, I am a bit left in the dark about what had happened exactly. I am glad that I have survived, but how? And I am unsure... did I save the world or something?
homepage - patreon - you can think of a bit as a bottle that is either half full or half empty

calima
Posts: 1124
Joined: Tue Oct 06, 2015 10:16 am

Re: My first nes game! (DemonDistrict)

Post by calima » Mon Nov 18, 2019 2:14 am

Very nice for a first game. I like games in this style and horror in general.

I didn't play long, so just some polish would be needed for what I noticed:
- button state isn't cleared between stuff (press start to start the game when the chick is shown -> it opens the menu in-game)
- things are jumpy when the menu opens
- scrolling between screens isn't smooth
- sprites not shown during scroll, they snap out and in

klonoa
Posts: 59
Joined: Mon Nov 21, 2011 3:53 pm

Re: My first nes game! (DemonDistrict)

Post by klonoa » Mon Nov 18, 2019 5:25 am

nocash wrote:I've changed the CHR size entry to 07 (=56Kbyte), but my emu (no$nes) still displayed garbage with that, apparently not knowing how to map CHR ROM that isn't a power of two in size. It worked when padding the CHR rom to a power of two. I had never problems with that, so I guess 56Kbyte is extremely uncommon (and unlikely to exist as physical chip size in real hardware).

The NMI handler should push/pop A,X,Y registers (or push/pull, in 6502 language). It's somewhat working without because the main program just sits in an endless loop... but before entering that loop, it does execute a few opcodes that do use the A register (which can be destroyed if the NMI should occur during that time).

The game solved end came a bit abrupt, I am a bit left in the dark about what had happened exactly. I am glad that I have survived, but how? And I am unsure... did I save the world or something?

I'm sorry I don't understand at all.
What should I do with the A,X,Y registers? and why?

Still Wanna make a small cutscene where she goes on the bike and jumps the gap at the end of the road.

klonoa
Posts: 59
Joined: Mon Nov 21, 2011 3:53 pm

Re: My first nes game! (DemonDistrict)

Post by klonoa » Mon Nov 18, 2019 5:34 am

calima wrote:Very nice for a first game. I like games in this style and horror in general.

I didn't play long, so just some polish would be needed for what I noticed:
- button state isn't cleared between stuff (press start to start the game when the chick is shown -> it opens the menu in-game)
- things are jumpy when the menu opens
- scrolling between screens isn't smooth
- sprites not shown during scroll, they snap out and in
Thanks! :D

Could you be more specific?
What do you mean with the button state not being cleared?

With scrolling not being smooth do you mean the screen stalls a bit before scrolling?

The sprites not shown during a scroll was a small sacrifice I made.
Might improve on that later.

klonoa
Posts: 59
Joined: Mon Nov 21, 2011 3:53 pm

Re: My first nes game! (DemonDistrict)

Post by klonoa » Mon Nov 18, 2019 5:35 am

rainwarrior wrote:I survived!

Congrats on making this.
Thanks! :D

Post Reply