OyunCenneti
Merhaba
Foruma Hoşgeldiniz
**Bu Alana Reklam Verebilirsiniz**

Join the forum, it's quick and easy

OyunCenneti
Merhaba
Foruma Hoşgeldiniz
**Bu Alana Reklam Verebilirsiniz**
OyunCenneti
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Giriş yap

Şifremi unuttum

Arama
 
 

Sonuç :
 


Rechercher çıkıntı araştırma

En iyi yollayıcılar
K.R.M (244)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
DeathlyLord (225)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
KinGofLife (221)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
O.G.L.C.N (184)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
ExSeLanCeTR (20)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
BornTh3aLive. (20)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
GameMasterxD (13)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
oldschoolko (12)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
By-MuRat (8)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 
GFb~fatih (7)
Visual Basıc'te Uçan Yazı  Vote_lcapVisual Basıc'te Uçan Yazı  Voting_barVisual Basıc'te Uçan Yazı  Vote_rcap 

En son konular
» BIOS RESETLEME PROGRAMI
Visual Basıc'te Uçan Yazı  EmptyPaz Mart 02, 2014 10:28 am tarafından cagataymorcicek

» C ile Basit Program Kodları!
Visual Basıc'te Uçan Yazı  EmptySalı Ara. 10, 2013 11:20 pm tarafından tuncay117

» Crypter Nasıl Yazılıyor Merak edenler buyrun
Visual Basıc'te Uçan Yazı  EmptyC.tesi Haz. 01, 2013 11:14 pm tarafından gezegen33

» C Kodlama Standartları
Visual Basıc'te Uçan Yazı  EmptyPerş. Kas. 08, 2012 6:54 pm tarafından penguen260

» C++ Dilinin kullanımı ve açılımı
Visual Basıc'te Uçan Yazı  EmptyPerş. Kas. 08, 2012 6:45 pm tarafından penguen260

» VISUAL BASIC
Visual Basıc'te Uçan Yazı  EmptyPtsi Ağus. 06, 2012 3:29 pm tarafından 55la

» K.R.M - Jadde Patch UnLimiteD ! Bütün Modlar Aktif ! [İNDİR]
Visual Basıc'te Uçan Yazı  EmptyÇarş. Tem. 18, 2012 9:55 pm tarafından _RozaLinda_

» K.R.M Client V3 [ Bot Aktif ] [ Yenilendi 16.02.2011 ]
Visual Basıc'te Uçan Yazı  EmptySalı Haz. 05, 2012 10:52 pm tarafından xxscream

» K.R.M Jadde Patch UnLimiteD ( YENİ BOT [ BÜTÜN MOD LAR ] AKTİF )
Visual Basıc'te Uçan Yazı  EmptyCuma Eyl. 09, 2011 2:02 am tarafından K.R.M

Kimler hatta?
Toplam 3 kullanıcı online :: 0 Kayıtlı, 0 Gizli ve 3 Misafir

Yok

[ Bütün listeye bak ]


Sitede bugüne kadar en çok 174 kişi Salı Ağus. 01, 2017 6:01 pm tarihinde online oldu.
Facebook

Visual Basıc'te Uçan Yazı

Aşağa gitmek

Visual Basıc'te Uçan Yazı  Empty Visual Basıc'te Uçan Yazı

Mesaj tarafından K.R.M Çarş. Ekim 06, 2010 12:53 am

Visual Basıc'te uçan yazı yapmak isteyenler aşağıdaki kodu forma yapıştırsın yeter

rivate Sub Command1_Click()
Randomize Timer 'Init Rnd

