Author Topic: Delphi 6 Daisy  (Read 9827 times)

0 Members and 1 Guest are viewing this topic.

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Delphi 6 Daisy
« 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. :)

 


« Last Edit: October 22, 2006 by rdc »

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Delphi 6 Daisy
« Reply #1 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 :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Delphi 6 Daisy
« Reply #2 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. :)

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Delphi 6 Daisy
« Reply #3 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 :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Delphi 6 Daisy
« Reply #4 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.


Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Delphi 6 Daisy
« Reply #5 on: October 21, 2006 »
Doesn't work for me, do you forgot to add the music file ?
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Delphi 6 Daisy
« Reply #6 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.


Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Delphi 6 Daisy
« Reply #7 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.

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: Delphi 6 Daisy
« Reply #8 on: October 22, 2006 »
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:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Delphi 6 Daisy
« Reply #9 on: October 22, 2006 »
Thanks, I appreciate that.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Delphi 6 Daisy
« Reply #10 on: October 22, 2006 »
It stopped working here too since you added the music sorry.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Delphi 6 Daisy
« Reply #11 on: October 22, 2006 »
Okay, I took out the music and updated the first post. I am not sure what is going on there.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Delphi 6 Daisy
« Reply #12 on: October 22, 2006 »
Works again here :)

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

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Delphi 6 Daisy
« Reply #13 on: October 22, 2006 »
Yeah, it was a good idea. Thanks for the help.

Offline Tetra

  • DBF Aficionado
  • ******
  • Posts: 2532
  • Karma: 83
  • Pirate Monkey!
    • View Profile
Re: Delphi 6 Daisy
« Reply #14 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 :)
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Delphi 6 Daisy
« Reply #15 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.