Scroll glitches after binding it with button

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

tepples
Posts: 21946
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Scroll glitches after binding it with button

Post by tepples » Sun Aug 20, 2017 7:55 pm

My cousin is making Nova the Squirrel and has put its source code on GitHub.

User avatar
TeMaToS
Posts: 20
Joined: Tue Aug 08, 2017 1:25 pm

Re: Scroll glitches after binding it with button

Post by TeMaToS » Mon Aug 21, 2017 4:02 am

tepples wrote:My cousin is making Nova the Squirrel and has put its source code on GitHub.
Damn man! Its awesome! You know, this night i exactly look at his game, but i don't see source code in this forum. Realy cool side scroll, thank you and your cousin!))

User avatar
TeMaToS
Posts: 20
Joined: Tue Aug 08, 2017 1:25 pm

Re: Scroll glitches after binding it with button

Post by TeMaToS » Mon Aug 21, 2017 4:14 am

tepples wrote:My cousin is making Nova the Squirrel and has put its source code on GitHub.
Oh, I saw that it's C language. I know this language but I wanna to make it in assembler((

User avatar
TeMaToS
Posts: 20
Joined: Tue Aug 08, 2017 1:25 pm

Re: Scroll glitches after binding it with button

Post by TeMaToS » Mon Aug 21, 2017 4:15 am

I'll give you .nes file of my game to better understending for you what happens with my game
Attachments
controller.nes
(24.02 KiB) Downloaded 86 times

tepples
Posts: 21946
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: Scroll glitches after binding it with button

Post by tepples » Mon Aug 21, 2017 6:12 am

TeMaToS wrote:
tepples wrote:My cousin is making Nova the Squirrel and has put its source code on GitHub.
Oh, I saw that it's C language. I know this language but I wanna to make it in assembler((
Which files are in C? The entire src folder (the game itself) is in assembly language, though some of the processes to convert things like images or audio to a format usable by the engine use tools written in C or Python that run on the PC when the game is built.

User avatar
TeMaToS
Posts: 20
Joined: Tue Aug 08, 2017 1:25 pm

Re: Scroll glitches after binding it with button

Post by TeMaToS » Mon Aug 21, 2017 8:30 am

tepples wrote:
TeMaToS wrote:
tepples wrote:My cousin is making Nova the Squirrel and has put its source code on GitHub.
Oh, I saw that it's C language. I know this language but I wanna to make it in assembler((
Which files are in C? The entire src folder (the game itself) is in assembly language, though some of the processes to convert things like images or audio to a format usable by the engine use tools written in C or Python that run on the PC when the game is built.
Oh, grate. But how to compile this game? Can you tell me that please?

I believe that there is a side scrolling system writed by hends, without allready created programs.

User avatar
NovaSquirrel
Posts: 382
Joined: Fri Feb 27, 2009 2:35 pm
Location: Fort Wayne, Indiana
Contact:

Re: Scroll glitches after binding it with button

Post by NovaSquirrel » Mon Aug 21, 2017 9:57 am

TeMaToS wrote:Oh, grate. But how to compile this game? Can you tell me that please?
With ca65 and ld65 on the path, run mk.bat. I think the only C parts are the level editor, dialog compiler and table creator.

User avatar
TeMaToS
Posts: 20
Joined: Tue Aug 08, 2017 1:25 pm

Re: Scroll glitches after binding it with button

Post by TeMaToS » Mon Aug 21, 2017 1:42 pm

NovaSquirrel wrote:
TeMaToS wrote:Oh, grate. But how to compile this game? Can you tell me that please?
With ca65 and ld65 on the path, run mk.bat. I think the only C parts are the level editor, dialog compiler and table creator.
Hey!) I'ts you make Nova The Squirrel?)
Yes, I try to open this file, but in the window i see writes: "ca65" is not internal/external command. It's mean that I need to install ca65?

User avatar
TeMaToS
Posts: 20
Joined: Tue Aug 08, 2017 1:25 pm

Re: Scroll glitches after binding it with button

Post by TeMaToS » Mon Aug 21, 2017 1:45 pm

NovaSquirrel wrote:
TeMaToS wrote:Oh, grate. But how to compile this game? Can you tell me that please?
With ca65 and ld65 on the path, run mk.bat. I think the only C parts are the level editor, dialog compiler and table creator.
Looking at your game and manual in nesdev i think that I understand my problem. It's could consist in column drawing, i drow only one column when it's devide by 8, and I need to make two columns becose it better to align tiles with atributes. Ma be it's help to someone)

User avatar
TeMaToS
Posts: 20
Joined: Tue Aug 08, 2017 1:25 pm

Re: Scroll glitches after binding it with button

Post by TeMaToS » Tue Aug 22, 2017 10:35 am

HEY ALL GUYS!
I SOLVE MY PROBLEM!!
AMA MAZA-FAZA GENIOUS!!!

Ok, believe that my reply help to someone. The problem existed in deviding scroll by 8. In bunnyboy tutorial, the sample code has side scrolling system only when character always go right. So I sink that only removing increment of scroll to move button will gives a needeble effect. But it was wrong thing. Becouse you need to do increment in two places:
1) when the scroll get the 0 positions, becouse it makes always switching between NT.
2) Is when scroll divide by 8 to check new column, you must to increment scroll to or to disable infinity column drawings.

Thats all:)
Thanks for all you guys, who try to help me))))
It's realy awesome to speak with like-mind people!))

Post Reply