It is currently Wed Dec 19, 2018 12:52 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Sep 20, 2018 4:20 pm 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 2359
Location: DIGDUG
Does anyone think I should increase the # of metatiles? Currently my code can use up to 51 (5 bytes each). But with a slight modification, that could be 102.

In my mind (before) you could swap metatile definitions for each type of level. I thought 51 should be enough.

Just wondering what other people think.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Thu Sep 20, 2018 5:28 pm 
Offline
User avatar

Joined: Tue Jun 24, 2008 8:38 pm
Posts: 2131
Location: Fukuoka, Japan
Since it's a tutorial for learning about the nes, yes, it should be fine. Once the user know enough to do things on their own, they can update the code and add those extra metatile they are missing. It should be part of the learning process anyway, to extend to make it work the way you want :)


Top
 Profile  
 
PostPosted: Fri Sep 21, 2018 12:58 am 
Offline

Joined: Mon May 27, 2013 9:40 am
Posts: 500
Most of my games use 16 or 32 as per "section", I think it's more than enough.

_________________
http://www.mojontwins.com


Top
 Profile  
 
PostPosted: Fri Sep 21, 2018 7:08 am 
Offline
User avatar

Joined: Sat Jan 09, 2016 9:21 pm
Posts: 519
Location: Central Illinois, USA
Banshaku wrote:
Since it's a tutorial for learning about the nes, yes, it should be fine. Once the user know enough to do things on their own, they can update the code and add those extra metatile they are missing. It should be part of the learning process anyway, to extend to make it work the way you want :)


Agreed. It's a tutorial, not an all-purpose framework. Arbitrary limitations are fine. People following your tutorials are eventually going to have to learn to do things themselves.

_________________
My games: http://www.bitethechili.com


Top
 Profile  
 
PostPosted: Fri Sep 21, 2018 10:38 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 2359
Location: DIGDUG
True. Just trying to anticipate "how do I expand your code to do X" questions.

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
PostPosted: Tue Dec 11, 2018 6:55 am 
Offline
User avatar

Joined: Fri May 08, 2015 7:17 pm
Posts: 2359
Location: DIGDUG
I wrote a function for changing song speed manually (a while back).

It occurred to me today, as I was working on music code, that you could have greater flexibility over song speed, AND not interfere with Fxx effects if you instead adjusted the FT_TEMPO_STEP_L and FT_TEMPO_STEP_H.

Bigger for faster.

I might edit my code... later (I'm busy).

_________________
nesdoug.com -- blog/tutorial on programming for the NES


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC - 7 hours


Who is online

Users browsing this forum: Memblers and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group