Search found 112 matches

by kikutano
Tue Jun 05, 2018 8:45 am
Forum: NESdev
Topic: Collision detection problem with my project.
Replies: 46
Views: 14673

Re: Collision detection problem with my project.

I'm putting all on background, now I've to rewrite the collision detection with the bricks :). The hard part is understand how the palette and color works :D. I hope to release the source code as soon as I can. https://media.discordapp.net/attachments/367794332918349834/453490800081502208/34345994_1...
by kikutano
Tue May 29, 2018 5:15 am
Forum: NESdev
Topic: Collision detection problem with my project.
Replies: 46
Views: 14673

Re: Collision detection problem with my project.

Nope, I don't have any sources or articles :( If you post what you're having trouble with then me or someone else can help you out though. :) Have you figured out how to change the background? Also, there is an open source NES breakout game here you can look at: https://github.com/AleffCorrea/Brick...
by kikutano
Tue May 29, 2018 12:01 am
Forum: NESdev
Topic: Collision detection problem with my project.
Replies: 46
Views: 14673

Re: Collision detection problem with my project.

BTW, you probably know this, but Arkanoid uses the background to draw blocks and not sprites. Collisions are checked by masking rounding the ball's position to the block size and looking up that position in a bit array. This doesn't require loops, so it's more efficient than sprites. You can also d...
by kikutano
Sun May 27, 2018 11:42 pm
Forum: NESdev
Topic: Collision detection problem with my project.
Replies: 46
Views: 14673

Re: Collision detection problem with my project.

Thanks, probably I will post other questions during the development of my Arkanoid Clone :).
by kikutano
Sat May 26, 2018 9:12 am
Forum: NESdev
Topic: Collision detection problem with my project.
Replies: 46
Views: 14673

Re: Collision detection problem with my project.

Ok, thanks a lot for your suggestions. I never wrote anything in ASM, so I'm a complete newbie. :) Now I will try to put the Bricks on background.
by kikutano
Sat May 26, 2018 6:45 am
Forum: NESdev
Topic: Collision detection problem with my project.
Replies: 46
Views: 14673

Re: Collision detection problem with my project.

I solved! :D ;===================================== ; Ball Collision Detection With Bricks ;===================================== CheckCollisionOnAllBricks: LDX #$00 CheckCollisionOnAllBricksLoop: LDA brick_sprites, x ;Y MIN CMP BALL_POS_Y BCS PerformBallNotHitBrick ; La pallina si trova SOPRA il ma...
by kikutano
Sat May 26, 2018 6:24 am
Forum: NESdev
Topic: Collision detection problem with my project.
Replies: 46
Views: 14673

Collision detection problem with my project.

Hello to everyone, I'm working on an Arkanoid clone for NES all in ASM 6052 just for fun, currently, in my game, the ball collide fine with the walls, with the paddle player and I'm really happy for this. But, when I try to compute the collision with the bricks, somethings goes wrong. ;=============...