Runs unexpanded. I will not blame you if you turn the volume off . I just made this demo to say thanks to everyone here at Denial. Happy holidays everyone.
http://cid-d168f0017befba15.skydrive.li ... xmas09.d64
Christmas demo
- Mike
- Herr VC
- Posts: 4901
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Cool! Two Xmas demos for the VIC in one year! Thanks for the greetings.
Michael
This is a screen with 16x16 characters. The first 15 lines form a bitmap, while the last line with the wavy ground is done with randomly selected UDGs.Jeff-20 wrote:I love the snow effect. How did you do that? Bitmap the whole screen?
Michael
- Mike
- Herr VC
- Posts: 4901
- Joined: Wed Dec 01, 2004 1:57 pm
- Location: Munich, Germany
- Occupation: electrical engineer
Cute!
You might consider re-ordering the text screen column-wise, instead of row-wise. This gives a simpler address function and is well covered by the Indirect,Y address mode.
Currently, to plot a point you'll need to calculate:
with a transposed text screen this becomes:
If you also organise the sprite data column-wise, you won't have that many irregularities, which crop up with both bitmap, and sprite being row-wise organised.
You might consider re-ordering the text screen column-wise, instead of row-wise. This gives a simpler address function and is well covered by the Indirect,Y address mode.
Currently, to plot a point you'll need to calculate:
Code: Select all
AD=$1000+INT(Y/8)*128+INT(X/8)*8+(YAND7)
Code: Select all
AD=$1000+INT(X/8)*128+Y
Last edited by Mike on Sat Dec 26, 2009 10:16 am, edited 1 time in total.
A very good idea, Mike. This would also simplify shifting the snow down since the last row of each character would be right next to the first row of the next character down. Row-organized, it is 128 bytes away from the character beneath it.
I'm happy to know there's someone examining my humble project in such detail . I'll keep this in mind for future bitmapping (and next year's Christmas demo!).
Happy holidays,
Wilson
I'm happy to know there's someone examining my humble project in such detail . I'll keep this in mind for future bitmapping (and next year's Christmas demo!).
Happy holidays,
Wilson