Dark Bit Factory & Gravity

ARCHIVE => Archive => Delphi & Pascal => Topic started by: rdc on October 21, 2006

Title: Delphi 6 Daisy
Post by: rdc on October 21, 2006
Here is a little test app that I have been using in Delphi 6 (Win32) to get a handle on the bitmap and canvas routines. The TinyPTC for Delphi seems to have some bugs, so I decided to try the native commands. Draws a little math Daisy. Not much, but what the heck. :)

 


Title: Re: Delphi 6 Daisy
Post by: Shockwave on October 21, 2006
That looks really pretty rick :)
Actually it's not far off being a proper bob routine.

If you want to make the circles look more spherical, even by adding a little white highlight to them you'd be surprised at the effect :)
Title: Re: Delphi 6 Daisy
Post by: rdc on October 21, 2006
Thanks man. I'll try that. All this graphic stuff is new to me, but i have to admit it is a lot of fun. :)
Title: Re: Delphi 6 Daisy
Post by: Shockwave on October 21, 2006
Keep on keeping on mate :)
If there's any effect you want to make but don't know how, just ask :)
Title: Re: Delphi 6 Daisy
Post by: rdc on October 21, 2006
I tried the little highlight trick and it worked pretty well. Thanks for that, Shockwave. Gives it a bit of a spherical look. I also added some music; it is a midi file to keep the size down. Updated link in first post.

Title: Re: Delphi 6 Daisy
Post by: Rbz on October 21, 2006
Doesn't work for me, do you forgot to add the music file ?
Title: Re: Delphi 6 Daisy
Post by: rdc on October 21, 2006
No, Delphi compiles the file as a resource. It is a midi file and uses MMsystem, so maybe it can't find your midi device.

Title: Re: Delphi 6 Daisy
Post by: rdc on October 21, 2006
Sorry, I was wrong about that. Not sure what I was thinking there. I have updated the zip in the firt post.
Title: Re: Delphi 6 Daisy
Post by: Clyde on October 22, 2006
Looking cool RDC, some really nice patterns and transitions.
Title: Re: Delphi 6 Daisy
Post by: rdc on October 22, 2006
Thanks, I appreciate that.
Title: Re: Delphi 6 Daisy
Post by: Shockwave on October 22, 2006
It stopped working here too since you added the music sorry.
Title: Re: Delphi 6 Daisy
Post by: rdc on October 22, 2006
Okay, I took out the music and updated the first post. I am not sure what is going on there.
Title: Re: Delphi 6 Daisy
Post by: Shockwave on October 22, 2006
Works again here :)

It's surprising how much of a difference that little highlight makes.
Title: Re: Delphi 6 Daisy
Post by: rdc on October 22, 2006
Yeah, it was a good idea. Thanks for the help.
Title: Re: Delphi 6 Daisy
Post by: Tetra on October 22, 2006
Nice one rdc :)

Delphi was one of the first languages a started to code some proper stuff with. Done a few things in it inluding pixelwise stuff. Its about even with blitz on a pixelwise level.

If you ever need some pixelwise canvas / bitmap code, dont hesitate to ask, I think it should work just the same more or less in D6, i started with D3 :)
Title: Re: Delphi 6 Daisy
Post by: rdc on October 22, 2006
Thanks man, I sure will. I figured since I have Delphi I might as well use it for some fun stuff. During my professional programming years, I did boring business applications using Oracle and SQL Server databases, and a bunch of local DB stuff. Now that I am semi-retired, I can do some fun stuff for a change.