"Dungeon Man", A dungeon crawling adventure in Java with OpenGL (Alpha 0.1.0)

NOTE
I am not developing this project any further, while it was a lot of fun to code and I learned a lot from it, I have decided to drop this project and work on others, the file will still be available for download to whoever wants to try (but keep in mind, its only my first project :D)
A special Thanks to cheatsguy for those awesome custom textures :wink:

Download : http://www.mediafire.com/download.php?8qji2shodjxi5fy
NOTE: Refer to Instructions.txt included in the package for instructions and controls

So this is my second proper attempt at creating a somewhat playable game (my first attempt was abandoned as a result of horrible coding, and an awful structure to the code that just wasn’t worth going back to).

ā€˜Dungeon Man’ (name may be changed in future) is essentially a dungeon crawling game similar to ā€˜Wolfenstien 3D’, ā€˜Doom’ or Notch’s ā€˜Prelude Of The Chambered’. I am doing this project as sort of a ā€˜learning curve’ for me with game development.

I may make a full release of Dungeon Man sometime in the future, or I might eventually scrap it and start a new project.

I will try, as best I can to update this thread as I develop this game, I would be happy to share any information about the coding of this game to anyone who needs it. I would really appreciate any suggestions or criticism that anyone has, and I would also be happy to answer any questions that you may have.

Version Alpha 0.1.2:

  • Added support for levels of any size (not just of size 8x8)
  • Made level editor interface more user-friendly
  • Made level select on startup interface more user-friendly
  • Added an extra button ā€˜New’ in the editor to create a new level with new dimensions

Version Alpha 0.1.1:

  • Added level editor(Only levels of size 8*8 are supported as of now)
  • Released the game as a zip file including a runnable .exe file
  • Added ability to choose level on startup
  • Scrapped PNG parser for level data

Version Alpha 0.1.0:

  • Started Development
  • Added basic level geometry (walls, floor)
  • Added camera movement and input
  • Added Mini-Map (Very early stages)

Those minecraft textures ;D
What library are you using? And what’s up with the white tile thing?

[quote=ā€œJimmt,post:2,topic:40915ā€]
I’d take a guess with ā€œmapā€. :slight_smile:

Looks good I like it!

Looks cool, can’t wait for a demo. I’d be willing to make a few textures if you’d like.

Wow, thanks for the interest guys.

I am using the LWJGL library. I couldn’t really be arsed making my own textures this early on, maybe i’ll make some in the future if this game does sort of go somewhere. A Demo may be released later on, i’ll focus on that as soon as the game gets somewhat playable (walking, weapons ect. The game consists of 'no-clipping around a level at this stage). I will also try to put up a video on YouTube soon.

PS: I am also using twl’s PNGDecoder to decode PNG files into ByteBuffers which are then readible by OpenGL.

(Link for LWJGL Download Page: http://lwjgl.com/download.php)
(Direct link for twl’s PNGDecoder: http://twl.l33tlabs.org/dist/PNGDecoder.jar)

Edit: Also, if any of you guys are budding game programmers (like me) and you would like to know how I made any part of this game, feel free to ask and I’ll be happy to help you out

Already got the tiles done :stuck_out_tongue: here they are:

Used an approximation of the NES pallete, should be easy to recolor if you ever add new areas.

Also, this might belong more in the ā€˜WIP games’ forum.

This looks great. I’ll keep looking how this is going as I tried something similar myself. Have you seen delver that looks a good game that may be of interest to you.
I found the lighting hardest thing to do.

Looks good so far tho!

Wow, those are some great tiles, did you make them yourself?
I’ll try and implement these tiles into the game tomorrow, and I’ll post a picture of them in-game tomorrow.

Yes you’re probably right, I’ll try and post this in ā€˜WIP Games’ instead sometime tomorrow (in case anyone is looking for it or can’t find it, I’ll use the same title as this thread)

Thank’s for the interest man.
The lighting was actually pretty easy, here’s what i did:

I used this to make the ā€˜Sky’ black with a small tint of Blue.


glClearColor(0, 0, 0.1f, 0);

I used these parameters for the fog effect:


glEnable(GL_FOG);//Enables fog effect

glFogf(GL_FOG_DENSITY, 0.025f);//Gives the perameter GL_FOG_DENSITY a value of 0.025f (the 'f' stands for floating point variable)
glFogf(GL_FOG_START, 1);//Gives the perameter GL_FOG_START a value of 1
glFogf(GL_FOG_END, 100);//Gives the perameter GL_FOG_END a value of 100

And that’s it, no fancy lighting was used just a few clever tricks with fog and glClearColor.

PS: I took a look at delver, it looks pretty impressive and I wish the best for the developers. I also believe that Delver is on Steam Greenlight, if you do have a moment, could you please take the time to support it’s developers and give it a ā€˜Thumbs Up’ :wink:

yeah, all by me. Cobbled walls and wooden floors seem to be the only thing I can really easily make :stuck_out_tongue: if you ever need more, don’t be afriad to comtact me, and i’ll whip up a few more :slight_smile:

Yea, I tried to have lights on the walls, but it caused me so many problems I switched to jmonkey to implement that. I’ll try to find a screenshot tomorrow as I used the same wood texture for my walls!

I hope you keep working on it! It’s inspiring to see others have a go at this too.

Wow this is awesome! Can I ask you where you learned LWJGL? I want to make a game similar to yours, but Its hard to learn opengl! Also, do you use VBOs to render your level?

Why Dungeon Man?

Why not Dungeon Girl, or Dungeon Lady, or Dungeon Asexual Creature Of Indeterminate Age (DACIA)?

;D

Dacia sounds like a good name, actually. Maybe he’ll change it, he did say it was only a work in progress.

I was kidding, of course, but Dacia does sound like a neat name. :slight_smile:

Dacia is a car brand: http://www.dacia.de/home.php

Figures!

Here’s what it looks like with your textures, They’re awesome ;D

I may use the other ones in future if I do add any thing else other than walls and floors, with full credit given to you for the textures of course :wink:

They do look pretty neat! Any new content since yesterday?