Skip navigation
NintendoAge
Welcome, Guest! Please Login or Join
Loading...

Homebrew NintendoAge Programming Resources Tutorials, Hints, Tips, Examples, Etc.

May 15, 2010 at 6:41:31 PM
Mario's Right Nut (352)
avatar
(Cunt Punch) < Bowser >
Posts: 6634 - Joined: 11/21/2008
Texas
Profile

This thread will organize the resources that will be beneficial to programmers at any level.  Anyone can submit a tutorial, tips, hints, working examples, or just code snips that will be helpful to the site at large.  Programming and NintendoAge are meant to be fun, and I'd like to see them stay that way.  These are in no way meant to be "professional".  Just one member helping another.  Hopefully our knowledge can then benefit more people. 



Please PM me if you have something you'd like listed or attached here so I don't miss your request. 



Write Ups:
MMC1 Memory Mapping



Game Engine Building:
#1: Sprite Movement, Animation, and Meta Sprites
#2: Playable Character, Bit Testing, Game States, and CPU Us...
#3: Tile Molestor and Weapons
#4: Sprite Collisions
#5: Background Compression
#6: Background Set Up, CHR_RAM, and Room Indexing
#7: Background Collision Detection
#8: Sprite Cycling and Attribute Handling



World Building with SGP:
#0: Introductions
#1: Foundations of NES Graphics
#2: Introduction to NES Graphics Editors



Working Examples:
Background Horizontal Scrolling Buffer
Top Status Bar Scroller
Unlocking the Power of the Game Genie
http://www.instructables.com/id/The-Genuine-NES-Bartop/



Tools:
NES Development Toolbox



Dev Blogs:
http://www.tummaigames.com/blog - MetalSlime
http://www.khangames.com - KHAN_Games
http://www.morphcat.de/blog... - Miau
http://www.gradualgames.blogspot.com - Gradulore
http://cinematicbazaar.com/... - ProgrammingAce
http://sivak.nintendoage.com/ - Sivak
http://sds.robertlbryant.com/ - Roth
http://pineight.com/... - Tepples
http://dpadhero.com/blog/... - SnowBro
Mario's Right Nut Dev blog/profile - MRN
http://kkfos.aspekt.fi/projects/nes/
http://nessylum.wordpress.com/
http://1010howe.blogspot.com/ - rizz

 

 


-------------------------

This is my shiny thing, and if you try to take it off me, I may have to eat you.

Check out my dev blog.



Edited: 09/03/2018 at 02:27 PM by NintendoAge Moderator

May 15, 2010 at 10:39:00 PM
NESHomebrew (21)
avatar
(Brad Bateman - Strange Brew Games) < King Solomon >
Posts: 4264 - Joined: 04/28/2008
Saskatchewan
Profile

May 15, 2010 at 11:18:29 PM
bunnyboy (81)
avatar
(Funktastic B) < Master Higgins >
Posts: 7704 - Joined: 02/28/2007
California
Profile
Could also link to the dev blogs here, like the biggest one on the site http://www.nintendoage.com/index....

May 16, 2010 at 12:57:51 AM
Roth (67)
avatar
(Rob Bryant) < Lolo Lord >
Posts: 1777 - Joined: 09/14/2006
Illinois
Profile
Originally posted by: WhatULive4
http://robertlbryant.com/gaming/dev.htm 

Change that to:

http://sds.robertlbryant.com... please! But thanks for the links, there are two there that I need to scope out!

-------------------------
http://slydogstudios.org...

May 16, 2010 at 1:02:42 AM
NESHomebrew (21)
avatar
(Brad Bateman - Strange Brew Games) < King Solomon >
Posts: 4264 - Joined: 04/28/2008
Saskatchewan
Profile
Originally posted by: Roth

Originally posted by: WhatULive4
http://robertlbryant.com/gaming/dev.htm 

Change that to:

http://sds.robertlbryant.com please! But thanks for the links, there are two there that I need to scope out!

Done! <-- And thanks, I didn't know you had an different site.

