Jump to content


Tank + level editor


10 replies to this topic

#1 DarkLight

    Member

  • Members
  • PipPip
  • 57 posts

Posted 01 April 2003 - 01:22 PM

DLTank:
This is the pre-alpha version of the game. The game isn't definited and it is possible in
final version to be included as many new futures as we (the authors of the game) think out.
The basic idea comes from the Nintendo's Tank. For now only demo version is included - in
this demo only few levels are included. Some graphics bugs such a hiding tanks when they are
behind objects instead of blending themr are present, but will be fixed in future version.
Game will be using level packages (file which constains a lot of levels) althrough this is
not realised in this version (but you can replace the default.dtp package with one made by
you and play it). Level Packages can be made with the level editor, presentet little later.

For now following suggestion are accepted and will be present in the next version:
*3 types of levels (with different styles of elements and different backgrounds)
*Enemies will be not only tanks but other millitary vehicles.

If you have any suggestion please reply

Game is written in Delphi/OpenGL. This game is not using VCL. You can donwload source code

to teach yourself general game programming as well as using OpenGL in Delphi:
*Creating windows through Windows API
*Timing the game
*Creating different stages of game such in-game menu, game and game over message
*Writting collision detection
*Applying and rotating textures,
game: http://devmaster.net...kLight/Game.zip
source: http://devmaster.net...ght/srcGame.zip

Level Editor
This is the level editor for the DLTank. With this editor you can load, edit and save levels
as well as put dozens of levels into one package
WARNING: The file format of the packages is not definite. This mean that current version of
level editor can make levels only in one style, but three styles will be included in next
versions. This means also that level made with this level editor will be INCOMPATIBLE with
future version. But all level packages, sended to me, will be converted in future format and
included with the game. Also I'll provide a little program for converting old level format
in the new one.

Level Editor is written in Delphi and it is a good example of dynamic creation of components
(array of 432 objects TImage is created in the Form Creation and all forms are created when
they are needed and destroyed after that). Also it is a very good exampe of making Wizard
with Delphi. Future version of the level editor probably will use OpenGL rendering and will
show how to render directly to the form; source of this version will remain available for
teaching dynamic component creation
level editor: http://devmaster.net/projects/DarkLight/le...LevelEditor.zip
source: http://devmaster.net/projects/DarkLight/sr...LevelEditor.zip
I'm waiting for replies: comments, suggestions and bug reports. Tell me what you think so I
can make future version better

[edit] fixed the links [/edit]
<a href='http://www.kaldata.net' target='_blank'>kaldata.net - IT News</a>

#2 DarkLight

    Member

  • Members
  • PipPip
  • 57 posts

Posted 10 April 2003 - 12:02 PM

I just wanted to let you know version 0.1.3 is released
What's new: better textures, in-game menu, possibility to load level packages (with own font realezed) and many graphics bugs fixed; background music (using MCI). Full source is also included
If you like this game or dislike it, please let me know. I want to write really good game and I need your opinion; I should know all things they you don't like
Thank you
P.S. Next week 0.1.5 will be released with power-ups included, but if you don't like this game, please let me know so I would not post about newer versions
<a href='http://www.kaldata.net' target='_blank'>kaldata.net - IT News</a>

#3 vinmar

    Member

  • Members
  • PipPip
  • 51 posts

Posted 10 April 2003 - 01:09 PM

Hi Darklight,

I'll give this a go once I get home!
Its not about having an infinite number of monkeys, its about having the right monkey

#4 vinmar

    Member

  • Members
  • PipPip
  • 51 posts

Posted 10 April 2003 - 07:33 PM

Well, I tried it, but things didn't go so well! :o

I extracted everything into its own directory, read the readme and then ran tanks.exe. The screen then went black. The midi file was playing okay, but then nothing else happened. The midi file stopped playing after a few seconds, and the screen just stayed black as a shoe in a dark hole.

My pc had completely locked up, ctrl-alt-del did nothing, alt-tab did nothing, even pressing caps lock didn't toggle my keyboard's caps lock light. So things weren't pretty.

I did a hard reset and I got a dialog box once back into windows, that went something like this:

...detected possible device failure. The driver for the display device was unable to complete a drawing operation. the display driver for Hercules 3D Prophet 9700Pro series seems to be responsible... And then.... Module name = ati2dvag.dll (so perhaps a 2d operation caused the problem???)

Okay, just looked on usenet ( http://groups.google.co.uk/groups?hl=en&lr...%3Dwg%26meta%3D ) and it seems to be a problem with my graphics card. I'll try this fix and get back to you!

My machine spec fyi:

WinXP + SP1
Hercules ATi 9700Pro (latest drivers)
Intel P4 2.66GHz
DirectX 9
512Mb
Its not about having an infinite number of monkeys, its about having the right monkey

#5 vinmar

    Member

  • Members
  • PipPip
  • 51 posts

Posted 10 April 2003 - 07:39 PM

Down to AGP 4X now, and still the same problem. But I guess its my machine and not your software :)
Its not about having an infinite number of monkeys, its about having the right monkey

#6 Dia

    DevMaster Staff

  • Administrators
  • 1120 posts

Posted 10 April 2003 - 07:46 PM

vinmar, i have very similar specs (especially the ATI 9700 Pro) and DarkLight's game worked fine on my machine. Did you install the latest cataylst files from ATI?

#7 vinmar

    Member

  • Members
  • PipPip
  • 51 posts

Posted 10 April 2003 - 11:48 PM

I think so Apex. The version of my ati2dvag.dll (the offending dll) is 6.14.01.6255.

I found the driver version info under:
display properties->settings->advanced->Adapter->Properties->Driver->Driver Details
Its not about having an infinite number of monkeys, its about having the right monkey

#8 vinmar

    Member

  • Members
  • PipPip
  • 51 posts

Posted 10 April 2003 - 11:54 PM

Okay, cool, I've got it working by turning off hardware acceleration. Not the ideal solution, but at least I get to play the game!

I like it, for an alpha release its pretty cool. What kind of AI are you using there? My only real complaint is the number of shots which the bots are firing. Getting out of a 'corridor' with bullet after bullet going past the front of my tank reminded me of trying to get out of my road in the morning :sigh:

Bring on the next release!
Its not about having an infinite number of monkeys, its about having the right monkey

#9 DarkLight

    Member

  • Members
  • PipPip
  • 57 posts

Posted 11 April 2003 - 04:38 AM

AI? Quite simple in this game. For shoots there is a timer and enemies shoots on regular intervals. For moving there is also timer and when the time is passed direction is changed. For direction I use random number between 1 and 7, and if number is 2,5,6 or 7 enemie goes down, else goes in corresponding direction
<a href='http://www.kaldata.net' target='_blank'>kaldata.net - IT News</a>

#10 DarkLight

    Member

  • Members
  • PipPip
  • 57 posts

Posted 16 April 2003 - 02:44 PM

7 different bonuses, which you can obtain if you hit "bonus-enemy" //already coded, I'm waiting for nice textures from my designer
Two different styles of levels
Better AI

Future version (not the one I'll released this week) will use SDL or DirectSound for music (for now I'm trying to implement SDL, I hope I'll be able to use it for sounds and music)
<a href='http://www.kaldata.net' target='_blank'>kaldata.net - IT News</a>

#11 DarkLight

    Member

  • Members
  • PipPip
  • 57 posts

Posted 22 June 2005 - 10:21 AM

Hi again,
It have been a long time since my last post here. About two years may be. Now I'm working as web developer. But game development is my first and only love.

I'm back just to update my profile and to post the latest version of this game (again with full source-code), it is amost finished game - the version is 0.9.1

I cannot attach files so I'll give you links to russian server - if you can, please mirror files.

The game is with 3 different sceens and have many futures such as animation, power-ups and others.
Source code
DLTank (Death skin)
DLTank (Metal Skin
DLTank (Standart Skin)

Best regards,
DarkLight
<a href='http://www.kaldata.net' target='_blank'>kaldata.net - IT News</a>





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users