Ooops
March 01, 2021, 09:33:58 PM

Author Topic: [bb] Hyper Screen Fader by n8r2k [ 1+ years ago ]  (Read 444 times)

Offline BlitzBot

  • Jr. Member
  • **
  • Posts: 1
[bb] Hyper Screen Fader by n8r2k [ 1+ years ago ]
« on: June 29, 2017, 12:28:39 AM »
Title : Hyper Screen Fader
Author : n8r2k
Posted : 1+ years ago

Description : I will get to posting this on <a href="http://n8r2k.deviousbytes.com/" target="_blank">http://n8r2k.deviousbytes.com/[/url] soon. And after that I will comment this. Basically, it  fades the srceen very smoothly and can do multiple colors.

Code :
Code: BlitzBasic
  1. Graphics 1024,768,0,1
  2. n =0
  3. n2 = 0
  4. n1 = 0
  5. While Not KeyHit(1)
  6. Cls
  7. n = n + 3
  8.  
  9. If n1 = 0
  10.         ClsColor n,0,0
  11.         n2 = 0
  12. ElseIf n1 = 1
  13.         ClsColor 0,n,0
  14.         n2 = 0
  15. ElseIf n1 = 2
  16.         ClsColor 0,0,n
  17.         n2 = 0
  18. ElseIf n1 = 3
  19.         ClsColor n,0,n
  20.         n2 = 0
  21. ElseIf n1 = 4
  22.         ClsColor n,n,0
  23.         n2 = 0
  24. ElseIf n1 = 5
  25.         ClsColor 0,n,n
  26.         n2 = 0
  27. EndIf
  28.  
  29. If n > 250
  30.         n= 0
  31.         n1 = n1 + 1
  32. EndIf
  33.  
  34. If n1 = 6
  35.         n1 = 0
  36. EndIf
  37.  
  38. Flip
  39. Wend


Comments : none...

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal