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

:frowning:
I’ve been trying to make parser that would convert PNG files into three-dimensional arrays (The first two dimensions would be the pixels x and y coords, and the third dimension would be that pixel’s color channel (either R, G, B or A). I’ve had no luck yet and its getting really frustrating and confusing.M aybe some of you guys would have any suggestions for maybe a simpler method of doing this? or if anyone could tell me what i’m doing wrong.

Thanks in advance.

PS: I am still in Secondary School (High School) this is the reason why I may be slow to work on this project, but I do try my best to put some time in every day.

The png converter is way over my head, so good luck on that :clue: .

As for being in highschool, so are plenty of people here. Good to know there are more of us getting into games, and I hope this project comes to fruition! I’ve experienced how difficult it is to keep up game development and school, so good job on that one :slight_smile:

[quote]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?
[/quote]
I learned OpenGL from “TheCodingUniverse” on YouTube, you should check him out, his tutorials are pretty good. I’m also learning from pdf’s of famous OpenGL books “OpenGL Superbible” and “OpenGL Programming Guide” these are really good books that cover beginner stuff as well as advenced functions of OpenGL.
But keep in mind that OpenGL can only do so much, a lot of making a game has to do with the programmers ability to solve problems, and a very creative mind is required. Using OpenGL isn’t all that difficult, the hard part is solving problems yourself.

PS: Practise makes perfect :wink: Also, I am using Display Lists for rendering.

Sorry for the lack of posting guys, I have been VERY sick over the last few days and I could not find the time nor energy to make new content, I do have an update though. I will try and release Alpha 0.1.1 soon, it will include a parser to read data from an XML file and use this data for the placement of walls in the level (I have decided to scrap the PNG decoder idea as it was too complex and too much hassle). As soon as the new update comes out I will work on making the game downloadable as a playable demo, or maybe an applet.

If anyone knows of some sort of method for putting an applet on a site for free, I would really appreciate it if could let me know (I dont want to be spending money monthly on getting a website hosted) if there was any website hosting companies that did free plans (very little storage ect.) that would be great!

I feel like having just a download and not an applet is easier. Many browsers disable Java these days anyway. Mediafire.com is pretty easy to put in a .zip for people to download. It’s free and I’ve put a lot of space of files on there for people to download.

http://Image and video hosting by TinyPic

http://Image and video hosting by TinyPic

Finally, Dungeon Man is available for download ;D (Download Here: http://www.mediafire.com/?ibsxi5m8jkpcd9q)
Dungeon man Alpha 0.1.1 is available for download and includes a level editor(switch between editing and playing by pressing Backspace)

Upon opening the game, you will be asked to enter the name of a level to play, you can choose between ‘maze’ and ‘smiley’ by default, and you can make your own levels later on in the level editor.

NOTE: you MUST enter the level name correctly, or else an error will occur and the game will close without warning (Refer to Instructions.txt for more information)

Have fun, and please do not hesitate to make any suggestions or critisism of the game, it would really help me a lot

PS: If you are a budding game dev (like me) and want to know how I went about coding any part of the game, feel free to ask me and I’ll try and help you out

Just got a chance to test it out, really nice so far! Didn’t get time to test the level editor. Feels like when I used the citadel hack for goldeneye 64, you just walked all over the place :slight_smile: for what has been implemented so far, this is looking very nice! Keep up the good work!

UPDATE:
Currently working on Version Alpha 0.1.2 (yaaay ;D)
This will basically add support for levels that are not of size 8*8, the update will also have a mini-map scaled according to the size of the map, as well as a scaled overview of the level in editor mode.

Again thanks for the interest guys (1500+ views wow!), all criticism and/or suggestions are well appreciated

0.1.2 is officially out ;D, download it here: http://www.mediafire.com/?8qji2shodjxi5fy
Basically I just made the editor interface a little more user-friendly, and also added support for levels that were not exactly 8x8 in size.

Enjoy, and as always, just ask in the replies if you would like to know any of my source code, I’d be happy to help :wink:

I would just like to announce that I have dropped this project (that would explain the lack of updates)
As I said before, I intended this project to be a learning curve for me and games programming, and I did learn a lot from it.
I may pick up this project again in the future, but to be honest, it is highly unlikely that I will do so.
Thanks a lot for the support and interest, and a special thanks to cheatsguy (http://www.java-gaming.org/index.php?action=profile;u=146276) for the textures.

Glad you learned a lot from the project! It was cool to play.