'Declarations
Dim StartTime(100) 'Starttime of a up/down movement
Dim DownMovement(100) As Boolean 'are we doing a up or down movement ???
Dim MoveDistance As Double 'distance target has moved since the start of the movement
Dim YPos(100) As Double 'Holds the y position of a letter
Dim MovementDone(100) As Boolean 'Is set to true when a up / down movement is completed
Dim StartHeight(100) As Double 'From which hight will the letter fall down ?
Dim UpMovementTime(100) As Double 'How long will it the letter take to move up
Dim PowerLoss(100) As Double 'losing xx% of power when touching the ground
Dim Message As String 'Message you want to display
Dim Looop As Integer 'Loop var
Dim TextColor(100) As ColorConstants 'Color of one letter


'Settings

Picture1.ScaleMode = 4
Picture1.FontName = "Arial"

Message = "*** deneme *** CONTACT ME: [Linkleri görebilmek için üye olun veya giriş yapın.] (Zeki görür) " 'Mesajı okuyalım.

For Looop = 1 To Len(Message)

PowerLoss(Looop) = 0.2 + ((Rnd * 25) / 100) '
StartHeight(Looop) = 0
TextColor(Looop) = RGB(80 + Looop * 2, 80 + Looop * 2, 255)

Next Looop

For Looop = 1 To Len(Message)
StartTime(Looop) = Timer
Next Looop

Do

Picture1.Cls
For Looop = 1 To Len(Message)

If DownMovement(Looop) = True Then

MoveDistance = (StartHeight(Looop) + (0.5 * 9.81 * ((Timer - StartTime(Looop)) ^ 2))) 'Calculating falling distance

If YPos(Looop) >= Picture1.ScaleHeight - 1 Then MovementDone(Looop) = True 'The letter reached the bottom border. The Downmovement is complete

Else
MoveDistance = (StartHeight(Looop) + (0.5 * 9.81 * (UpMovementTime(Looop) - (Timer - StartTime(Looop))) ^ 2)) 'Calculating falling distance

If YPos(Looop) <= StartHeight(Looop) + 0.1 Then MovementDone(Looop) = True 'The letter reached the max. height. The upmovement is complete

End If

YPos(Looop) = MoveDistance

If YPos(Looop) > Picture1.ScaleHeight - 1 Then 'If the letter fell out of our picturebox we fix it
YPos(Looop) = Picture1.ScaleHeight - 1 'At the bottom position
End If

Picture1.CurrentX = Picture1.ScaleWidth / 2 - Int((Len(Message) / 2)) + Looop
Picture1.CurrentY = YPos(Looop) 'Setting the letters y position
Picture1.ForeColor = TextColor(Looop) 'Setting the letters color
Picture1.Print Mid(Message, Looop, 1) 'Text output

Next Looop

DoEvents

For Looop = 1 To Len(Message)

If MovementDone(Looop) = True Then

If DownMovement(Looop) = True Then 'Switch between up/downmovement
DownMovement(Looop) = False
StartHeight(Looop) = StartHeight(Looop) + ((Picture1.ScaleHeight - StartHeight(Looop)) * PowerLoss(Looop)) 'New Startheight, because of speed lost ?!?!
UpMovementTime(Looop) = Sqr((Picture1.ScaleHeight - StartHeight(Looop)) / (0.5 * 9.81)) 'How long will the NEXT upmovement last ???
Else
DownMovement(Looop) = True
End If

StartTime(Looop) = Timer 'Set the StartTime of a new movement
MovementDone(Looop) = False

End If

Next Looop

Loop 'Until StartHeight = OUT.ScaleHeight

End Sub

Private Sub Form_Activate()
On Error Resume Next
Picture1.BackColor = "H8000000F"
End Sub

Private Sub Form_Load()
Form1.WindowState = 2
End Sub

Private Sub Form_Terminate()
End
End Sub

Private Sub Form_Unload(Cancel As Integer)
Unload Me
End Sub
K.R.M
K.R.M
Site Kurucusu
Site Kurucusu

Mesaj Sayısı : 244
Kayıt tarihi : 21/10/09
Yaş : 30
Nerden : C:\WINDOWS\system32

https://oyuncenneti.forumactif.org

Sayfa başına dön Aşağa gitmek

Sayfa başına dön

- Similar topics

 
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz