View Single Post
aStrike's Avatar
Posts: 80 | Thanked: 225 times | Joined on Sep 2012
#1
I'm glad to upload and let you guys try my new game that I developed,
Alpha Strike

This game is a winner of the 2012 Coding Competition.


Description:
Alpha Strike is a fast-paced 3D action shooting game in which you move the player with the accelerometer or with the keyboard and shoot with the on-screen joystick or with the keyboard . Your target is to shoot as many robotic enemies as you can while avoiding their attacks and using the health, weapon or shield bonuses. As you kill more enemies, your score gets higher. The game was created by me from scratch and is original (not a port of an existing game). Alpha Strike was programmed on and for the N900 using C++. It uses SDL1.2 and OpenGL ES2.0 for the 3D graphics rendering. It is currently aimed for the N900, but I think it is fairly portable to other platforms too.

The game include :
*High-res textures
*Varied and multicolored arenas
*Keyframe animations for the game figures
*Vertex buffer objects, interleaving and indexed arrays for better performance
*Highscores system
*Visual effects such as lighting with textures, billboarding, simple reflections and shadows
*Textured animations with particles effects for explosions and bullet collisions, etc.
*Sound effects.


You can adjust the accelerometer sensitivity level in the options menu and calibrate the accelerometer "down orientation" (couldn't find a better name) while playing by pressing on the little down pointing arrow button in the bottom left corner of the screen.

Since the game is written in C++ and uses SDL1.2 and OpenGL ES2.0, I don't think porting it to the n9/n950 would be too hard.

Believe it or not, but the entire game was developed (programming and compilation) on the n900 itself (so be proud of your n900 )! I only used my netbook to create the 3D .OBJ models and some of the textures.

default key map:
W,X,A,D,Q,E,C,Z - walk in 8 direction (move up, down, left, right and diagonally).
P, LEFT_ARROW, L, UP_ARROW, O, COMMA, DOWN_ARROW, SPACE - shoot in 8 direction (shoot up, down, left, right and diagonally).
K - switch weapons.
B - toggle keyboard movement on/off.
N - toggle "sticky" movement on/off.
S - stop walk (active only when "sticky" movement is on)


Screenshots:




For more screenshots:
http://imageshack.us/g/338/screenshot1ed.png/

Videos:
Alpha Strike V1.0.0-2 gamplay n900.


How To Install:
You need to enable the extras-devel repository!

Install manually with apt-get:
1. Open terminal
2. Run the following:
Code:
sudo apt-get install alphastrike
Install manually with dpkg and deb package:
First, make sure you installed the dependencies which are: libgles1, libgles2, libgles1-sgx-img, libgles2-sgx-img, libgles-sgx-img-common, libsdl-gles1.2-1, libsdl-gfx1.2-4, libsdl-image1.2, libsdl1.2 ( some of them are provided by the others but I didn't had the time to check)
You can install the dependencies by openning a terminal and execute the following commands(if you have rootsh, by typing "sudo gainroot" without the quotation marks. Otherwise by typing "sudo" before the command and ignoring the first command-"sudo gainroot" ):
Code:
sudo gainroot
Code:
apt-get update
Code:
apt-get install libgles1, libgles2, libgles1-sgx-img, libgles2-sgx-img, libgles-sgx-img-common, libsdl-gles1.2-1, libsdl-gfx1.2-4, libsdl-image1.2, libsdl1.2
The next step is to actually install the game:
1. Download the Alpha Strike deb from the "Downloads links" section below to your n900 or to your computer and move it to the n900, I assume you downloaded/moved it to the MyDocs folder ( /home/user/MyDocs ) but any other folder will be good.
2. Open a terminal and gain root access by typing:
Code:
sudo gainroot
3. cd (=change directory, for the begginers) to the folder where the Alpha Strike deb file is located. I you downloaded it to the MyDocs folder then execute:
Code:
cd /home/user/MyDocs
4. Install using dpkg:
Code:
dpkg -i alphaStrike1.0.0-2.deb
Done.

You can also install the .deb via the file manager or with filebox (or a different file manager) by clicking on it, just make sure you have the dependencies installed.

Download links:
maemo version 1.2.0 : http://www.mediafire.com/?xytknz4ty6347z3

Extras-devel alpha strike folder:
http://repository.maemo.org/extras-d...a/alphastrike/

V1.1.0-2:
http://repository.maemo.org/extras-d....0-2_armel.deb
http://www.2shared.com/file/MxWTQQhQ...ike_110-2.html
http://www.mediafire.com/file/589eif...ke_1.1.0-2.deb


V1.0.1-3:
http://repository.maemo.org/extras-d....1-3_armel.deb

V1.0.1-1:
http://www.2shared.com/file/XhkLFuwh...1-1_armel.html
http://www.mediafire.com/file/z10g9n....1-1_armel.deb

V1.0.0-2:
mediafire
2shared

V1.0.0-1: (the link doesn't work well and having unrelated java issues, so prefer downloading the more updated one)
http://www.4shared.com/file/oEfW5GnZ...0-1_armel.html

Changes:
1.2.0-1: * Harmattan n9 and n950 support.
* Sound effects.
* Minor improvement to the game engine.

1.1.0-2: * Keyboard support with user adjustable keys.
* New 3 weapons ( plasma, fire, thunder ).
* New bonus ( shield which protects the hero for 10 seconds ).
* Bullets billboarding effect.
* PNG textures instead of TGA textures.
* Some modifications to the gameplay.

1.0.1-3 : * Bug fixed: Changes to the options and highscores are not saved.

1.0.1-1 : * Extras-devel build.
* Bug fixed: Shooting prevention when player is "pushing" aginst the walls.

1.0.0-2 : * Solved the deb inside deb.

1.0.0-1 : * First stable release.


How To Change The Keymap:
For the time being I use SDL_Keycode Constant as the key name.
The SDL_Keycode Constants can be found here: http://wiki.libsdl.org/moin.cgi/SDLKeycodeLookup.
The game's configuration file is placed in /home/opt/alphaStrike/gameData.txt .
In order to change the key for walking right from the D key to V key for instance, go to the SDL key codes page above and find the SDL_Keycode Constant for the V key which is SDLK_v .
Open the gameData.txt file with a text editor ( /home/opt/alphaStrike/gameData.txt ).
Replace the SDLK_d with SDLK_v for the key_walk_right line in gameData.txt and save the file.
That's it.


Thanks!

Last edited by aStrike; 2013-05-16 at 21:19.
 

The Following 45 Users Say Thank You to aStrike For This Useful Post: