Author Topic: SCROLL COMP: spring time  (Read 3820 times)

0 Members and 1 Guest are viewing this topic.

Offline bikemadness

  • Amiga 1200
  • ****
  • Posts: 312
  • Karma: 25
  • Hard players don't go home.
    • View Profile
SCROLL COMP: spring time
« on: February 11, 2007 »
long-winded idea

Code: [Select]
open window 640,512
col=1
row=0
grav=0.8
ball=132
dim bx(ball),by(ball),drop(ball),bm(ball)
dim letter(ball)
for a=1 to ball
read letter(a)
bx(a)=a*15+155-r
col=col+1
if col>22 then
r=r+330
col=1
endif
by(a)=20
drop(a)=ran(.5)+.1
bm(a)=0
next a
repeat
setdispbuf vm
vm=1-vm
setdrawbuf vm
clear window
setrgb 1,256,128,0
fill rectangle 0,0 to 640,512
for a=1 to ball
bm(a)=bm(a)+drop(a)
by(a)=by(a)+bm(a)
for x=1 to 22
if by(x)>400 then
bm(a)=-bm(a)*grav
by(x)=400
endif
next x
for x=23 to 44
if by(x)>420 then
bm(a)=-bm(a)*grav
by(x)=420
endif
next x
for x=45 to 66
if by(x)>440 then
bm(a)=-bm(a)*grav
by(x)=440
endif
next x
for x=67 to 88
if by(x)>460 then
bm(a)=-bm(a)*grav
by(x)=460
endif
next x
for x=89 to 110
if by(x)>480 then
bm(a)=-bm(a)*grav
by(x)=480
endif
next x
for x=111 to 132
if by(x)>500 then
bm(a)=-bm(a)*grav
by(x)=500
endif
next x
setrgb 1,0,0,0
text bx(a),by(a),chr$(letter(a))
next a
until (1=0)
label letter
data 32,32,73,83,78,146,84,32,84,72,69,32,73,78,84,69,82,78,69,84,32,32
data 32,87,79,78,68,69,82,70,85,76,46,32,66,82,73,78,71,73,78,71,32,32
data 32,84,79,71,69,84,72,69,82,32,76,73,75,69,150,77,73,78,68,69,68,32
data 80,69,79,80,76,69,44,32,70,82,79,77,32,84,72,79,85,83,65,78,68,83
data 32,32,79,70,32,77,73,76,69,83,32,65,80,65,82,84,32,65,78,68,32,32
data 68,73,70,70,69,82,69,78,84,32,84,73,77,69,32,90,79,78,69,83,46,32

Have a Yahappy day.
Have a Yahappy day.
I don't know what is wrong with the world - but I know how to fix it.

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: SCROLL COMP: spring time
« Reply #1 on: February 11, 2007 »
Boing! Nice effect, and karma for stealthing the message in the source!

Jim
Challenge Trophies Won:

Offline bikemadness

  • Amiga 1200
  • ****
  • Posts: 312
  • Karma: 25
  • Hard players don't go home.
    • View Profile
Re: SCROLL COMP: spring time
« Reply #2 on: February 11, 2007 »
Thanks. I've got no way else of hiding the message before it's seen.

Have a Yahappy day.
Have a Yahappy day.
I don't know what is wrong with the world - but I know how to fix it.

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17407
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: SCROLL COMP: spring time
« Reply #3 on: February 11, 2007 »
It certainly is wonderful :) Nice job!
Shockwave ^ Codigos
Challenge Trophies Won:

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: SCROLL COMP: spring time
« Reply #4 on: February 11, 2007 »
An excellent entry  ;) never seen text fall into place like that before

Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2756
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: SCROLL COMP: spring time
« Reply #5 on: February 11, 2007 »
Nice one  :)
Challenge Trophies Won:

Offline Tetra

  • DBF Aficionado
  • ******
  • Posts: 2532
  • Karma: 83
  • Pirate Monkey!
    • View Profile
Re: SCROLL COMP: spring time
« Reply #6 on: February 12, 2007 »
I love it, nice one :)
Challenge Trophies Won: