Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  3D Turnbased Roguelike (LWJGL)  (Read 9538 times)
0 Members and 1 Guest are viewing this topic.
Offline Vermeer

JGO Coder


Medals: 16



« Posted 2013-04-08 18:09:26 »

3D Turnbased Roguelike (LWJGL)



This is a new project I have just started.
It will be a random generated Rougelike with turn based events.
Player will movement will be grid based. Enphasis will be on stratagy.

This is progress so far.
<a href="http://www.youtube.com/v/9Rai1gdKoXQ?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/9Rai1gdKoXQ?version=3&amp;hl=en_US&amp;start=</a>
Offline Vermeer

JGO Coder


Medals: 16



« Reply #1 - Posted 2013-04-08 18:11:33 »

3d models are made using 3 x 2D low res sprites



I have yet to decide on the final visual style, so graphics are designed to debug lighting etc.
Offline matheus23

JGO Kernel


Medals: 106
Projects: 3


You think about my Avatar right now!


« Reply #2 - Posted 2013-04-08 18:15:15 »

Really nice!

Not much to say ^^

Are you optimizing the room geometry? (It looks like so when looking at the corners)
And even more important: Are you optimizing the object geometry?

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Sparky83

Senior Member


Medals: 6
Projects: 1



« Reply #3 - Posted 2013-04-08 18:26:14 »

Looks veeery interesting! I like the idea of random generated dungeons. Looking forward to seeing your progress on this.

Nice lighting! Smiley
Offline Tim Spekler
« Reply #4 - Posted 2013-04-08 21:01:17 »

Interesting idea with simple but nice and efficient 3D environment. Looking for some gameplay.
BTW, I think you meant "rogue-like"   Grin
Offline Agro
« Reply #5 - Posted 2013-04-08 21:03:40 »

Ooh, I like the pixel art. Nice job! Looking forward to more Cheesy

Offline Vermeer

JGO Coder


Medals: 16



« Reply #6 - Posted 2013-04-08 22:30:35 »

Hi, thank you all for positive feedback.

I am currently adjusting the generator to make the rooms vary in height - both the rooms floor level and variation in ceiling height. This is involving creating steps in the connecting paths and rooms. I am also adding freestanding pillars in larger generated rooms, and need to adjust the lighting to be ray casted to generate the correct shadows.

Then I will be working on the gameplay. I wanted to get the more technical elements out of the way first.

The generator also creates doors, which will separate the rooms. And I have a working pathfinder.
Offline isteinvids

Junior Member


Medals: 1



« Reply #7 - Posted 2013-04-10 20:57:08 »

Looks awesome, I like the random generator  Grin
Online kevglass

JGO Kernel


Medals: 120
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #8 - Posted 2013-04-10 21:05:48 »

Love what you're doing here. I've got a basic voxel editor that might make it a bit easier to draw your character if you're interested. It'd need some tweaking since I 16x16 it.

Cheers,

Kev

Offline Vermeer

JGO Coder


Medals: 16



« Reply #9 - Posted 2013-04-11 20:12:37 »

Update

Added some new monsters. Been spendng far to long on the map generator, but now have stairs and varible width corridors. All geomerty is optomised
Started work on game elements.





All geomerty is calculated, with no prefabs - I want each level to to look as random as possible.
My intention is to use height, and light levels (stored in the level array) to affect outcomes of combat.
So that standing in the dark higher up than an exposed enemy lower down drawn into the light would be desirable and have noticable inpact on the outcome of combat.

I've got a basic voxel editor that might make it a bit easier to draw your character if you're interested. It'd need some tweaking since I 16x16 it.

Thank you for that kind offer, I'm just using Paint.net. I have seen your pseudo voxel editor that you are using to great effect in you new game. My models rquire 1 pixel per block on a png. Will it do that? Im sure lots of people would love you to post it on and have a go with it. Even better - why dont you build it into the game!


Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline dime26

Senior Member


Medals: 2
Projects: 3
Exp: 5 years


Should traffic wardens be armed?


« Reply #10 - Posted 2013-04-12 11:17:59 »

So far so good, do you have a story/concept for the game, be nice to know where its headed.

