MyDDDungeonsGL free 3D mod of DDDungeons

User projects written in or related to FreeBASIC.
chung
Posts: 593
Joined: Jan 16, 2010 20:52
Location: France
Contact:

MyDDDungeonsGL free 3D mod of DDDungeons

Postby chung » Oct 15, 2012 5:00

MyDDDungeonsGL is a free 3D openGL version of Deep Deadly Dungeons, Search for The Crown of alegare (free open source freebasic roguelike game) i have made from a game by Richard Clark.

Added : 16->32 pixels sprites, window resized, animations, joystick, 3D openGL view + textures + lighting

you can find it there => http://chungswebsite.blogspot.fr/search/label/mydddungeonsGL


Image
chung
Posts: 593
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby chung » Oct 16, 2012 13:02

(14/10/2012) player1..8 , prev/nextlevel memory added
(16/10/2012) shop added (G) + fullscreen mode corrected
Westbeam
Posts: 239
Joined: Dec 22, 2009 9:24
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby Westbeam » Oct 16, 2012 14:14

I like it, but it would be more awesome without these "lines" between the blocks. ;)
chung
Posts: 593
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby chung » Oct 16, 2012 17:05

i have added 2 hires wall textures ( added to the 3 initial originals textures)
Aave
Posts: 128
Joined: Jun 13, 2008 19:55
Location: Helsinki, Finland
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby Aave » Oct 16, 2012 19:09

The lines between the blocks are very likely due to linear filtering i.e. texture bleeding in from the adjacent tile in the tileset. One way to fix it would be to use GL_NEAREST texture filtering. I think with such low-res resources, the pixelated look would also look nicer than the current blurry one.
chung
Posts: 593
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby chung » Oct 16, 2012 23:06

i have added gl_nearest as it is faster and look better(for minimize or magnify filter).
in fact , i have finaly cutoff textures borders in my texture loading routine by dx=1pixel as i created these 100x100 textures from initial 16x16 textures by progressive rescaling with GIMP,creating a little border effect.
by dx=1, not 2, as a little border line is not so bad too.

(18/10/2012) mur1,mur2,mur3 (walls) added
Destructosoft
Posts: 88
Joined: Apr 03, 2011 3:44
Location: Inside the bomb
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby Destructosoft » Oct 19, 2012 2:34

At once this looks like the best Roguelike graphics in the entire world, even with the texture edge problems.

Of course the problem with a 3D Roguelike is that the staccato movement is unsuited to smooth animation, but just the achievement is excellent and deserving of merit.

It would also help if the ceiling and floor tiles were different.

I give it 9 out of 10.
relsoft
Posts: 1767
Joined: May 27, 2005 10:34
Location: Philippines
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby relsoft » Oct 19, 2012 5:09

Cool beans!!!
rdc
Posts: 1713
Joined: May 27, 2005 17:22
Location: Texas, USA
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby rdc » Oct 20, 2012 21:18

Awesome.
chung
Posts: 593
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby chung » Oct 24, 2012 8:15

(24/10/2012) added random ceiling, land level0
(24/10/2012) spider,velociraptor,gnome,war ogre,giant spider
(25/10/2012) doom,demon,wing demon,war angel,evil spider,evil scorpio
(26/10/2012) chest, rednaga, greennaga

Image
Last edited by chung on Oct 26, 2012 16:45, edited 4 times in total.
Jocke The Beast
Posts: 272
Joined: May 28, 2005 10:21
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby Jocke The Beast » Oct 24, 2012 18:15

Really cool!
Amazing actually... :)
Kot
Posts: 336
Joined: Dec 28, 2006 10:34

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby Kot » Oct 25, 2012 21:11

I get this:
gui_chung.bi(1928) error 40: Variable not declared, GL_BGRA in 'gluBuild2DMipmaps(GL_TEXTURE_2D, 4, bmpx,bmpy, GL_BGRA ,GL_UNSIGNED_BYTE ,bmpbits )'
fmod.bi(323) error 1: Argument count mismatch, expanding: MIN in 'min(0 to 100-1) as integer'
:-(
TJF
Posts: 3473
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby TJF » Oct 26, 2012 5:59

Kot wrote:I get this:
gui_chung.bi(1928) error 40: Variable not declared, GL_BGRA in 'gluBuild2DMipmaps(GL_TEXTURE_2D, 4, bmpx,bmpy, GL_BGRA ,GL_UNSIGNED_BYTE ,bmpbits )'
fmod.bi(323) error 1: Argument count mismatch, expanding: MIN in 'min(0 to 100-1) as integer'
:-(

Give some info on your OS and the compiler version (header versions) you're using.
Kot
Posts: 336
Joined: Dec 28, 2006 10:34

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby Kot » Oct 26, 2012 21:29

I get this error when trying to compile MyDDDungeonsGL via FBEdit
Window XP pro, FreeBASIC Compiler - Version 0.24.0 (04-25-2012)
chung
Posts: 593
Joined: Jan 16, 2010 20:52
Location: France
Contact:

Re: MyDDDungeonsGL free 3D mod of DDDungeons

Postby chung » Oct 26, 2012 22:14

i dont understand : i use fbedit too and freebasic v0.23
in FreeBASIC-0.23.0-win32/inc/gl/gl.bi there is

Code: Select all

#define GL_MAX_ELEMENTS_VERTICES &h80E8
#define GL_MAX_ELEMENTS_INDICES &h80E9
#define GL_BGR &h80E0
#define GL_BGRA &h80E1
#define GL_UNSIGNED_BYTE_3_3_2 &h8032

nb: you must have opengl1.2 or higher

Return to “Projects”

Who is online

Users browsing this forum: Google [Bot] and 3 guests