Jun 9, 2010 at 4:38:23 PM
Mario's Right Nut (352)
avatar
(Cunt Punch) < Bowser >
Posts: 6634 - Joined: 11/21/2008
Texas
Profile
Updated and a little more organized! Thanks guys. Anything else?

-------------------------

This is my shiny thing, and if you try to take it off me, I may have to eat you.

Check out my dev blog.


Aug 26, 2010 at 1:27:27 PM
steamx (0)

(Kevin P) < Cherub >
Posts: 5 - Joined: 07/26/2010
Germany
Profile
Anyone mention nesdev? They got a huge list! http://nesdev.parodius.com/...
Sweet tutorial: http://patater.com/gbaguy/nesasm....
Some text about the 6502 microprocessor: http://www.zophar.net/fileuploads...
And a sweet wiki: http://6502.wikicomplete.info/sta...

-------------------------
 


Edited: 08/26/2010 at 01:38 PM by steamx

Aug 26, 2010 at 6:33:29 PM
NESHomebrew (21)
avatar
(Brad Bateman - Strange Brew Games) < King Solomon >
Posts: 4264 - Joined: 04/28/2008
Saskatchewan
Profile
GBA GUY TUTORIAL IS CRAPPY AND FULL OF ERRORS. DO NOT USE IT!!!

Jun 12, 2011 at 2:49:35 AM
NESHomebrew (21)
avatar
(Brad Bateman - Strange Brew Games) < King Solomon >
Posts: 4264 - Joined: 04/28/2008
Saskatchewan
Profile
Seems Kevin's site has been down for a while now.

Oct 25, 2011 at 11:06:11 PM
KHAN Games (89)
avatar
(Kevin Hanley) < Master Higgins >
Posts: 8123 - Joined: 06/21/2007
Florida
Profile
I was too cheap to renew.

-------------------------

gauauu: look, we all paid $10K at some point in our lives for the privilege of hanging out with Kevin


Jul 26, 2012 at 2:52:38 PM
Aaendi (0)

(Andy Koenigs) < Eggplant Wizard >
Posts: 332 - Joined: 05/31/2012
United States
Profile
http://aaendi.blogspot.com/...

I have a development blog too. I just want to warn you that I am very critical of "industry standard programming techniques," because I feel that they block game developers from taking advantage of the system's capabilities.


Edited: 07/26/2012 at 02:53 PM by Aaendi

Mar 28, 2014 at 1:44:26 AM
gomygomy (0)
This user has been banned -- click for more information.
< Cherub >
Posts: 9 - Joined: 03/26/2014
Profile
i am very happy to find it. Thanks for this.

All Games Free
www.zeeshankhanworld.in...

Jun 6, 2014 at 10:21:16 PM
GradualGames (39)
avatar
(Derek Andrews) < El Ripper >
Posts: 1128 - Joined: 10/09/2009
Pennsylvania
Profile
As requested in "Why haven't you learned to program for NES yet?" I created a small ASM6 demo showing how you can create circular movement with nothing but addition. You can download it here

-------------------------
Creators of: Nomolos: Storming the CATsle, and The Legends of Owlia.

Jun 7, 2014 at 1:11:37 AM
DoNotWant (1)

(Ham Sammich) < Eggplant Wizard >
Posts: 441 - Joined: 12/08/2011
Sweden
Profile
Originally posted by: GradualGames

As requested in "Why haven't you learned to program for NES yet?" I created a small ASM6 demo showing how you can create circular movement with nothing but addition. You can download it here

Nice, thanks! Always nice with these kinds of examples.

-------------------------
 

Jun 7, 2014 at 3:33:00 AM
user (6)

< El Ripper >
Posts: 1462 - Joined: 05/30/2014
Profile
Originally posted by: GradualGames
I created a small ASM6 demo
Nice. Thanks. It can be a useful code in many projects I guess, I will check it out better.
Cheers!


Nov 28, 2014 at 5:59:20 PM
Vectrex28 (130)
avatar
(CD-i Kraid) < Master Higgins >
Posts: 7789 - Joined: 07/28/2012
Switzerland
Profile
http://www.nintendoage.com/forum/...

