• Welcome to Dark Bit Factory & Gravity.
 

Delphi 6 Daisy

Started by rdc, October 21, 2006

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rdc

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. :)





Shockwave

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 :)
Shockwave ^ Codigos
Challenge Trophies Won:

rdc

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. :)

Shockwave

Keep on keeping on mate :)
If there's any effect you want to make but don't know how, just ask :)
Shockwave ^ Codigos
Challenge Trophies Won:

rdc

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.


Rbz

Doesn't work for me, do you forgot to add the music file ?
Challenge Trophies Won:

rdc

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.


rdc

Sorry, I was wrong about that. Not sure what I was thinking there. I have updated the zip in the firt post.

Clyde

Looking cool RDC, some really nice patterns and transitions.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

rdc

Thanks, I appreciate that.

Shockwave

It stopped working here too since you added the music sorry.
Shockwave ^ Codigos
Challenge Trophies Won:

rdc

Okay, I took out the music and updated the first post. I am not sure what is going on there.

Shockwave

Works again here :)

It's surprising how much of a difference that little highlight makes.
Shockwave ^ Codigos
Challenge Trophies Won:

rdc

Yeah, it was a good idea. Thanks for the help.

Tetra

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 :)
Challenge Trophies Won:

rdc

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.