Look forward to updates.
Offline Vermeer

JGO Coder


Medals: 16



« Reply #11 - Posted 2013-04-15 22:13:14 »

Small Update

Been refinfing the coridoor generation for rooms that have different height profiles.
Added tranclucent selectors that will show the available moves.
Added realtime lighting for spellcasting.
Added 4 different lighting equations ( they will effect gameplay)

<a href="http://www.youtube.com/v/f0MvNMFsXSI?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/f0MvNMFsXSI?version=3&amp;hl=en_US&amp;start=</a>
Video and map are brightened for video compression.
(not representitive of the chiaroscuro  I will be aiming for)


So far so good, do you have a story/concept for the game, be nice to know where its headed.

I have no plot yet(maybe ill experiment with random plots!), but its going to be a turnbased style game, I have a clear Idea that I want it to feel
like a board game. Like a warhammer/DnD style game. I will be decorating the maps with torches, chest,
water, lava etc to provide context. It will be rouge-like in format.

Updates will be less frequent now reall life work has resumed!
Offline Morgan Allen
« Reply #12 - Posted 2013-04-20 07:07:53 »

I quite like the look of the lighting FX.  I remember doing some procedurallly-generated-architecture a few years back, but never entire dungeons, so I'd be interested in how you're going about it.

What kind of PCs, spell mechanics, skill systems, etc. are you planning to implement?
Offline Vermeer

JGO Coder


Medals: 16



« Reply #13 - Posted 2013-04-20 22:14:31 »

I remember doing some procedurallly-generated-architecture a few years back, but never entire dungeons, so I'd be interested in how you're going about it.

Hi, the map is generated using binary space partition. A square of given size is recursivly subdivided, creating a binary tree of increasingly smaller divisions.
So imagine a square and cutting it into two parts (not down the middle) but into two rectangles. Each rectangle then is subdivided and so on, untill small areas are generated.
Then a random size room is placed randomly in that area (tolerances are set). The rooms are given a random height.

Then, the two leafs of each node in the binary tree are rooms that are connected via a coridorr. This is either straight, or a bendy coridor of random width. The distance between the rooms and hight variation is interpolated to give equally spaced steps.

This is a 2d representation (prior to multi-width corridors)


Lights and objects are then placed in the rooms.

There are serval was to generate a random map, one is a maze based algorithm, and also the aproach by Kevin Glass in his Yore games which have great maps.
The advantages of the BSP method is that you are garanteed to have every room conected and have controll over that. The disadvantage is that it may be somewhat less random than
other methods. Allowing a clever player to determine the direction of unvisited rooms, though this is less easy in 3d!

What kind of PCs, spell mechanics, skill systems, etc. are you planning to implement?

I plan on having the standard array of charater types, perhapse 4, I imagine things to be quite predestrian in this way. But I would like to precaculate the amount of xp available for each level. And alow the player to miss parts of the map out at there peril. I also want to make all skills, abilities, actions etc to have some random quality. The thing that will hopefully make the game seem involving on a strategic level is the use of height and light level to affect combat outcome.

Thank you for taking an interest and I would welcome any ideas.

Offline HeroesGraveDev

JGO Kernel


Medals: 238
Projects: 11
Exp: 2 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #14 - Posted 2013-04-20 22:55:15 »

You should read through some of the procedurally generated content ideas here.

Might give some interesting results.

Offline coltonoscopy

Junior Member


Medals: 2



« Reply #15 - Posted 2013-04-21 04:05:44 »

As I'm a big fan of PGC, I second this and will award you with some appreciation for graciously sharing!

Straight flippin.
Offline Morgan Allen
« Reply #16 - Posted 2013-04-23 21:23:34 »

Hi, the map is generated using binary space partition. A square of given size is recursivly subdivided, creating a binary tree of increasingly smaller divisions... ...The disadvantage is that it may be somewhat less random than other methods. Allowing a clever player to determine the direction of unvisited rooms, though this is less easy in 3d!
I appreciate laying out the technical details like that (on a similar note, props to HGD.)  I've been trying to think of ways to efficiently allocate space to AI-generated structures in my own game, so this kind of breakdown on the algorithms involved is very valuable.

