Search found 64 matches

by lazerbeat
Tue Oct 20, 2015 8:23 am
Forum: Newbie Help Center
Topic: One tile in my metasprite seems "unstuck"
Replies: 7
Views: 2936

Re: One tile in my metasprite seems "unstuck"

Thanks very much for your help guys. I combined my two JSRs into one subroutine, >-Its good to save your registers when NMI starts (and restore them, when nmi ends). Forgive me by why is this? >-Updating the RAM Copy of OAM ($200 page in your case) in nmi is a waste of vblank time. I will work on th...
by lazerbeat
Mon Oct 19, 2015 6:40 am
Forum: Newbie Help Center
Topic: One tile in my metasprite seems "unstuck"
Replies: 7
Views: 2936

One tile in my metasprite seems "unstuck"

I have a simple little rom where I am learning about metasprites. I am trying to make the 4 sprites move across the screen to the left which they are doing. The only problem is, the top left one seems 'unstuck' I think it the best way to describe it. It moves a little out of sync with all the others...
by lazerbeat
Sun May 17, 2015 7:40 pm
Forum: Newbie Help Center
Topic: problem with inconsistent diagonal movement [SOLVED]
Replies: 3
Views: 1549

Re: problem with inconsistent diagonal movement

Whoops! I should have caught that. Thank you very much for pointing it out.

in case it is useful for anyone in the future, a pastebin of the working code

http://pastebin.com/nPEvsh43

And the working rom.
by lazerbeat
Sun May 17, 2015 7:16 pm
Forum: Newbie Help Center
Topic: problem with inconsistent diagonal movement [SOLVED]
Replies: 3
Views: 1549

problem with inconsistent diagonal movement [SOLVED]

spritefield.nes I am working on a little sprite field project for learning ASM and I am able to move the sprites diagonally downwards left or right at a 45 degree angle but upwards it is more like 22.5 degrees. I think I am moving my sprites 2 pixels horizontally for every one vertically but ONLY w...
by lazerbeat
Thu Apr 02, 2015 8:33 am
Forum: Newbie Help Center
Topic: Updating sprite positions from a look up table.
Replies: 4
Views: 1789

Re: Updating sprite positions from a look up table.

Yes and yes! Almost have it working, just need to smooth out my look up table a bit!

Thanks a lot,
by lazerbeat
Thu Apr 02, 2015 7:40 am
Forum: Newbie Help Center
Topic: Updating sprite positions from a look up table.
Replies: 4
Views: 1789

Re: Updating sprite positions from a look up table.

Thank you sir, just to clarify one frame is one complete cycle through my code right? (excluding setting up the variables / the header etc) It might also be a good idea to look for the end of the table, so toy can change the index back to 0 when it's reached. Ok so set something like this pseudo cod...
by lazerbeat
Thu Apr 02, 2015 6:27 am
Forum: Newbie Help Center
Topic: Updating sprite positions from a look up table.
Replies: 4
Views: 1789

Updating sprite positions from a look up table.

I have a really simple sprite I am trying to move around in a kind of triangle wave shape. so it is constantly moving left but alternates between moving up and down. This is the code I have movesprites: LDA $0203 ; load sprite X position SEC ; make sure the carry flag is clear SBC #$01 ; A = A - 1 S...
by lazerbeat
Fri Mar 13, 2015 4:44 pm
Forum: Newbie Help Center
Topic: Stuck changing sprites while pressing B
Replies: 3
Views: 1817

Re: Stuck changing sprites while pressing B

Thanks a lot, I will update my code and repost when I hopefully get it working!
by lazerbeat
Fri Mar 13, 2015 8:26 am
Forum: Newbie Help Center
Topic: Stuck changing sprites while pressing B
Replies: 3
Views: 1817

Stuck changing sprites while pressing B

I have been working on a little sprite demo based on a nerdynights tutorial, just moving around 64 sprites which I am pretty happy with. I have some code to update change the sprite tiles when I press B which my demo IS doing but it is doing it way too fast. I assume every frame. The code is pretty ...
by lazerbeat
Sat Jan 31, 2015 2:35 am
Forum: Homebrew Projects
Topic: Where are all you homebrewers from?
Replies: 19
Views: 6587

Re: Where are all you homebrewers from?

From the UK, living in Tokyo for a while now
by lazerbeat
Fri Jan 30, 2015 4:42 pm
Forum: Newbie Help Center
Topic: Creating a swaying background
Replies: 9
Views: 2990

Re: Creating a swaying background

Awesome job! I am going to try and code a project like this in the next few weeks.
by lazerbeat
Wed Jan 28, 2015 11:19 pm
Forum: NES Graphics
Topic: Anyone know of an ASM friendly lookup table generator?
Replies: 14
Views: 6911

Anyone know of an ASM friendly lookup table generator?

I am working on learning how to use sprites so I am making a lot of edits to long lists like this sprites: ;vert tile attr horiz .db $08, $00, $00, $a4 .db $08, $01, $00, $c9 .db $08, $02, $00, $84 .db $10, $03, $00, $88 with 64 entries Does anyone happen to know of a tool to generate tables like th...
by lazerbeat
Wed Jan 28, 2015 5:44 pm
Forum: Newbie Help Center
Topic: Is my learning path correct?
Replies: 11
Views: 4066

Re: Is my learning path correct?

for what it is worth I am very very new to ASM and I don't know any other programming languages other than BASIC on ZX spectrums probably 25 years ago. I have just dived right into the Nerdy Nights tutorials and the Nintendo age programming resources (http://www.nintendoage.com/forum/messageview.cfm...
by lazerbeat
Tue Jan 20, 2015 4:12 am
Forum: NES Graphics
Topic: NES Screen Tool
Replies: 293
Views: 215237

Re: NES Screen Tool

I adore NESst, using it daily at the moment! Would a "clear nametable" function like the "clear" function for the .chr files be possible?
by lazerbeat
Sun Jan 18, 2015 3:39 am
Forum: Newbie Help Center
Topic: Creating a swaying background
Replies: 9
Views: 2990

Re: Creating a swaying background

There are two demos on the wiki which might be useful. http://wiki.nesdev.com/w/index.php/Projects#stuff_by_Chris_Covell Both are by Chris Covell, http://nesdev.com/cmcwavy.zip This one some some nice horizontal waving. http://nesdev.com/Stretch.zip This one does cool vertical stretching. Hope this ...