Dark Bit Factory & Gravity
ARCHIVE => Archive => Delphi & Pascal => Topic started 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. :)
-
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 :)
-
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. :)
-
Keep on keeping on mate :)
If there's any effect you want to make but don't know how, just ask :)
-
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.
-
Doesn't work for me, do you forgot to add the music file ?
-
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.
-
Sorry, I was wrong about that. Not sure what I was thinking there. I have updated the zip in the firt post.
-
Looking cool RDC, some really nice patterns and transitions.
-
Thanks, I appreciate that.
-
It stopped working here too since you added the music sorry.
-
Okay, I took out the music and updated the first post. I am not sure what is going on there.
-
Works again here :)
It's surprising how much of a difference that little highlight makes.
-
Yeah, it was a good idea. Thanks for the help.
-
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 :)
-
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.