I could comment more extensively on the design details, but aside from 'Roguelike', I guess I'd ask what's your model or inspiration here?  Thief?  Diablo?  Tomb Raider?  Orcs Must Die?  Would this be a single-PC affair, or would companions/hirelings be involved?  Is this gritty survival horror, a hack'n'slash power-trip, or something between?

I would tentatively suggest that, if you want player tactics to be primarily about exploiting terrain differences, then it might be best to ensure that the dungeon layout allows enough branches that differing approaches to given enemies are viable.  (Relatively safe methods for advance recon would also be needed.)  Finally, the ability to modify or circumvent terrain- stockades, traps, stealth, teleports, etc.- would probably be interesting, as would aggro or crowd-control powers or spells to herd, draw or repel enemies around the dungeon, and perhaps regenerating resources like herbs or fountains could be another element to consider.

I should just mention that obliging the player to explore every nook and cranny of the level for XP was one of the principle complaints made against, e.g, velvet assassin, so be careful there.
Offline Vermeer

JGO Coder


Medals: 16



« Reply #17 - Posted 2013-04-23 21:46:05 »

@morgan
My main inspiration would come from board games like space crusade, and the warhammer games...not to say that I play them a lot! Stone soup is interesting. Also more recently legends of yore. Thief is also a great game. But It will probably be similar in style to the excellent Ledgends of Grimrock (without the graphics!) but random! Śingle player tho.

Thank you for your excellent points, I will consider those issues, you have gone into a lot of detail with thouse considerations. Things I had not even considered.
Your point about obliging the player to explore everything is very valid, I would have to be carfull with that!

I have also decided when I have finished my current lighting solution ( ray cast shadows/ pillars) I will bee looking at additional generators to create levels with a different feel. Random random generators!

Thank you again for your insight, I will be in a position to address gameplay once I have the lighting/mapping finished.


Thank you for sharing that, excellent resource to give new ideas!
Offline Morgan Allen
« Reply #18 - Posted 2013-04-24 14:07:45 »

