
Battleship
Source (link to git-repo or to original if based on someone elses unmodified work):
The enemies are spawned via an enemy emitter and controlled via simple AI (artificial intelligence) scripts.
Minimum requirements: Qt 4.4 or greater
*fixed a translation support issue
and changed the licence to LGPL.
0.20
*performance improvements, you can now enable caching and opengl in the menu (ESC). Caching will decrease rendering quality.
0.17
*added boss-submarine and highscore-board
*rewritten nearly all code, engine is written in Qt/C++, game content is written in QtScript
*game window can now be freely resized because all graphics are now rendered as vector graphics
*removed Level Editor and User Interface
*It now uses the Raster Paint Engine instead of OpenGL.
0.14
*some graphics replaced by new vector graphics
*fixed some performance issues
0.12
*I had to avoid overlapping animations because they decrease performance significantly which seems to be a bug in Qt's rendering.
*Game speed is only 1/2 on Windows compared to linux
*Editor sometimes creates broken xml level files.
*Performance problems if horizontal resolution > 1024. You can manually set the resolution in ~/.battleship/config.ini
Ratings & Comments
7 Comments
Hey I have ported this application to S60v5 (Touch + Accelerometer). Thanks
That's great! I can add the download link to your symbian port if you want.
I'm going to wait until OpenGL is supported on Qt for Symbian. By the way, to get your program working for Qt4.7 you need to change .dateTime to .timestamp and that's about it. It compiled and worked for Symbian then but only with keyboard keys.
================================ g++ -c -pipe -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../include -I../../Build/QPropertyEditor/Release -o ../../Build/QPropertyEditor/Release/Property.o Property.cpp Property.cpp: In member function 'virtual QWidget* Property::createEditor(QWidget*, const QStyleOptionViewItem&)': Property.cpp:69: error: 'INT_MAX' was not declared in this scope make[4]: *** [../../Build/QPropertyEditor/Release/Property.o] Error 1 make[4]: Leaving directory `/usr/src/RPM/BUILD/battleship/QPropertyEditor_0.3/src/QPropertyEditor' make[3]: *** [release] Error 2 make[3]: Leaving directory `/usr/src/RPM/BUILD/battleship/QPropertyEditor_0.3/src/QPropertyEditor' make[2]: *** [sub-QPropertyEditor-make_default] Error 2 make[2]: Leaving directory `/usr/src/RPM/BUILD/battleship/QPropertyEditor_0.3/src' make[1]: *** [sub-src-make_default] Error 2 make[1]: Leaving directory `/usr/src/RPM/BUILD/battleship/QPropertyEditor_0.3' make: *** [sub-QPropertyEditor_0-3-make_default-ordered] Error 2 ================================ rpm -q libqt4 libqt4-4.5.2-alt7
Add #include <limits.h> to Property.cpp then it should compile. By the way The PropertyEditor is also a project from Qt-Apps. http://qt-apps.org/content/show.php/QPropertyEditor?content=68684
Add #include <limits.h> to Property.cpp then it should compile. By the way The PropertyEditor is also a project from Qt-Apps. http://qt-apps.org/content/show.php/QPropertyEditor?content=68684
All Ok :)