Search found 4 matches

by maikaione
Thu Jan 18, 2024 12:58 am
Forum: Programming
Topic: Bug in X16MAZE game
Replies: 7
Views: 3394

Re: Bug in X16MAZE game

I just tested it on my system and it worked fine.

I found when I plugged in my SNES controller, the fit was super tight. Perhaps trying to seat it in more firmly?
by maikaione
Wed Jan 17, 2024 9:43 pm
Forum: Programming
Topic: Managing X and Y coords in memory best practice
Replies: 8
Views: 54567

Re: Managing X and Y coords in memory best practice

I'm not at a computer I can test this on, but here's an idea. Although it seems like a lot of work/cpu time to save 7 bits. If you imposed a constraint where the x-coord could only increase or decrease by 2 at a time and assume the LSB is always 0, you can free up a bit. if the true X coord is $0B6 ...
by maikaione
Wed Jan 17, 2024 6:08 pm
Forum: Programming
Topic: Trouble Displaying Sprite
Replies: 10
Views: 3199

Re: Trouble Displaying Sprite

As far as I can see, you are going for 4bit per pixel sprites? This would mean that the first sprite is completely grey: color index $F, offset $0 (using the standard palette). Yes, 4BPP. Just a grey box so I could get something on screen. What I'm kind of missing (or maybe it's in your not shown p...
by maikaione
Wed Jan 17, 2024 4:01 pm
Forum: Programming
Topic: Trouble Displaying Sprite
Replies: 10
Views: 3199

Trouble Displaying Sprite

Hello, I was messing around with an assembly program to draw tiles and sprites to the screen in CA65 assembly based on tutorials by Matt Heffernan (SlithyMatt). I got the tiles working fine on both layers. When I went to add sprites, I encountered some trouble and can't figure out what I am doing wr...