Made a little Parallax Scrolling Demo. Feel free to add it

-------------------------
"Energy Tanks, Missiles, Power Bombs... You want it? It's yours my friend! As long as you have enough credits!"


Jun 16, 2015 at 9:40:02 PM
M-Tee (27)
avatar
(M Tee) < Eggplant Wizard >
Posts: 425 - Joined: 02/24/2014
Profile
It's graphics-related, not programming, but I wanted to share this with The Brewery and didn't want to start a new thread, so I reckon I'd just share it here.

A couple of years ago, I designed a custom graph paper with a pixel grid that included both 8 and 16 pixel dividing lines. I print and bind them into sketchbooks and do most of my doodling in these. 



If anyone wants to try it out, you can download it here.

Or check out my overly-wordy blog entry about the paper here.


Edited: 06/16/2015 at 09:49 PM by M-Tee

Jul 25, 2015 at 6:09:22 AM
Vectrex28 (130)
avatar
(CD-i Kraid) < Master Higgins >
Posts: 7789 - Joined: 07/28/2012
Switzerland
Profile
Originally posted by: M-Tee

It's graphics-related, not programming, but I wanted to share this with The Brewery and didn't want to start a new thread, so I reckon I'd just share it here.

A couple of years ago, I designed a custom graph paper with a pixel grid that included both 8 and 16 pixel dividing lines. I print and bind them into sketchbooks and do most of my doodling in these. 



If anyone wants to try it out, you can download it here.

Or check out my overly-wordy blog entry about the paper here.


That's super awesome man! I'm used to do all my graphics directly on my tile editor but the 16x16 dividing lines are a real plus, especially when doing metatile-based games like Godzilla

-------------------------
"Energy Tanks, Missiles, Power Bombs... You want it? It's yours my friend! As long as you have enough credits!"


Jun 2, 2016 at 2:29:52 PM
Mega Mario Man (63)
avatar
(Tim ) < Ridley Wrangler >
Posts: 2743 - Joined: 02/13/2014
Nebraska
Profile
Maybe some of you already know this or have your own source, but I found this nice little data random generator that is great for randomizing tables in your code instead of doing it by hand. I had 60+ 16 byte tables I had to randomize 1 by 1 and doing it by hand was terrible until I found this site. You just copy in the table with commas and it will output a new table with commas.

http://www.psychicscience.org/ran...

IN:   $01,$02,$03,$04,$05,$06,$07,$08,$09,$10,$11,$12,$00,$00,$00,$00
OUT: $12,$10,$00,$08,$00,$06,$02,$00,$09,$07,$11,$04,$00,$01,$03,$05

-------------------------
Current Project
Isometric Survival Horror

Older Projects
Tailgate Party, Power Pad Demo, Happy Hour

Links
Store, Facebook, Twitter

Jul 23, 2016 at 5:04:12 PM
Cyrnin (0)

< Cherub >
Posts: 2 - Joined: 01/02/2016
Profile
I'm looking for something along the lines of a SNES dev kit. The 16 bit era was very good to me and I want to make games in that vein.

-------------------------
Keep my collection via Collectorz (CLZ). Working on Updating Forum Collection

Dec 22, 2016 at 2:54:05 AM
AndyBro (0)
avatar
(Andy McIsaac) < Tourian Tourist >
Posts: 21 - Joined: 10/31/2015
Alabama
Profile
Can an nes game be made with GameMaker software for us code inept folks?

Dec 22, 2016 at 7:58:04 PM
Mega Mario Man (63)
avatar
(Tim ) < Ridley Wrangler >
Posts: 2743 - Joined: 02/13/2014
Nebraska
Profile
Originally posted by: AndyBro

Can an nes game be made with GameMaker software for us code inept folks?





Nothing like that available. Either have to learn NESASM Assembly to use the tutorials on here, another Assembly language for other compilers, or C using Shiru's stuff. Nothing out there that allows you to do it from a canned software.

