Quick Search for:  in language:    
VOTE,ICQ,ALL,CODE,made,game,project,learn,win
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,011,557. lines
 Jobs: 117. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!A Simple Database WIth XP Design ( Without XP )
By Osen Kusnadi on 7/1

(Screen Shot)

Fractional Addition
By SAEED HASSAN on 7/1


Defrag at certain time
By Michael Nipper on 7/1


Click here to see a screenshot of this code!Extended Find Ver 2
By Roger Gilchrist on 7/1

(Screen Shot)

Y! Module
By NightCrawler on 7/1


Files Comperator (the right way)
By Jarry Claessen on 6/30


Simple UDP example
By Mick Walton on 6/30


CAPS Trigger
By Trevor Burley on 6/30


Auto clip picture
By Kenneth. Jakobsen on 6/30


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

TAG - Action-Packed realtime MULTIPLAYER GAME - must see!

Print
Email
 
winzip icon
Submitted on: 2/2/2001 9:26:55 PM
By: (Tim Miron) yar-interactive software  
Level: Intermediate
User Rating: By 41 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code 9073 times.
 

(About the author)
 
     I made this game as a project to learn about winsock, and to prepare myself for a future project that uses similar concepts as this game. In this game, you chase your opponent around an "arena" until you catch him/her, at that point, he/she becomes "it" - like the classic childrens backyard game of tag. I plan on adding a map editor which will enable players to design their own arenas, including ramps, pillars, etc. The next thing i will be doing is tightening up the calculations and code to make it run smoother and not fall out of sync like it likes to every once and a while. This code is a must see for anytone that plans on making their own online games. please VOTE FOR ME if ya like it. If you wanna play a match with me, my ICQ number is 91914752. Enjoy, and happy-programming. If anyone knows how i could tighten up the calculations and improve the game's efficientcy in any way let me know, I HAVE HEAVILY COMMENTED ALL THE CODE so it should be pretty easy to understand. remember to vote =)

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 17 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
2/2/2001 11:39:24 PM:Tim Harris
This is awesome, it accually works, 
i've seen other attempts at this and 
they looked like junk. Looks like ya 
put a lot of work into it! Great Job!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 1:09:40 AM:Tim Miron
Well People, what do you think? I put 
alot of time into this and i'd like to 
know what ya'll think?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 1:39:57 AM:Marcus Johnson
Nice Job!!! Only problem is it seems 
that the game moves a little outa sync, 
but that match we had was good, i cant 
wait to see what its like after you put 
in thoughs ramps and obstacles! LOTS of 
good info in here, FIVE GLOBES!!! =)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 4:58:09 AM:progruler
Nice JOB!!!!!!
5 stars for you!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 9:46:25 AM:Tim Miron
Hey everyone, thanks for your comments, 
and a few matches i've had with ya 
guys. I'll be back on ICQ now so give 
me a buzz if ya wanna play :) 
Why 
did Mike Canejo give me a vote of 1 
globe???? Why dont he like it? I'd 
REALLY like to know of any errors that 
ppl find so they can be fixed ASAP. 
I 
AM ON ICQ NOW so if ya wanna play a 
round let me know. Also sorry about the 
pam from my one comment, i'm removing 
it now, was an accident. happy 
programming =)
keep the comments and 
the votes commin!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 10:11:42 AM:Steve McDonald
Bravo! This is easily the best 
demonstration of real-time multiplayer 
gaming I have seen on PSC! I have some 
Ideas on how to improve one of the 
bigger calculations it has to perform, 
check your e-mail...  keep up the good 
work! FIVE STARS!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 11:23:30 AM:Roger Chang
WOW - thats all I can say is WOW - FIVE 
GLOBES here!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 1:06:52 PM:(Tim Miron) yar-interactive software
Thnx for the encouragment everyone, I 
just had an idea for this game, i might 
put a laser-gun type of thing so the 
players can play it like laser quest, 
and maybe i'll make it a 
multi-connection capable game so you 
could have like 4 people in one game. 
I'd have to make the arenas bigger and 
really work on the calculations.  I'm 
glad ya'll like it, keep the comments 
and Votes commin! by the way, my ICQ 
number is 91914752 if anyone wants to 
play a match with me. thanks again. =)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 1:23:50 PM:Marcus hutton
This game really kicks ass
Good job 
miron!!!!!!
hope to see your other 
work!
5 Globes man!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 2:01:05 PM:Almar Joling
Humm, the music keeps playing when I 
press End (In the IDE)
I've already 
seen some things that could be 
optimised.
Maybe I'll mail you 
later
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 2:07:01 PM:Tim Miron
yeah, there is some stuff that could be 
worked with, i aint the best 
mathimatician i'm 15 and in 10th grade 
so some of the stuff was probably done 
the long way, for some reason the music 
keeps playing unless you exit the game 
by pressing the X in the corner, the 
terminate sub dont seem to have any 
effect on it.  I'm workin on that exact 
problem right now. but hey, i tried. 
thanks for telling me! =)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 2:10:21 PM:(Tim Miron) yar-interactive software
also, if you choose to be a client and 
press connect, i have it so it will 
bring you to the game screen, and tells 
you if your connecting or whats going 
on with the connection, but doesn't 
start the game until the connection is 
varified.  I figured out how to make it 
not get out of sync as well, so i'll 
re-upload this code in the next day or 
two.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 3:28:55 PM:Emma
 Nice work man! YES, the other guy is 
