Author Topic: Short Intro Challenge - Interferance Circles  (Read 3718 times)

0 Members and 1 Guest are viewing this topic.

Offline TinDragon

  • Pentium
  • *****
  • Posts: 644
  • Karma: 24
    • View Profile
    • J2K's blog
Here's an oldschool effect, cant attach exe as blitz would be to big and I have no web host at present but blitzers can run it.
Code: [Select]
Graphics 640,480,32,2
Circles=CreateImage(1280,960)
SetBuffer ImageBuffer(Circles)
For a = 2048 To 1 Step - 10             
If Col = 0 Then Col = 255  Else col = 0
Color Col, Col, 0
Oval 640-(a/2),480-(a/2),a,a,1             
Next
SetBuffer BackBuffer()
MidHandle Circles
Repeat
Cls
If ang1# < 360 Then ang1 = ang1 + 0.75 Else ang1 = ang1 - 360
If ang2# < 360 Then ang2 = ang2 + 1.75 Else ang2 = ang2 - 360
DrawImage Circles,320+(Cos(ang1)*300),240+(Sin(ang1)*200)
DrawImage Circles,320+(Cos(ang2)*240),240+(Sin(ang2)*160)
Flip
Until KeyDown(1)

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17412
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Short Intro Challenge - Interferance Circles
« Reply #1 on: June 11, 2006 »
Nice, and with a couple of lines to spare too :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Short Intro Challenge - Interferance Circles
« Reply #2 on: June 11, 2006 »
Nice effect  O0
Challenge Trophies Won:

Offline Tetra

  • DBF Aficionado
  • ******
  • Posts: 2532
  • Karma: 83
  • Pirate Monkey!
    • View Profile
Re: Short Intro Challenge - Interferance Circles
« Reply #3 on: June 11, 2006 »
Thats a cool effect, nice one :)
Challenge Trophies Won: