PDA

View Full Version : Spinning Propeller Logo



Clemens
09-03-2007, 04:23 AM
Here comes my first spin program, an animated Propeller Logo using Graphics.spin and TV.spin from the Object Library.
Requires demoboard-type mouse and TV-setup.
Off course the colors are not right, but IĚdidn't find out yet, how to change them...
It's all done with the "arc" method, no pixdefs were used,Ěso it is a very memory friendly way to add a proplogo if someone plans to use the graphics object anyway.
The logo reacts to mouse movement.

Post Edited (Clemens) : 9/2/2007 9:42:04 PM GMT

mpark
09-03-2007, 02:06 PM
That's way cool! I made a few minor changes and it runs great on my Hydra. I love the way it moves around in response to the mouse.
As for the colors, try changing the line in bold:



'init colors
repeat i from 0 to 63
colors[i] := $2B06bc02




This gives all the tiles the same palette and makes the propeller and center band of the beanie (and text oval background) orange (on my TV at least), which is as close to red as I can find.

It's the bc part of $2b06bc02, so you can play around and maybe find a better color. While you're at it, maybe you can turn the white parts of the beanie yellow.

But didn't you say you had a PAL TV? The code you posted uses the TV driver in NTSC mode, doesn't it?

Clemens
09-04-2007, 01:24 AM
Yes, I have a pal-tv but I changed the tv-mode to ntsc before posting because most people here seem to have ntsc systems.
I played around with the colors already, but it only has impact on color 1!
Is there a way to change the other colors? I hope this isn't the most stupid question ever asked here, but if so - maybe I'll win a prize...

Clemens
09-04-2007, 01:27 AM
aahh! stop, I found it, sorry, it's just the rest of the $2b06bc02...