Search found 112 matches

by kikutano
Thu Oct 03, 2019 11:54 pm
Forum: NESdev
Topic: Another noob question about address and label!
Replies: 4
Views: 3423

Re: Another noob question about address and label!

There are other ways, but here's one of the simpler ways to select from a list of addresses (allows up to 128 of them): address_table: .dw level_0_room_0 .dw level_0_room_1 lda #1 ; change this to load other rooms asl tax lda address_table,x sta MATRIX_LVL_ROOM_ADDR + 0 lda address_table+1,x sta MA...
by kikutano
Wed Oct 02, 2019 1:45 am
Forum: NESdev
Topic: Another noob question about address and label!
Replies: 4
Views: 3423

Re: Another noob question about address and label!

Ok thanks! I will try as soon as I can!
by kikutano
Wed Oct 02, 2019 12:29 am
Forum: NESdev
Topic: Another noob question about address and label!
Replies: 4
Views: 3423

Another noob question about address and label!

Hello! I'm working on a "level switch room", I just load my background in this way: level_0_room_0: .db $30,$31,$30,$31,$30,$31,$30,$31,$30,$31,$30,$31,$30,$31,$30,$31 ...... .db $40,$41,$40,$41,$40,$41,$40,$41,$40,$41,$40,$41,$40,$41,$40,$41 level_0_room_1: .db $D0,$D1,$D0,$D1,$D0,$D1,$D0,$00,$01,$...
by kikutano
Mon Sep 30, 2019 3:50 am
Forum: SNESdev
Topic: Random Cave/Dungeon Generation
Replies: 6
Views: 4703

Re: Random Cave/Dungeon Generation

I'm working a Roguelike on NES but create a randomized tiles is too slow, so I created some pre setted rooms and a random path from a room to another.
by kikutano
Fri Aug 30, 2019 12:53 am
Forum: NESdev
Topic: Increment PPU address by a number
Replies: 15
Views: 10232

Re: Increment PPU address by a number

This is the first "transiction" test from a room to another :) . Thanks for all tips!

Image
by kikutano
Fri Aug 23, 2019 12:12 pm
Forum: NESdev
Topic: Increment PPU address by a number
Replies: 15
Views: 10232

Re: Increment PPU address by a number

Thanks. Another solution could be to create a "fade in" effect that draw one column at time every t interval. :D

But, my question is, how Zelda room transition works? It scroll the entire screen without problem.
by kikutano
Fri Aug 23, 2019 7:56 am
Forum: NESdev
Topic: Increment PPU address by a number
Replies: 15
Views: 10232

Re: Increment PPU address by a number

Hello again, I'm using your tips to implement creation of the matrix, ( 16x16 tiles ), everything works great when I start the game and i generate it with this code: gen_level_0_room_0: ldy #MATRIX_ROWS gen_rows: ldx #MATRIX_COLS gen_cols: ;jsr generate_random_tile lda #$D0 sta PPUDATA dex bne gen_c...
by kikutano
Thu Aug 15, 2019 12:13 pm
Forum: NESdev
Topic: Increment PPU address by a number
Replies: 15
Views: 10232

Re: Increment PPU address by a number

This code will run only once at change of the room. So it's not so critical. But thanks, I will try to study your code anyway. :)
by kikutano
Thu Aug 15, 2019 10:20 am
Forum: NESdev
Topic: Increment PPU address by a number
Replies: 15
Views: 10232

Re: Increment PPU address by a number

This should do the trick (untested code!!) PPUSTATUS = $2002 PPUADDR = $2006 PPUDATA = $2007 START_ADDR = 2103 MATRIX_ROWS = 10 ; arbritrary value MATRIX_COLS = $13 TILE = $c2 generate_random_walls: lda PPUSTATUS lda #>START_ADDR sta PPUADDR lda #<START_ADDR sta PPUADDR ldy #MATRIX_ROWS lda #TILE g...
by kikutano
Thu Aug 15, 2019 9:05 am
Forum: NESdev
Topic: Increment PPU address by a number
Replies: 15
Views: 10232

Re: Increment PPU address by a number

Thanks a lot, I will try as soon as I can. :)
by kikutano
Thu Aug 15, 2019 8:06 am
Forum: NESdev
Topic: Increment PPU address by a number
Replies: 15
Views: 10232

Increment PPU address by a number

Hello to everyone, I'm creating a new prototype for NES. I've an "action space matrix" where the player can move in 4 directions as you can see in the image. https://i.ibb.co/7gZ52Ld/Screenshot-8.png I need to change the background into the matrix at runtime with some wall sprites. The matrix PPU ad...
by kikutano
Thu Aug 15, 2019 8:05 am
Forum: NESdev
Topic: Increment PPU address by a number
Replies: 1
Views: 3865

Increment PPU address by a number

Hello to everyone, I'm creating a new prototype for NES. I've an "action space matrix" where the player can move in 4 directions as you can see in the image. https://i.ibb.co/7gZ52Ld/Screenshot-8.png I need to change the background into the matrix at runtime with some wall sprites. The matrix PPU ad...
by kikutano
Tue May 14, 2019 3:19 am
Forum: Homebrew Projects
Topic: Wack a Mole! My first NES game :P
Replies: 1
Views: 8091

Wack a Mole! My first NES game :P

Hello to everyone, after a lot of battles finally my first Game for NES comes out to some public test. The goal of the game is to hit the moles before they goes out, more moles you hits, more time you gain and more points you gets. Every feedback is important for me, especially on the graphics side....