I only played Space Crusaders once, but me and my siblings went through every mission in the MB Hero Quest game.  (Ah, fond memories.  ...If I selectively black out all the bickering over who got the chainmail.)  I did enjoy the sense of exploration and gritty detail in the line-of-sight/fog-of-war mechanics.  (I can't say I''ve played the other Roguelikes you mentioned, but I did play the hell out of blades of exile, which I now realise owed a great deal to the Ultima series.)

I 'd suggest that if you're making it single player, there may not be a particular need for niche protection based on a class system.  (And also that single-player doesn't mean single-character.)

But anyway- I'll leave you to focus on lighting/mapping, and if you like, we could discuss skills/spells/classes afterwards?
Offline Morgan Allen
« Reply #19 - Posted 2013-04-25 14:17:24 »

Sorry, one more point that just occurred to me: If you possibly can, grab a copy of Myth 2- it's a real-time-tactical game that excelled in getting the player to use differences in height and terrain to defeat enemies.  (e.g, setting fire to patches of grass, laying fields of explosives, setting fire to grass which then ignites fields of explosives- all with gorgeous physics-simulation of the attendant carnage and mayhem.)
Offline sproingie

JGO Kernel


Medals: 202



« Reply #20 - Posted 2013-04-25 20:49:55 »

Yeah the physics in myth were impressive for the time, and even now.  I remember one time blowing up a Ghol with one dwarf, and watching his sickle fly across the screen, slice a dwarf who was getting set to throw a grenade, who dies, drops all his satchels and a live grenade, and promptly blows himself and the rest of his unit up.  Shrapnel could be a real menace sometimes   Angry

Offline Vermeer

JGO Coder


Medals: 16



« Reply #21 - Posted 2013-04-25 21:14:04 »

If you possibly can, grab a copy of Myth 2

Hi, thank you for that suggestion.. Had a look and I think I will get it. Also Morgan I'm going to try your game again and I'll post you some feedback on how it runs.

Yeah the physics in myth were impressive for the time, and even now.

That does sound a good endorsement!  Thank you both for that.
Offline Morgan Allen
« Reply #22 - Posted 2013-04-25 21:36:53 »

3d models are made using 3 x 2D low res sprites
Digging the voxel art by the way.
Offline Vermeer

JGO Coder


Medals: 16



« Reply #23 - Posted 2013-04-29 22:27:52 »

3d models are made using 3 x 2D low res sprites
Digging the voxel art by the way.

Thank you for that. Smiley

Update:

Not had time to do much, but implimented raycast lighting, added pillers, and water.







Still fixing some generation bugs in them map, and started working on GUI
Need to refine the lighting shadow alitte to remove a few aberations.
Offline Vermeer

JGO Coder


Medals: 16



« Reply #24 - Posted 2013-05-03 21:19:07 »

JUst looked at this, and Thought it to be an appropriate link to procedurally generated dungeons.

http://www.reddit.com/r/gamedev/comments/1dlwc4/procedural_dungeon_generation_algorithm_explained/


I've also upload a video of GUI implementation for this project, but the videos a bit dark and all over the place! The GUI map now works!
<a href="http://www.youtube.com/v/spVIs6A0xQ0?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/spVIs6A0xQ0?version=3&amp;hl=en_US&amp;start=</a>


I'm going to overhaul the visuals next.
Offline kpars

JGO Wizard


Medals: 75
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #25 - Posted 2013-05-05 10:06:08 »

I must say, this project looks amazing.

I saw your videos and thought to myself, "This is a game I would love to play".
Great work, can't wait to see what comes for the future. Good luck!  Grin

Check out #JGO on EsperNet IRC! | Check out the MERCury 2D Java Game Library! | Also, Check out My Site
Offline Morgan Allen
« Reply #26 - Posted 2013-05-05 15:35:55 »

Looks like strong progress.  I like the top-down isometric views in particular, with the sense of ambience coming from the lighting.
Offline steg90

Senior Member


Medals: 1



« Reply #27 - Posted 2013-05-05 19:50:09 »

Hi,

Looking really, really good this ;-)

Are you using shaders for this or fixed pipeline?

Thanks,
Steve
Offline Vermeer

JGO Coder


Medals: 16



« Reply #28 - Posted 2013-05-06 15:52:10 »

@Kpars  Thank you for your positive comments Smiley

Looks like strong progress.  I like the top-down isometric views in particular, with the sense of ambience coming from the lighting.

Thank you for that, originally It was only going to be first person, but after this comment I have considered the merrits of this and think I will include a 3rd person view. I could do more with that with regards to being able to select squares for movment that you couldnt see in 1st person. Also It would be more like a board game... so thanks for that.

Are you using shaders for this or fixed pipeline?

I am using a fixed pipline, no shaders. All lighting is pre-calculated. At the moment it uses simlple raycasting, but I might increase the resolution of this. The main idea for this is I wanted to use lots of lights, with shadows.

Update:

I have restarted the generator after bing inspired by:
http://www.reddit.com/r/gamedev/comments/1dlwc4/procedural_dungeon_generation_algorithm_explained/

I have made a partitial implimention of this. Working on the rest of it. I have also took this opertunity to change my room data structure to better develop the 3d element of the dungeon.

<a href="http://www.youtube.com/v/VLyIIPT92Yw?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/VLyIIPT92Yw?version=3&amp;hl=en_US&amp;start=</a>

One the generator is complete I will post a working version of it online Smiley
Offline Morgan Allen
« Reply #29 - Posted 2013-05-07 21:55:07 »

Looking over that reddit thread, the algorithm sounds quite interesting, and I'd like to see some efficient implementations of delaunay triangulation/minimal spanning trees (seeing I've never done it myself.  Hell, I hadn't even heard of the former before.)

I guess I'd just say that guaranteeing and identifying loops in the room network would be especially useful, if you want to allow multiple approaches for dealing with a given mob of monsters.  Looks cool in any case.
Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (20 views)
2014-07-29 18:09:19

Riven (13 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (31 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (28 views)
2014-07-23 21:07:15

Riven (29 views)
2014-07-23 20:56:16

ctomni231 (60 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!