Advertisement
3_2004-2005 Games #141441

Crosshair Mouse

What i did was Make the Code Much Shorter, Went from 25 Lines of Code, to 9 Lines of code.. ORIGINALY DONE BY: thuggish_187

AI

AI சுருக்கம்: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

மூலக் குறியீடு
original-source
Private Sub Form_Load()
 Me.ScaleMode = 3 'Pixel Mode
 Me.MousePointer = 2 'Set Mouse Pointer to Cross
End Sub
Private Sub Form_MouseMove(Button As Integer, _ Shift As Integer, X As Single, Y As Single)
 Cls
 Me.Circle (X, Y), 25 'Draw Circle
 Me.Line (0, Y)-(Me.Width, Y) 
 Me.Line (X, 0)-(X, Me.Height) 
 Me.CurrentX = X + 35
 Me.CurrentY = Y - 25
 Me.Print "X: " & X & " Y: " & Y 
End Sub
அசல் கருத்துகள் (3)
வேபேக் மெஷினிலிருந்து (Wayback Machine) மீட்டெடுக்கப்பட்டது