Game and Watch- "Parachute"
Game and Watch- "Parachute"
Game and Watch- "Parachute"
Game and Watch- "Parachute"
Game and Watch- "Parachute"
Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute"
Game and Watch- "Parachute" Game and Watch- "Parachute"
Game and Watch- "Parachute"
Go Back  Xtreme Visual Basic Talk > > > Game and Watch- "Parachute"


Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2009, 07:25 PM
Ozygiygas Ozygiygas is offline
Newcomer
 
Join Date: May 2009
Posts: 1
Default Game and Watch- "Parachute"


I'm trying to recreate the Game and Watch game "Parachute" in Visual basic. For those who don't know, it's a simple game where you move from left to right catching paratroopers that fall from the sky. Easy, right? I've already the controls down. Right now, it's an empty form where you can only move left and right.

It's getting the characters to fall that's giving me trouble. For one, I'm not sure how to make them appear and then disappear depending on if you catch them or not. Should I place them at the top of the form, and then set a variable so they fall down? Only problem is if I do that, then they'll always fall from the same location...

... Ack. Help. I'm not even sure where to begin..
Reply With Quote
  #2  
Old 05-24-2009, 07:39 AM
Qua's Avatar
QuaGame and Watch- "Parachute" Qua is offline
Impetuous & volatile

* Expert *
 
Join Date: Apr 2005
Posts: 2,177
Default

When a new trooper is supposed to spawn on the start and start falling there are basically two properties that you'll need to set for the trooper: The location on the screen where he spawns and the speed at which he will be falling (assuming that not all troopers fall at the same speed). If you want the spawn location to be random, you can create a random number between 0 and the width of the game screen and let him spawn there.

Are you using pictureboxes to visualize your troopers? If so, you can dynamically create the pictureboxes while the game is running, and set the locations with the method discussed above. Whether or not to display the pictureboxes depends on whether they're current falling from the sky or if they have been cought/hit the ground.

While your game loop or timer is running you'll need to check to see if any troopers have been caught or hit the ground in which case the player should either score or lose a life, and the picturebox should be hidden and disposed of or reused for another trooper.
__________________
Reading is the foundation for all knowledge - Unknown.
Reply With Quote
  #3  
Old 05-24-2009, 10:12 PM
vb5prgrmrGame and Watch- "Parachute" vb5prgrmr is offline
Senior Contributor

* Expert *
 
Join Date: Mar 2009
Posts: 1,087
Default

Sounds kinda like Defender if I remember my video games correctly and Qua has given the correct hint on using a random location based on screen width. So in VB's help look up the Rnd function and the Randomize statement. Now, the one thing about Defender I do remember is the the further the people fell the faster they fell, but in your case I guess the rate of decent would be pretty constant if using parachutes BUT if using old style round parachutes then prevailing winds would blow said such paratrooper off course while newer type chutes would allow for paratrooper to evad your attempt to catch or try to help you with an intercept attempt.

Now back to Defender. In Defender, "the world" was larger than the screen so the background would scroll and there were also aliens that tried to get the falling people by shooting them or running into them. Then you as the player could also shoot the falling people. The people were the object of the game and if you ran out of people, the game was over/loss of ship. Once people were caught then you had to land them safely. Every round/level added X number of people but got harder and harder as they fell faster and faster while more aliens were also added who were also trying to shoot you.

Good Luck
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Game and Watch- "Parachute"
Game and Watch- "Parachute"
Game and Watch- "Parachute" Game and Watch- "Parachute"
Game and Watch- "Parachute"
Game and Watch- "Parachute"
Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute" Game and Watch- "Parachute"
Game and Watch- "Parachute"
Game and Watch- "Parachute"
 
Game and Watch- "Parachute"
Game and Watch- "Parachute"
 
-->