VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Mortars game project

TTsvetkov  (3 Submissions)   Games   Intermediate   Wed 3rd February 2021

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 (4(4 Vote))

Download Mortars game project

Mortars game project Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters