Added: 3 years ago
From: PachesatsutEnulaitsu
Views: 29,889
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (107)

Sign In or Sign Up now to post a comment!
  • Made a 1-4 player pong game in vb last year where you could set a computer player at 4 different skill levels. The Computer didn't follow the ball and each computer player would move differently. Will possibly post up a vid on my channel.

  • You could make so the CPU only moves when the ball is on his side. Then, it doesn't look so weird

  • don ' t use a camera ...

    use hypercam 1 , 2 , 3

  • how to mae this game???samoray shokr

  • Sorry I'm German. I can not so good English but I try it ... I made a video about how to program a Ping Pong game. like these. You have to search on my channel for Ping Pong and you will find it. Thumb up pls ;-) and subsrcribe him and me :D

  • 5/5 awesome! if u made a tutorial you would get a million views! (use a screen recorder,you can make one in vb.)

  • where can i download visual basic? i have freeBASIC atm, and it can barely do a calculator program >.<

  • ever heard of a screen recorder? :D

  • How did you realise that the angle of the ball's direction changes?

  • A week and a half? Something like this should take an expert programmer hours, to a few days for others.

  • have you ever heard something from a screencam??!

  • well, the cpu is kinda stupid programmed.

    you just make him follow the cords of the ball, so basically hes unbeatable.

  • @aydoooo The computer is indeed programmed to follow the coordinates of the ball. However, the computer can only go at a certain speed. The ball goes faster and faster as the game progresses, and therein lies your chance to win, for as soon as the ball goes faster than the computer, you can hit it at such an angle that it goes past the computer's paddle.

  • @PachesatsutEnulaitsu I'm sorry, but I don't see that in the video. The CPU is always at the same height.

  • @PachesatsutEnulaitsu

    so.. your difficulty levels are missleading..

    although in the easiest level the ball travles slower.. winning is impossible

    but on the hardest difficulty although the ball travles faster winning is possible

  • @R0llingStones the ball does not travel faster according to the difficulty. It travels faster as the game progresses. the top speed of the cpu's paddle is what varies with the levels.

  • @aydoooo Shut Up he worked so hard

  • To remove flickering and lag, add this to a Form_Load event:

    setstyle(ControlStyles.DoubleB­uffer, True)

    setstyle(ControlStyles.AllPain­tingInWmPaint, True)

  • It looks really cool, @PachesatsutEnulaitsu

  • How did you avoid flickering? And how is it possible that you're game runs so smoothly?

    Thanks in advance.

  • you at least need to put a download link for this!!!

  • sweet u gota make a tut of this somehow!!

  • please make a tutorial

  • Is it made completely in a Forms Application or is it with a plugin like XNA?

  • make an installer with ur ping pong game and upload it :D if u dont know how pm me :P

  • Good!

    Check my pong game to hehe

  • 'lo there! I'm having issues creating an AI for this. Care to post the source for this?

  • @ArkCatox

    The simplest way to create an "AI" would be to just set the computers top equal to the ball's top. Make it a range so that the computer's paddle will always be in line with the ball. Good luck beating it though.

  • @lilroefer21 The top alignment idea is from my VB 6.0 standpoint. Not sure if it is still there in '08

  • ö_Ö its done with game maker isn't it?

  • yup, that could easily be made in visual basic. all of u guys are retards if you dont believe him.

  • prove that is is vb!!

  • idt its vb 2008 if it is the put a tut! but if its not why be a mother fucking lier! when you can be a mom fucker! why not start with your own! but if it is vb i have to give you a lot of props! if it is vb! then damn! good job !

  • You can rest assured, it is indeed VB 2008.

  • slab

  • Not VB...

  • @bfoster15no2 true that

  • how to make?

  • free-music-download . tk

  • WOWOWOW the computer has 6th SENSE LOL!code source?:Dnice

  • Exactly what I was thinking - Only it doesnt use your feet :P

  • holy shit the ball goes fast! lol

  • @smiffyb2k7 haha he said balls

  • nice nice

    when i started programming in school we only got about 3 days to make it tho xD

    Still good job ;) 5/5

  • OMG!

    THATS AWESOME!

    PLEASE MAKE A TUTORIAL!

    (btw, to screen record, get unregistered hypercam 2)

  • camtasia 6 is ALOT better (:

  • @TeamNiBiC yeahh boiee

  • change the annotations at the beginning to sow ITS OVER 9000 VIEWS!!!

  • lol wow!

  • done. instantly

  • @Roboguy9000 what are you talking about?

  • @Retrotto how the video has OVER 9000 views

  • which version of visual basic was this done?

  • dude this is sweet and it looks pretty hard to make as well, i know i couldnt do it, especially since you did the whole thing in VB

    5/5

  • Thanks

  • nice game :) errm yh well its agood game "CAN U PLZ SHOW ME HOW TO MAKE!"

  • 1st off, great job its a nice looking program, 2nd off, im working on this game myself and everything is good except......... im having trouble setting the walls solid so the ball bounces off, if u culd give me that portion of the code or help me out... thatd be great! :) thnx and good job again on this game.

  • As in, the top and the bottom that the ball bounces off of? if that's the case: say you use x for the x-coordinate of the ball and y for the y-coordinate. ...actually, I'll message you, because I don't want to surpass the youtube character limit 1 -.-

  • Cool!

  • fake

  • What the heck makes you say that?

  • Im jealeous

  • So Boring!!

    LOL!

  • what's boring on that? i mean it's one of the games that revolutionized the gaming industry. alot of people still plays this one, and making it on VB is no joke, it'll take hours to code it man. i bet you're just a kid who plays new games well if you compare it to new games, then shut the fuck up

  • BEST VISUALBASIC GAME I EVER SEEN :O

  • this is awesome

  • Thanks!

  • iam actually working on this game at school, the coding is pretty hard.

  • aww pussy cat so cute

  • the cpu is cheating D:

  • no,the difficulty is expert

  • can you send me the project file? thanks

  • Damn, awesome recording (y) was it fraps? Im just kidding :P Awesome work :D

  • Not bed man , nice game

  • Can you send me source code? please?

  • could you send me the source code because u have download PLEASE

  • this cpu player in unbeatable XD

  • What's the idea behind the opponents A.I. Im making a pong game but I am stuck on the A.I for the opponent. I don't want the source code but just if you could tell me the basis of it.

  • If [vertical-coordinate of ball location] is higher than the [vertical-coordinate of paddle location], then move the paddle higher. And vice versa for downward movement. You'll probably want to tweak it a little so the paddle doesn't flicker, moving the paddle only when needed.

  • instead of "tweaking" it, use a timer, it makes whatever you're moving slide alot smoother.

  • Sorry. I guess I was vague. The # of pixels it moves is based off a function of the difficulty, so basically it has a set speed. BUT sometimes, the processing causes the CPU paddle to move up, but then the IF..THEN statements causes the paddle to move down again, causing the paddle to flicker.

  • And for difficulty change the number of pixels it moves at a time so the computer isn't unbeatable.

  • nice work XD

  • The best thing I ever made in VB was a label that bounced around on a form using timers and .top and .left properties.

  • how do you blend in sprite in visual basic?

    within the backgroun?

  • camstudio is a free screen capture app and it'll give you great quality

  • wow very nice. i am making somethin more simpler rite now and im trying to figure out how to play against pc. the way i did is = (me.picBall.top = me.picPaddle.top - 64), and then put the interval of the timer of the paddle more then the balls so its moving slower, but it doesnt work :(. can u tell me the way u did it against the pc?

  • can you send me a download link?

  • How u make the ball change his angle when you hit it?

  • I used pictureboxes for the ball and the paddle, and using the *.top properties, I measured the distance between the centers of each picturebox, divided it my 4.7, and stored the result as an integer to the slope of the ball. It took a lot of trial and error to get it right.

  • oh Ok... Thanks

  • u download this from someone else nerd!

  • um....no. We programmed this ourselves. If you want more proof, just ask for anything specific.

  • THIS IS SICK XD

  • Eh...you mean that as a compliment right? (I hope)

    If so, Thanks! (If not, I'm an idiot)

  • its a compliment lol, 10/5 star ratings XD

  • Okay, thanks, lol! (We're kind of nerds)

  • ahahahh lol, what counrty for you from?

  • We're from the United States, but Tougufe is Vietnamese and I (Hazju) am Hispanic, and both of us are learning Japanese! Both of us have been rather unsatisfied with the United States recently, but hopefully that will change soon! (I'm a Democrat, and Tougufe is an Independent.) You're from Canada, right?

  • yup, and i've made 2 vb games, but there shit compared to yours. I also tryed to learn japanese, its because i love anime ect. I stoped now, i realy dont have to for stuff like that

  • Microsoft also released some sort of GameMaker. If you Google "Visual Studio" go to the first link of Microsoft itself and you will find it there.

  • I would like to make a tutorial and post it... but my camera's quality isn't good enough to make a video. I need some kind of software that makes a screen capture video, or something like that...Does anybody know where I can find something like that?

  • Camstudio is free!

    Camstudio + camstudios loseless codec is great! :D

    the site for it is:

    camstudioDOTcom

    DOT = .

  • nice one :D

    im like alfredo i use vb 6 (only just started though) but im trying to do 2008

    could you help me with one thing...

    in vb 6 i made a circle move by using circle and basically saying draw it in a colour then puase make it the colour of the form and then redraw it with x and y + 1

    but how do you do it on 2008 because you cant use circle and im new to programming

  • Thanks for commenting. For 08, I created a panel (used for the playing area), and inside the panel I created 3 pictureboxes. I imported a picture into each box (you don't have to use code to do that). For the game engine, I created a timer. In the timer, I moved the pictureboxes by changing the *.left and *.top properties of the picturebox. So, it looks like: picturebox1.left -= x (where x is the amount that the ball moves) and picturebox1.top -= y. I hope that this helps. Thanks for commenting!

  • nice!!

  • dang...lol im still makign noob stuff like spammers and login stuff :(

  • hi that my brother

  • could you send me the source? I wanna know all codes, how to make it :D

  • hi im really sorry abut the poor image

  • cool i wish i could do that.

  • Thank you very much for posting a comment. To get the paddle to follow the mouse, I created a timer, then in the timer_tick sub I put:

    PictureBox1.Top = MousePosition.Y - _ Me.Location.Y - 42

    Picturebox1 is the paddle.

    make sure the timer has a high frequency and that it is enabled. Thanks very much for posting!

  • very nice done! is there any chance I can get the file so I can se how u made it? If not can u help me to understand how to get a thing to follow the mouse? like the pad in your game! I'm not so good at vb 2008 jet, I'm an old vb6 user!

    anyway send me a mesage! :)

    5/5 stars!

  • wow thats awesome

  • Yay! someone actually commented

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more