Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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 10513 times)
0 Members and 1 Guest are viewing this topic.
Offline Vermeer

JGO Coder


Medals: 16



« Reply #30 - Posted 2013-05-25 15:29:59 »

Update:

Finally finished the minimum spanning tree, got distracted by getting an android tablet and libgdx!

as Morgan Allen commented, the MST does ensure all rooms will be connected. Other connections will also be formed to add variation.
Next job, rastersizing the map, and then make the corridors, add lights, and raycast the lighting (hopefully with a new raycasting engine from my brother Regdon)





The images show the diverse room structure - which was lacking in my original idea. The rooms will vary in height and have stairs connecting them. Walls have not be generated at this stage.
I have also took this opportunity to change the class structure of my game tomake adding content to rooms easier.
Offline ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #31 - Posted 2013-05-25 18:14:44 »

I don't know if anyone noticed, but the title of this thread is quite fitting. This is a nice rouge-like game with all this red Smiley

Offline Vermeer

JGO Coder


Medals: 16



« Reply #32 - Posted 2013-05-25 19:43:13 »

I don't know if anyone noticed, but the title of this thread is quite fitting. This is a nice rouge-like game with all this red Smiley

 Smiley I would never have considered that!

I thought any comments would be that they had noticed the error in the MST. Every time I look at it I'm seeing red<rouge> - always some problem to fix!

I think the hero of the game may be called Vin - like say in 'Vin' Deisel
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Vermeer

JGO Coder


Medals: 16



« Reply #33 - Posted 2013-05-25 21:26:38 »

I have read the word Rougelike, and even after 2 people mentioning it I still did not see the error.

I have now re-named the game 3d Roguelike . The hero Vin Rouge may not now feature. But the colour red will perhaps still be a prominent feature of the graphical debug of the room generator.

Spelling the name of your game and thread wrong is quite silly, I even got one of those social JGO medals for being thorough. Now I just feel thoroughly stupid Smiley
Offline Morgan Allen
« Reply #34 - Posted 2013-05-25 21:53:06 »

as Morgan Allen commented, the MST does ensure all rooms will be connected. Other connections will also be formed to add variation.
The layout looks great, but the point I wanted to make about the graph structure wasn't just making the rooms accessible, but ensuring actual cycles in the room network.  The reason for this is that cycles allow for choices in how to approach specific targets or problems.

If I might take the liberty of illustrating the point with an example dungeon populated with various frivolous yet terrifying dangers-

Click to Play


Let us suppose that our Noble and Photogenic Hero wishes to secure a lifetime's supply of chocolate.  S/he now has at least three options for tackling the problem- go through the Lohan-Montana hybrid followed by the Grue, go through Rube Goldberg and then the Dragonz, or discover the secret passage that allows the latter to be bypassed.  The Grue can be kept at bay simply by lighting a torch, but those are in limited supply, and might be used up searching for traps (such as those laid by Mr. Goldberg) or secret passages (which also reveal the S.V. Love-Shrine, which confers immunity to the Lohan-Montana Hybrid.)  So there are quite a few tradeoffs and decisions to be made within that pretty simple framework, which might be further complicated by how much the player knows or can find out about impending obstacles.  And of course, terrain along the way could be used as an asset to the player (e.g, flooded passages being impassable to Dragonz.)

Anyway, sorry to derail.  Like I said, the layout looks very varied and the algorithm is fascinating.  But my point is that if there were only one way to reach the lifetime's supply of chocolate, then regardless of the obstacles presented, there are far fewer tradeoffs to be considered, because the player has no choice in the matter.
Offline Vermeer

JGO Coder


Medals: 16



« Reply #35 - Posted 2013-05-26 18:24:39 »

Thank you for that detailed scenario. Yes that is something I am concerned about. I plan to try and fix this by inverting the weighs of the graph edges and running the MST again and adding this to the original paths. The overlap of the 2 MST will yield info about key areas of the map that must be visited -such as a specific corridor features in both routes.

I perhaps wont go into as much detail as what you have outlined, but will need to implement this type of structure for using keys and locked door, and offer some choices, such as different types of enemies or play for different routes. Where a melee approach may be more or less favourable, or having a ranged weapon may be better...

I intend to do this by using A* path finding to carry out checks on placement of enemies, keys, door, goals, etc.. to ensure the logic of the map is preserved.

Thank you again for taking the time to outline this, and with such humour to.

I take it from your use of Rube Goldberg that you are from the USA >in England we say Heath Robinson....

Offline Morgan Allen
« Reply #36 - Posted 2013-05-27 19:09:51 »

I take it from your use of Rube Goldberg that you are from the USA >in England we say Heath Robinson...
Hmm.  Have to blame global monoculture for that.  Not from the states myself, but that's the name I picked up.  Learn something every day, I guess...
Anyway, I should probably apologise, since I've taken up far too much space already, but I just wanted to say that I wouldn't automatically expect that kind of complexity.  It's just an illustrating example that I hoped wouldn't be taken too seriously.
Offline opiop65

JGO Kernel


Medals: 154
Projects: 7
Exp: 3 years


JumpButton Studios


« Reply #37 - Posted 2013-06-08 13:12:09 »

Are you still working on this Vermeer? It's an awesome project!

Offline Vermeer

JGO Coder


Medals: 16



« Reply #38 - Posted 2013-06-08 17:40:03 »

Thank you for the positive comments. I am putting it on hold for a short while to inversigate some other programming techniques.

I've been developing the blockworld game, and will be updating that soon. I'm looking at using shaders, multiplayer, and I've added sound.

Will come back to this armed with a bit more knowledge. Smiley hopefully!
Offline BrassApparatus

Junior Member





« Reply #39 - Posted 2013-06-08 17:50:35 »

You said, in that thread, that you would be willing to share your knowledge. Do you think you would be able to point me towards some interesting multiplayer resources? I'd love to do some reading. Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Morgan Allen
« Reply #40 - Posted 2013-06-08 22:25:31 »

Will come back to this armed with a bit more knowledge. Smiley hopefully!
Looking forward to it.
Offline Vermeer

JGO Coder


Medals: 16



« Reply #41 - Posted 2013-06-09 08:53:17 »

You said, in that thread, that you would be willing to share your knowledge. Do you think you would be able to point me towards some interesting multiplayer resources? I'd love to do some reading. Smiley

I will continue to share all block world code. Multiplayer is not done yet but look here...
http://www.gafferongames.com/networking-for-game-programmers/what-every-programmer-needs-to-know-about-game-networking

Also here is a good resource:
http://www.java-gaming.org/index.php?board=19.0


I learnt how to start multiplayer from van zeben a video tutorials:
http://www.youtube.com/user/DesignsbyZephyr
Such as opening sockets, making packets of data, parsing them, game flow, and concurrency.


Will come back to this armed with a bit more knowledge. Smiley hopefully!
Looking forward to it.

Thank you, will be coming back to this.
Offline Devil0s

Junior Newbie





« Reply #42 - Posted 2013-08-05 21:13:56 »

good job.
That game looks awesome. Good graphics.

Follow me on Twitter for instant news about my projects and my private life.
Offline Vermeer

JGO Coder


Medals: 16



« Reply #43 - Posted 2013-08-08 13:02:00 »

good job.
That game looks awesome. Good graphics.

Hi, thank you for that. Sorry for late reply been away. Hope to get back to programming again shortly.
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.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (44 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (62 views)
2014-09-21 02:42:18

BurntPizza (32 views)
2014-09-21 01:30:30

moogie (39 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!