VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Spacewar(2D Game Engine)

by Mustafa Salah (1 Submission)
Category: Games
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (9 Votes)

Hi guys, this is my first contribution in our source code planet, I hope you enjoy it.
This is an intermediate 2D game engine based on DirectX8.1 and it will be very helpful for those who are newbie.
The engine is submitted with a sample demo of a "Space War" game. The engine is capable of playing videos, sounds and music.
For the sample demo you have to install the DivX codec in order to get the video played. Also the video has no sound (so that I can make my uploaded file as small as possible) but it can play any video with sound. You can bypass the Intro video by pressing escape to move to a dummy main menu(it is still in process) and then you move to the first(and the last J)level of the game.
You have to play with the "Gundam" hero to defeat the bad robots. Use the space bar to shot and the arrows to move. One problem with my code is while you are pressing two direction buttons simultaneously the space pare doesn't fire I don't know why. If anyone knows I will be glad to hear from him.
If you let yourself lose then when the health gauge reaches zero the game will end showing the message "Game Over", while if you win the message "Level Complete" will be shown. This is done by writing directly with any font you want from your system to the screen.
The game supports both fullscreen and window mode. Curently it runs in window mode for debugging purpose but with a littel code modification with the ini file it can run in fullscreen.
I'm so upset because no one voted me till now.Please vote.

Rate Spacewar(2D Game Engine)

Download Spacewar(2D Game Engine)

Download Spacewar(2D Game Engine) (5 MB)

Spacewar(2D Game Engine) Comments

No comments have been posted about Spacewar(2D Game Engine). Why not be the first to post a comment about Spacewar(2D Game Engine).

Post your comment

Subject:
Message:
0/1000 characters