-------------------------
Current Project
Isometric Survival Horror

Older Projects
Tailgate Party, Power Pad Demo, Happy Hour

Links
Store, Facebook, Twitter

Dec 23, 2016 at 1:30:34 AM
AndyBro (0)
avatar
(Andy McIsaac) < Tourian Tourist >
Posts: 21 - Joined: 10/31/2015
Alabama
Profile

Originally posted by: Mega Mario Man (sorry noob here not sure how I deleted this lol fakkk)

Nothing like that available. Either have to learn NESASM Assembly to use the tutorials on here, another Assembly language for other compilers, or C using Shiru's stuff. Nothing out there that allows you to do it from a canned software.
Ok thanks it's time, I think, to start putting it all together. I played with famitracker for an hour and produced some majic I feel. Nothing special to the trained chip tune sorcerer, but a good start (if you click on my soundcloud link you'll find the top post is this first crack I took at it) I have much to learn for sure, including dpcms. Now to try Learning code. The brew has to start somewhere. Really glad to have had some great feed back already from yourself and others. Happy holidays.

 


Edited: 12/23/2016 at 01:35 AM by AndyBro

Dec 23, 2016 at 4:06:30 AM
user (6)

< El Ripper >
Posts: 1462 - Joined: 05/30/2014
Profile
Originally posted by: AndyBro

Ok thanks it's time, I think, to start putting it all together. I played with famitracker for an hour and produced some majic I feel. Nothing special to the trained chip tune sorcerer, but a good start (if you click on my soundcloud link you'll find the top post is this first crack I took at it) I have much to learn for sure, including dpcms. Now to try Learning code. The brew has to start somewhere. Really glad to have had some great feed back already from yourself and others. Happy holidays.
 


Assembly

http://vintage.nintendoage.com/forum/messageview.cfm?catid=2...

If interested in 6502 assembly, I also advice a good reading to the list of opcodes, and to keep it close while experimenting with your code:

http://www.obelisk.me.uk/6502/reference.html

make sure to understand concepts such accumulator, x and y registers, and processor flags.


C

http://vintage.nintendoage.com/forum/messageview.cfm?catid=2...

FamiTracker

http://vintage.nintendoage.com/forum/messageview.cfm?catid=2...


Happy Holidays as well.  

Dec 23, 2016 at 8:00:19 AM
Mega Mario Man (63)
avatar
(Tim ) < Ridley Wrangler >
Posts: 2743 - Joined: 02/13/2014
Nebraska
Profile
Originally posted by: AndyBro
 

Originally posted by: Mega Mario Man (sorry noob here not sure how I deleted this lol fakkk)

Nothing like that available. Either have to learn NESASM Assembly to use the tutorials on here, another Assembly language for other compilers, or C using Shiru's stuff. Nothing out there that allows you to do it from a canned software.
Ok thanks it's time, I think, to start putting it all together. I played with famitracker for an hour and produced some majic I feel. Nothing special to the trained chip tune sorcerer, but a good start (if you click on my soundcloud link you'll find the top post is this first crack I took at it) I have much to learn for sure, including dpcms. Now to try Learning code. The brew has to start somewhere. Really glad to have had some great feed back already from yourself and others. Happy holidays.

 
Just remember, there are plenty of brewers out there that had 0 experience with coding and were able to pick this up. Just remember, you won't learn it all over night, or in a month, or 3 months, or even a year! I'm 2.5 years into and still don't know a lot, such as collision code, metasprites, and scrolling. But here I am, slogging away on a game that will be released this year. I did study many programming languages in college, but I pretty much retained none of them and really hated it. But I was able to learn from the tutorials on here with no issues with minimal background. I pretty much only understood how to operate hexidecimal and binary numbers with my computer and networking background. 6502 Assembly and NES hardware were uncharted waters for me.
 

-------------------------
Current Project
Isometric Survival Horror

Older Projects
Tailgate Party, Power Pad Demo, Happy Hour

Links
Store, Facebook, Twitter