VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Mortars game project

by TTsvetkov (3 Submissions)
Category: Games
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

I started a VB game a while ago, on DirectDraw. It is like the popular game "cannons". There are two cannons on the battlefield which 2 players command. They should choose the right combination of velocity and angle to hit each-other. The first that manage to destroy his oponent's cannon wins.
Alas, i didn't had time to finish the game. Although i decided to publish the source. Maybe someone may find it helpful for his/her project.
The game uses DX7 DirectDraw. The keys are: "1" and "2" - select player to shoot. "z" and "x" - change angle of current player, "a" and "s" - change velocity (gunpowder) of current player, "c" center screen at the cannonball, "esc" - exit.
As i said it is unfinished. It is supposed to be turn-based, but here you can shoot with the both cannons. The effects of the exploding cannons should be fixed also. The game needs a menu and wind on the battlefield. I was alo planning to add multiplayer via Winsock. And many other things...
But what we have here is enought just for a demonstration. Every time the game starts the terrain is different (randomly generated) also the places of the cennons are different. Destructable terrain. Arrow at the edges of the screen when the cannonball leaves the screen ("Worms" style :)
I hope you find it useful. I don't expect 10s for it, but at least tell me your oppinion.

Rate Mortars game project

Download Mortars game project

Download Mortars game project (1 MB)

Mortars game project Comments

No comments have been posted about Mortars game project. Why not be the first to post a comment about Mortars game project.

Post your comment

Subject:
Message:
0/1000 characters