Search found 17 matches

by andreasswf
Thu Oct 06, 2016 11:46 pm
Forum: Newbie Help Center
Topic: Problems with implementing famitone into my code
Replies: 6
Views: 2469

Re: Problems with implementing famitone into my code

If i understand correctly, the base adresses are these stuff:

Code: Select all

.org $8000
  .incbin "story.txt"   
  .org $C000
  
  .include "music.asm"
  .include "famitone2.asm"/code]

What would be a good thing to change it to?
by andreasswf
Tue Oct 04, 2016 11:58 pm
Forum: Newbie Help Center
Topic: Problems with implementing famitone into my code
Replies: 6
Views: 2469

Problems with implementing famitone into my code

So I've found this cool CYOA-engine at nintendoage and I was trying to implement my music. Turns out when I .inc famitone and put the jsr famitoneupdate and other commands into my cyoa.asm - it crashes the rom or makes the controls unresponsive when I compile it. Have I put the commands in wrong pla...
by andreasswf
Fri Dec 11, 2015 12:26 pm
Forum: Newbie Help Center
Topic: Trying to make a working platformer engine?
Replies: 14
Views: 4829

Re: Trying to make a working platformer engine?

Take time to look at other people's code, learn how to do things better with the code. Nerdy Night's coding is a disaster, and I'm surprised anyone using just that as reference on how to do things get anywhere in their projects. I agree with you saying that taking time to look at other peoples code...
by andreasswf
Thu Dec 10, 2015 1:39 pm
Forum: Newbie Help Center
Topic: Trying to make a working platformer engine?
Replies: 14
Views: 4829

Re: What is going wrong in my collision code?

Yes? I tried changing LeftMovement: LDA #$03 STA enemy_direction LDA sprite_RAM+3 <--- This into LDA SBC #$02 - But it makes the game freeze when I press left now :S SEC SBC #enemy_speed STA sprite_RAM+3 Maybe I'm a lost cause. Ugh... I just want this guy to be able to fall from platforms and move o...
by andreasswf
Thu Dec 10, 2015 9:51 am
Forum: Newbie Help Center
Topic: Trying to make a working platformer engine?
Replies: 14
Views: 4829

Re: What is going wrong in my collision code?

I mean... You seem to be doing left right moves by adding/subtracting to "sprite_RAM+3". I would replace this with Left button = --Xspeed and Right button = ++Xspeed. (or something like that). And only later put it into the Sprite RAM. Ah, yes. I understand if you are having a hard time w...
by andreasswf
Thu Dec 10, 2015 9:32 am
Forum: Newbie Help Center
Topic: Trying to make a working platformer engine?
Replies: 14
Views: 4829

Re: What is going wrong in my collision code?

Replace INC sprite_RAM With INC Yspeed Replace L/R moves to Xspeed changes. Limit speed to a maximum. Add Xspeed to the Xposition. Check X collision. Add Yspeed to the Yposition. Check Y collision. It's a timing issue. You'll figure it out. With replaceing L/R moves to xspeed changes, you mean L/R ...
by andreasswf
Thu Dec 10, 2015 3:35 am
Forum: Newbie Help Center
Topic: Trying to make a working platformer engine?
Replies: 14
Views: 4829

Re: What is going wrong in my collision code?

Thank you very much for your reply, Dougeff. First. About the "unconditional gravity" at INC sprite_RAM ;;;<<<<<<<<<<<< MOVES DOWN ONE PIXEL It makes my character move down 1 pixel per frame. If I understand you correctly you advice me to change it so that my character only moves down when...
by andreasswf
Wed Dec 09, 2015 10:08 am
Forum: Newbie Help Center
Topic: Trying to make a working platformer engine?
Replies: 14
Views: 4829

Trying to make a working platformer engine?

Hi NESDev! Here comes Andreasswf with some more stupid questions. Well, last time some of you helped me figure out what I did wrong with famitone2 and helped me learn exactly how it works. You are great teachers and I can't thank you enough! I hope these following questions are not too bad/stupid to...
by andreasswf
Sun Dec 06, 2015 1:21 am
Forum: Newbie Help Center
Topic: Problems with Famitone
Replies: 20
Views: 5497

Re: Problems with Famitone

Thank you for all your help :D The song is playing now but it appears that my tom drums doesn't play properly at all... Hmm... I wonder if it is the pitch envelope that is not supported or working correctly :/ I composed a new short song, exported into .txt as music.txt and now my .bat file doesnt c...
by andreasswf
Sat Dec 05, 2015 9:27 am
Forum: Newbie Help Center
Topic: Problems with Famitone
Replies: 20
Views: 5497

Re: Problems with Famitone

.bank 2 .org $0000 .incbin "mario.chr" ;includes 8KB graphics file from SMB1 .include "music.asm" .include "famitone2.asm" You cannot put code in the same bank as your graphics. Move those includes into bank 0 or bank 1. An .NES file is PRG ROM followed by CHR ROM (if ...
by andreasswf
Sat Dec 05, 2015 6:42 am
Forum: Newbie Help Center
Topic: Problems with Famitone
Replies: 20
Views: 5497

Re: Problems with Famitone

So now when i added FamitoneUpdate into the NMI code in background.asm my character wont move anymore :S I did add the code under famitoneinit in famitone2.asm which didnt make any new problems while compiling.. and i put music_music_data:;Song in .music.asm No sound playback right now :/ this is th...
by andreasswf
Sat Dec 05, 2015 4:40 am
Forum: Newbie Help Center
Topic: Problems with Famitone
Replies: 20
Views: 5497

Re: Problems with Famitone

OK, I only spent a few minutes on this, (and I use asm6), but this is essentially how you get the music to work. uncomment all the variables at the top of famitone2.asm...(remove the semicolons), like this... FT_BASE_ADR = $0300 FT_TEMP = $00 FT_DPCM_OFF = $c000 FT_SFX_STREAMS = 4 FT_DPCM_ENABLE FT...
by andreasswf
Fri Dec 04, 2015 8:26 am
Forum: Newbie Help Center
Topic: Problems with Famitone
Replies: 20
Views: 5497

Re: Problems with Famitone

Okay, cool =) Now I'm just going to figure out how to get this into my main code/ my main .asm which is background.asm. It says in the readme to include music.asm and famitone.asm. When i type .include "music.asm" i get no problems, but when i also do .include "famitone.asm" it s...
by andreasswf
Fri Dec 04, 2015 7:23 am
Forum: Newbie Help Center
Topic: Problems with Famitone
Replies: 20
Views: 5497

Re: Problems with Famitone

You mean that if you open an actual command prompt window, it closes automatically? i.e. start, run, cmd, enter either doesn't give you a window, or it just closes immediately once it has opened? (Note that these instructions are not the same as double clicking an exe.) That's... potentially a larg...
by andreasswf
Fri Dec 04, 2015 5:15 am
Forum: Newbie Help Center
Topic: Problems with Famitone
Replies: 20
Views: 5497

Re: Problems with Famitone

Okay, so I should download an older version of famitracker and a newer version of famitone? And remove all my effects on my song? Too bad effects can't be used on famitone... Will make a pretty dull song when I choose to load one of my more complex songs...