Sounds interesting.
By the way, do Post Race posts double post?
Printable View
Sounds interesting.
By the way, do Post Race posts double post?
Well, that one didn't.
Well, that one didn't
Seems like the answer is no.
I'll add a tag, which I think is one of the causes of double posting.
No, I didn't.Quote:
Did I double post?
Once more with code.
Hmmmm, interesting. No double post.Code:Public Class Form1
Private pb As PictureBox
Private WithEvents tm As New Timer
Private StepCount As Integer
Private deltaStep As SizeF
Private destPos As Point
Private smoothPos As PointF
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
pb = New PictureBox()
pb.BackColor = Color.Red
pb.Size = New Size(40, 40)
Controls.Add(pb)
tm.Interval = 1
End Sub
Private Sub Form1_MouseDown(sender As Object, e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseDown
StepCount = 30
destPos = e.Location
smoothPos = pb.Location
deltaStep.Width = (destPos.X - pb.Left) / CSng(StepCount) 'divide by single so result is a single
deltaStep.Height = (destPos.Y - pb.Top) / CSng(StepCount)
tm.Start()
End Sub
Private Sub Tm_Tick(sender As System.Object, e As System.EventArgs) Handles tm.Tick
StepCount -= 1
If StepCount > 0 Then
smoothPos += deltaStep
pb.Location = New Point(CInt(smoothPos.X), CInt(smoothPos.Y))
Else
pb.Location = destPos
tm.Stop()
End If
End Sub
End Class
Yeah, the one place where it wouldn't hurt....it doesn't happen.
Why is there a blank in between barrk and parksie in the top posters of this thread. In fact, the number of posts is there but it is not even hyperlinked.
Taking some time with this post. As if I was responding to a question, and taking some time to compose the response.
Added a link for good measure.
Let's add another quote.
Unauthorized use of this system is prohibited and may result in revocation ofQuote:
##########################################################################
# You are accessing a U.S. Government (USG) Information System (IS) #
# that is provided for USG-authorized use only. #
# #
# By using this IS (which includes any device attached to this IS), #
# you consent to the following conditions: #
# #
# -The USG routinely intercepts and monitors communications on this #
# IS for purposes including, but not limited to, penetration testing, #
# COMSEC monitoring, network operations and defense, personnel #
# misconduct (PM), law enforcement (LE), and counterintelligence (CI) #
# investigations. #
# #
# -At any time, the USG may inspect and seize data stored on this IS. #
# #
# -Communications using, or data stored on, this IS are not private, #
# are subject to routine monitoring, interception, and search, and #
# may be disclosed or used for any USG-authorized purpose. #
# #
# -This IS includes security measures (e.g., authentication and access #
# controls) to protect USG interests--not for your personal benefit or #
# privacy. #
##########################################################################
access, disciplinary action and/or legal action.
Lost in translation: If you try a pig, a goat you want to convince. The horse has the best meaning.
p.s. Still no double post...
Consider posts #8 and on. While those are the same person, I don't believe that's an actual account.
That explains it all.
Kane elected mayor of Tenessee
Tough on BabyFaces. Tough on the causes of BabyFaces.
And if anyone steps out of line: Chokeslam!
He's pursuing Big Red Machine Politics
Radio Shack unveils the TRS-80 computer today back in 1977... Never heard of it.
I had one. It had 4K of RAM and a tape drive for extended storage. With 4K, you couldn't do much of anything, and the tape drive kind of sucked. There were a few interesting games even with those limitations.
I guess that is telling...
The Apple II came out in 1977 as well, along with a plethora of other hobbyist and "personal computers". I bought my first computer, an Ohio Scientific Challeger 1P in 1978. The C1P had a fixed set of images in its character set, like a small tank in 8 rotated positions, an airplane, the Enterprise starship like image (took two characters for each image), etc... So you could create character based games, but couldn't really draw anything as it didn't have pixel, or pixel like, addressable graphics.
After I had that a while I was interested in something you could draw with, so looked at the TRS-80 at a local Radio Shack in the Norfolk, Va area. I also looked at the Apple II in the only computer store (Computer Land) that was in the area (in Virginia Beach). In 1978, personal computers were still a new phenomenon, and there wasn't a lot of options of where you could see them. But, on the other hand, the store didn't mind you playing around with the computers, writing little programs and running them on the machines. So, the TRS-80 had a graphic mode, where the you could draw, but I think it was character based underneath, and they just had a character set that had patterns of blocks to cover the possible combinations of blocks that may be set by drawing through the area. I don't know if that is the case, but the bottom line was, the drawing ability was really coarse.
The Apple II was much better, relatively, as it did have pixel level drawing, but with some restrictions, which I won't get into. So, I ended up getting the Apple II+, which had just came out at the time (probably late 1978 or early 1979). The Apple II+ had the Microsoft based BASIC, called AppleSoft BASIC, in the firmware. The original BASIC, in the Apple II was Integer based, whereas AppleSoft supported floating point math.
The Apple II powered up into a Monitor mode, where you could look at memory, and do different machine level things. You had to hit some key combination or type in a software interrupt I/O command to run the BASIC Interpreter. The Apple II+ powered up in the BASIC Interpreter, which most of the PCs after that era did. The earlier computers powered up into a monitor mode as the first couple of years, the hobbyist computers didn't come with a BASIC built in. You had a minimal computer with a little support built in so you could access the registers and memory and enter machine code and run the code. The original Microsoft BASIC had to loaded into your computer from a paper tape roll, and it cost you $600 to buy BASIC from Microsoft (Micro-Soft at the time) on that paper tape.
My friend and I went into the local Radio Shack and programmed it to put up a banner that said TRS80 SUCKS! What a great memory!