right, some things could be tightened 
up a little, but all in all this is 
superb code - 5 GLOBES from me!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/3/2001 10:32:52 PM:Plasma
This is a very good game d00d. Simple 
and fun :D 5 Globes, I hope u win 
Coding contest ;)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/9/2001 4:54:42 PM:Tim Miron
Well, i've gotten a few comments sayin 
i should make a single player AI 
version of this so i'm workin on that 
right now, I've re-uploaded this code 
submission and improved a little bit on 
the data-stream handleing, and fix a 
typo that i made before. Hope everyone 
is enjoying this game, keep your 
feedback and the votes comming... Happy 
Programming =)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/19/2001 3:17:09 AM:Rocky
Hey this is awsome. Anyone who wants to 
match me in this game e-mail me at 
vxvrockyvxv@aol.com I'm dieing to test 
this out.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/23/2001 8:01:13 PM:vbcodeguru
Tim, i am sorry to tell that your code 
does not work at all coz' i haved 
already tested it and it does'nt work 
at all. I am just wondering why this 
people vote for a code that does not 
really work at all. I have rated your 
code 1. I'm sorry man but your code is 
very far from finished coz' it has many 
major bugs in it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/23/2001 8:25:19 PM:Steve Jobs
Your code sucks!!! More practice man 
because your code does not really 
work!! And i agree to vbcodeguru that 
your code is 100% pure of BUGS. Nice 
try. My vote for your is poor 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/24/2001 8:59:41 AM:LinuxDude
Tim......i am not impressed with your 
code...i have tested it too...and the 
only thing that happens is that your 
code always crash simply because your 
code ARE FILLED WITH BUGS!!!!! I will 
give you 1 glove....Don't keep it 
up...Backup now before its too late...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/24/2001 9:02:07 AM:Tim Miron
Oh really??? Maybe i screwed a few 
things up when i re-uploaded it, but it 
wa working for me and some friends we 
tried it ourselves!  I have noticed 
that it doesn't work if you have ICQ 
running sometimes, I'm not quiet sure 
why?  Well, I do know it was working a 
few weeks ago and i did RE-UPLOAD it 
about 2 weeks ago, or maybe it was 3, 
and when i did so i tried to correct 
some fo the bugs and improve the 
data-stream handeling to be faster and 
more efficient, perhaps I actually 
scr4wed it up, but i know that the 
first upload of it worked because I 
played numerous matches with some 
people and it worked.  I will try to 
look into what exactly i messed up. For 
now i suggest that no one DLs this code 
until i fix it.  I will post a comment 
here when i do so.  Workin on it right 
now actually. Thanks for your comments.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/5/2001 4:41:03 AM:K_aneda
Well done, well I'll take a look at it 
and see if I can improve it or 
something. I'd like to add something 
more than just running around the place 
(more than 1 person to catch), etc
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/13/2001 9:55:18 PM:Cyberjet
That is a cool code and i got it 
running! I'm glad you are the contents 
winner and these guys who given you 1 
globe are just a bit lame, ask them 
what have they written in VB.
Notes 
from first look:
1)
Instead of doing 
Dim m ... etc and 
then
m=msgbox(...)
do not declare m, 
just remove brackets for the message in 
message box.
2)It is not an easy code 
and has a silly mistake: how would you 
expect menus to work if the action is 
declared as private in the other form. 
Take all sub mnu..._click events to the 
form1 if u havent done so yet.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/13/2001 10:20:35 PM:Cyberjet
Timer1_Timer 
not significantly but 
faster if you change your if statements 
to select case:
It may even be better 
if you create a function and pass 
values to it, if you want me to do it 
e-mail me.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/22/2001 8:23:20 AM:Tuomo
Very nice...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/24/2001 10:47:15 PM:Syrius
Mike Canejo has been submitting code on 
here for a long time, and he doesn't 
want any competition. He gave you 1 
globe because he wants his code to win. 
I know that because he will vote a 1 on 
anything that might reduce his chances 
of winning.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/31/2001 11:47:37 PM:The Germ
It cant connect to anyone! Can anyone 
help?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/28/2001 6:33:50 AM:Jeremy
The 3 people that all voted one globe 
are the same person.. they make similar 
grammar mistakes.
When you have to 
fake votes on your competition.. your 
code is junk. If you win, big deal, its 
a hollow victory if it isn't earned.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2002 3:22:11 AM:Emperor Frollard
I honestly can say, It doesnt work.
my 
friend and I are REALLY looking forward 
to learning winsock, but in winxp Pro, 
it just doesnt work.  I havent tried 
booting to win98 (gag) to try this.  it 
just sits there waiting to connect.  I 
have cable internet, and the little 
rxtx light dont even flicker when it 
triest to connect...theres something 
majorly wrong with this code (in 
xp).
3 stars because its obviously 
good code (from what people say) but it 
just doesnt work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/2/2002 9:58:09 AM:Niko Niemi
looks very nice! did it really win a 
contest?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/3/2002 5:59:17 AM:Kerplunk_boy
Nice piece o'code man! 5 globes for ya.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
1/5/2002 8:27:34 PM:EP
This is good code but I'm runnng 
windows XP Home and its not gusts sits 
waing to conect but It dos have grat 
potesonal so 150 stars
It says in 
your scorce to look at the text file 
but i did not get one could you send me 
one at 
EPower11@aol.com
Thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.