First NES game (Mineshaft)

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

Moderator: Moderators

User avatar
Nioreh
Posts: 115
Joined: Sun Jan 22, 2012 11:46 am
Location: Stockholm, Sweden

First NES game (Mineshaft)

Post by Nioreh »

Hi all

A couple of weeks ago I started reading up on making NES games. I don't know why, but I grew up with NES and I stumbled upon the PowerPak online and thought "I need to try this". I have previously done flash games and other small projects. I have never done much assembly, so when I found Shiru's guide on NES programming in C I was very excited. I had previously read the Nerdy Nights tutorial, and in combination there is all the info that one needs to make a small game really quickly.

I would like to share my first try at NES programming. I did all the graphics and music in NES Screen Tool and FamiTracker. The game was programmed mostly in C using Shiru's library, plus a little bit of assembly (to get the parallax scrolling to work).

It's a very simple game. It goes on until you die, and then you are presented with your score. Basic NROM 128. (Of which most is unused :)) The sound effects are a little buggy (don't know why), but they do the job. Controls are left and right only. You lose life if you step on the red platforms, regain it by stepping on blue ones. Don't get crushed by the ceiling, and don't fall off the bottom.

Please try it out. Maybe it will fit on the "Action 53" :D

Thanx to nesdev and nintendoage for all the great threads I've read! And a special thanks to Shiru, whose font I stole and for his great C library!

Link here:
http://www.fileden.com/files/2009/12/8/ ... eShaft.nes

PS. Can I enter the 2012 compo whit this?
Denine
Posts: 397
Joined: Wed Feb 17, 2010 5:42 pm

Post by Denine »

Fabolous game! :D
I find it very entertaining.So era of NES Games written in C is about to start? 8)
As far as I know, anyone can enter with any(playable) game\program for NES.Besides, Your game is much better than my last compo entry, so they have to let you in :twisted:
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Great job with the game Nioreh. I remember getting addicted to a game like this on an old probably NOAC-based handheld system I used to have.

But come A53 release, I'd like to have the source code for this so that I can combine it with other minigames in the same 32 KiB PRG bank. (They can use separate CHR banks of a CNROM if needed.) The biggest bottleneck is number of PRG ROM banks.

Denine: If it becomes nearly as easy to make an NES game as it was to make a GBA game, and people become aware of this, expect more NES games.


EDIT: This one also needs 803C:F0 to work in a multicart.
Last edited by tepples on Mon Jan 30, 2012 6:11 pm, edited 1 time in total.
User avatar
infiniteneslives
Posts: 2104
Joined: Mon Apr 04, 2011 11:49 am
Location: WhereverIparkIt, USA
Contact:

Post by infiniteneslives »

Wow this is a pretty good game. Is there an end to it or does it just keep going?

My first couple times through I thought I might have some criticisms, but as I played a few more times I got an appreciation for how you set everything up.

I will say though that the parallax effect is pretty cool, but it kinda messed with my vision a bit after playing for 10 mins or so. My computer screen keep seeming like it was scrolling down even though it wasn't for about a minute. :) Its possible this would have happened even without the parallax effect, but I'm not sure.

Looks like a great early entry to the compo IMO. And since you were able to whip it out so quickly looks like you've got time for more entries!
Shiru
Posts: 1161
Joined: Sat Jan 23, 2010 11:41 pm

Post by Shiru »

Cool! A nice little game. It is similar to TI 83's Fall Down that was implemented for NES at MiniGame Compo once (4K or something), but with more features and stuff, and better gameplay.

I'm glad that my code and article were useful.
User avatar
Bregalad
Posts: 8056
Joined: Fri Nov 12, 2004 2:49 pm
Location: Divonne-les-bains, France

Post by Bregalad »

Ah, good old falldown, we spend hours playing this during courses at college.
Useless, lumbering half-wits don't scare us.
User avatar
l_oliveira
Posts: 409
Joined: Wed Jul 13, 2011 6:51 am
Location: Brasilia, Brazil

Post by l_oliveira »

Excellent game ! I'm now a fan !

How come I never ever played the original game this is based on ? :o
User avatar
Nioreh
Posts: 115
Joined: Sun Jan 22, 2012 11:46 am
Location: Stockholm, Sweden

Post by Nioreh »

Thanks for the great comments. The game is based on NS Shaft for the Mac, which I used to play a lot in the 90-s.
Tempy
Posts: 3
Joined: Sun Nov 13, 2011 2:43 pm

Post by Tempy »

Good job! Worthy entry. Got a score of 55 on my first try.

Small suggestion: You could add pickups to increase score.
snarfblam
Posts: 143
Joined: Fri May 13, 2011 7:36 pm

Post by snarfblam »

Pretty nifty.

I did notice a little bug. If you walk off a platform and immediately steer back toward it, you will land on it again. If you do it repeatedly, you can refill your life on a single blue platform (although I died a couple of times trying to do it).

Still, fun little game, and pretty good for your first game. I feel a little more encouraged about the idea of trying to make my own homebrew game some day.
Heavy Stylus
Posts: 9
Joined: Fri Sep 23, 2011 2:02 pm

Post by Heavy Stylus »

It's not a bug, it's a feature!

PROTIP: stepping on and off the blue platforms can refill your healthbar! ;)

Great little game this - would love to see an improved version with perhaps a selection of different backgrounds and improved graphics (titlescreen in particular).

Might even get a cart of this made for my famicom :)
User avatar
NESHomebrew
Formerly WhatULive4
Posts: 418
Joined: Fri Oct 30, 2009 4:43 am
Contact:

Post by NESHomebrew »

I came here expecting to see something Minecraft related. It's official, Mojang has corrupted my mind...

Congrats, you have gotten a lot farther than people who have been doing this for years.
tepples
Posts: 22708
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

WhatULive4 wrote:I came here expecting to see something Minecraft related. It's official, Mojang has corrupted my mind...
In a parallel universe, on another board, discussing a Mojang game:
WhatUAspire2 wrote:I came here expecting to see something Elder Scrolls related. It's official, Bethesda has corrupted my mind...
nesworld
Posts: 17
Joined: Sun Jun 24, 2007 4:17 pm
Location: Denmark
Contact:

Post by nesworld »

What an awesome little game, thanks a lot :-)
-----------------------------------------------------------
Owner of www.nesworld.com
User avatar
aliman
Posts: 19
Joined: Sun Jan 22, 2012 1:19 pm

Post by aliman »

really well done game;)
Post Reply