Visual Basic 6.0, Simple collision
Uploader Comments (N46RECONXX)
Top Comments
-
Never mind i fixed it lol
All Comments (23)
-
can you show the whole code for
private Sub Form_KeyDown(KeyCode as Integer, Shift as Integer)
i need to move the sape thanks
-
mine wont work for some reason, tried twice now
well works for left and top
-
mine wont work for some reason, tried twice now
-
it didn't work for the timer being 1000, but it did for 1 meaning it needs to be constantly checking, right?
-
For Some Reason It Stops The Shape For Left And Right, But Not For Up And Down... So, Idk, But I Might Of Missed Somthing Because Of That Anotiation Through Whole Vidio >_<
-
hey u dont have to change timer just in code instead of equal write > or < and that would do! i m begginer with vb but u should realy know that!
-
Tip for people. If you want something to happen when you go into some like you want to run into a label or something and you want it to go to a new place. Put this code in a timer
If Image1.Top = Shape1.Top Then 'Image1 is my person Shape1 is the thing i run into
MsgBox "Worked" 'This is what will happen.
Image1.Top = Image1.Top - 90 'this will move the character back so a lag loop wont happen
End If 'ends the if
-
Music = :)
-
Option Explicit FTW
-
can you make this for download?



hey good tutorial!
what's the song in the background?
Fevaklas20 3 years ago 4
Thanks! the song is "Carry on my wayward son" by Kansas.:)
N46RECONXX 3 years ago 2