NintendoAge http://nintendoage.com/forum/ -Sqooner Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-10-05T19:05:14 -05.00 Mario's Right Nut 44 Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-10-05T19:02:47 -05.00 Mario's Right Nut 44
Thanks again. ]]>
Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-10-05T15:48:55 -05.00 Mario's Right Nut 44  . ]]> Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-10-05T15:39:40 -05.00 Mario's Right Nut 44 Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-10-05T14:36:33 -05.00 Mario's Right Nut 44 Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-10-05T12:55:14 -05.00 Mario's Right Nut 44 Originally posted by: brilliancenp

So I think I fully understand this first tutorial now. I have redesigned my previous program to use it and is so much easier to understand. The one thing I cant seem to figure out is where the striped background is set? I would like to set it to just black for now. Where would I find where he is setting the background? Right now, there is no BG loading routine in that code.
You will first have to create and add a BG CHR file to the code (look at how Sprite_Data: section looks). Then load that chr file into the PPU (look at the LoadCompleteBank routine, right now it is just load the Sprite_Data). I would go back to the Nerdy Nights Background tutorials to see how he loads BG data into the PPU to get your new file up to speed.

In Nerdy Nights, all CHR files were 8kb since it held 256 sprite tiles and 256 background tiles. In this tutorial, the sprite CHR file is only 4kb because it only has the 256 sprite tiles. You will need a 4kb BG CHR file for BG tiles. Storing BG and Sprites in separate CHR files is very helpful down the road when you start bankswitching and needing more that 256 BG or Sprite tiles. Then you can swap out BG tiles but keep your sprite tiles or vice versa. You can create 4kb (or even othe sizes!) chr files in NES Screen Tool by going to the Patterns Menu and then selecting the Save CHR drop-down menu.

I hope this helps. This was a huge revalation for me when I finally figured out that you can split and load CHR data in chunks instead of 8kb at a time.

  ]]>
Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-10-05T11:37:08 -05.00 Mario's Right Nut 44 Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-09-22T08:06:06 -05.00 Mario's Right Nut 44 Originally posted by: brilliancenp

I have to say that this tutorial is teaching me a ton. Before someone told me about this in another post, I had finished the awesome NN tutorials and had made a program with a player character and all of its animations and movements and controls. It worked but it was ALOT of code. I have been working on the code in this tutorial for 3 days now, trying to understand all of it. As I understand it more and work it into my own program the code is getting so much smaller and concise. Thank you! I look forward to the next one. I feel this tutorial and tutorial #2 are a must after the NN tutorials. The others are great as well, but I feel these first 2 can point you in the proper direction. I use MRN's game engine in my games. I have not devled in the metasprites yet. Maybe someday, but it my next game, I will be loading my sprites in a way that metasprites aren't very helpful.

  ]]>
Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-09-22T00:12:17 -05.00 Mario's Right Nut 44 Game Engine Building #1: Sprite Movement, Animation, and Meta Sprites http://nintendoage.com/forum/messageview.cfm?catid=22&threadid=33378 2017-08-22T03:49:56 -05.00 Mario's Right Nut 44  . ]]>