Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > The real world > Idle chatter

Reply
 
Thread Tools Display Modes
Old February 18, 2012, 22:20   #1
xibalba
Rookie
 
Join Date: Feb 2012
Posts: 7
xibalba is on a distinguished road
Adding 3 dimensions to a 2D roguelike

http://www.gamefaqs.com/boards/19667...reams/61975735

Azure Dreams is a proprietary game for the PlayStation 1. It's a 3D roguelike, with elements of townbuilding sims, dating sims, and monster raising and fighting games. The game uses 3D graphics to represent the terrain of each floor in the Monster Tower (which is the tower you must climb in the game, just like you have to descend into a dungeon in other roguelikes), but the actual player character and non-player characters are 2D sprites. Items and effect animations are 2D sprites as well.

I'm no programmer, so I'm wondering; how hard is it to add a z-axis and 3D graphics for terrain to an existing 2D ascii roguelike? It doesn't have to be a fully functional z-axis (in that you can have a something on a floor above you, at the same x and y co-ordinates), but it would instead allow you to have hills and ravines to traverse on the current floor, which would change battle mechanics.

The battle mechanics in question:
*Height Variance = Damage Variance.
//Attack from above, and you deal more damage. Attack from below, and you deal less damage.
*Line Of Sight
//Ranged weapons and spells which use LOS can be blocked when there is something between the actor and the target.
*Arcing
//Weapons like bows - but not crossbows - and some spells activate along an arc. As such, they can be fired over an obstacle, but not around it to either side. Depending on the position of the obstacle relative to the actor and the target, the obstacle may block the attack.
*Knockback
//Some attacks can knock a target back one square. If the target falls from a higher square to a lower square, the target may suffer fall damage.
*Fall Damage
//Fall Damage increases the greater the distance you fall.
xibalba is offline   Reply With Quote
Old February 19, 2012, 09:25   #2
ghengiz
Adept
 
ghengiz's Avatar
 
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
ghengiz is on a distinguished road
Quote:
Originally Posted by xibalba View Post
I'm no programmer, so I'm wondering; how hard is it to add a z-axis and 3D graphics for terrain to an existing 2D ascii roguelike? It doesn't have to be a fully functional z-axis (in that you can have a something on a floor above you, at the same x and y co-ordinates), but it would instead allow you to have hills and ravines to traverse on the current floor, which would change battle mechanics.

The additional features you are listing should be in the game design since the start, because they are an integral part of the game mechanics.

If you'd be happy with just a fake z-axis, necklace of the eye

NotEye

gives you a first person POV to a generic roguelike which uses pure ASCII output.

edit:
if you are interested in tactical use of terrain, you could try unangband, for example
ghengiz is offline   Reply With Quote
Old February 19, 2012, 11:48   #3
Mikko Lehtinen
Veteran
 
Join Date: Sep 2010
Posts: 1,246
Mikko Lehtinen is on a distinguished road
Quote:
Originally Posted by ghengiz View Post
if you are interested in tactical use of terrain, you could try unangband, for example
I've added tables and platforms to the development version of FayAngband.

Standing on a platform while your opponent is lower protects you from its melee attacks 2/5 of the time.

Platforms may also block ranged attacks aimed at the other side 2/5 of the time. If you are standing right next to a table or platform, you may use it as a cover without getting the penalties yourself.

I have Jumping skill for both the player and monsters. You have to succeed in Jumping to get on a table.
Mikko Lehtinen is offline   Reply With Quote
Old February 19, 2012, 12:46   #4
ghengiz
Adept
 
ghengiz's Avatar
 
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
ghengiz is on a distinguished road
Quote:
Originally Posted by Mikko Lehtinen View Post
I've added tables and platforms to the development version of FayAngband.

Standing on a platform while your opponent is lower protects you from its melee attacks 2/5 of the time.

Platforms may also block ranged attacks aimed at the other side 2/5 of the time. If you are standing right next to a table or platform, you may use it as a cover without getting the penalties yourself.

I have Jumping skill for both the player and monsters. You have to succeed in Jumping to get on a table.
very nice!
ghengiz is offline   Reply With Quote
Old February 19, 2012, 13:47   #5
Mikko Lehtinen
Veteran
 
Join Date: Sep 2010
Posts: 1,246
Mikko Lehtinen is on a distinguished road
I have other new tactical features in rooms, too. Unfortunately playtesting revealed that no matter how beneficial the room features were, retreating into a corridor was still usually the optimal strategy.

But I really wanted people to take advantage of the platforms and other nifty features, like magical circles. I decided to make a radical change to melee combat: whenever you attack a monster in melee, and there's another monster in melee range, you will attack one additional monster at random!

This may feel weird at first but it works really well in actual play. Now I often have exciting situations where I'm standing on a table surrounded by a horde of orcs, who are bad jumpers.
Mikko Lehtinen is offline   Reply With Quote
Old February 19, 2012, 14:17   #6
ghengiz
Adept
 
ghengiz's Avatar
 
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
ghengiz is on a distinguished road
Quote:
Originally Posted by Mikko Lehtinen View Post
I decided to make a radical change to melee combat: whenever you attack a monster in melee, and there's another monster in melee range, you will attack one additional monster at random!
just curious: does that count as an additional free attack (with thus the whole dice of the weapon in hand), or like an "accidental" hit (imagine a monster (not the one you are attacking directly) near you hit by the rear of a lance) with reduced damage?

Quote:
Originally Posted by Mikko Lehtinen View Post
Now I often have exciting situations where I'm standing on a table surrounded by a horde of orcs, who are bad jumpers.
I'm looking forward to try it
ghengiz is offline   Reply With Quote
Old February 19, 2012, 14:21   #7
Mikko Lehtinen
Veteran
 
Join Date: Sep 2010
Posts: 1,246
Mikko Lehtinen is on a distinguished road
Quote:
Originally Posted by ghengiz View Post
just curious: does that count as an additional free attack (with thus the whole dice of the weapon in hand), or like an "accidental" hit (imagine a monster (not the one you are attacking directly) near you hit by the rear of a lance) with reduced damage?
It's a full attack sequence with all your blows. So it's optimal to pick fights with either one or two monsters at the same time.
Mikko Lehtinen is offline   Reply With Quote
Old February 19, 2012, 14:38   #8
ghengiz
Adept
 
ghengiz's Avatar
 
Join Date: Nov 2011
Location: Roaming in Terry Pratchett's Discworld
Posts: 178
ghengiz is on a distinguished road
Quote:
Originally Posted by Mikko Lehtinen View Post
It's a full attack sequence with all your blows. So it's optimal to pick fights with either one or two monsters at the same time.
I think it's a great idea...
BTW, is this "one more full attack sequence" a just-once-per-turn thing, or may it trigger again for free and so on?
ghengiz is offline   Reply With Quote
Old February 19, 2012, 14:58   #9
Mikko Lehtinen
Veteran
 
Join Date: Sep 2010
Posts: 1,246
Mikko Lehtinen is on a distinguished road
Quote:
Originally Posted by ghengiz View Post
I think it's a great idea...
BTW, is this "one more full attack sequence" a just-once-per-turn thing, or may it trigger again for free and so on?
It happens every time you press the key to attack someone. If there are more opponents in melee range, you attack one of them at random.

This doesn't actually change the combat math that much. It's still usually preferable to retreat to a corridor rather than face three or more monsters in a room. You just have some more tactical options, especially around terrain features.
Mikko Lehtinen is offline   Reply With Quote
Old February 19, 2012, 17:20   #10
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 9,022
Derakon is on a distinguished road
I've thought about trying to make a roguelike with height variance in the tiles. I came to the conclusion that the result would basically look like your average tactical RPG (c.f. Final Fantasy Tactics, Disgaea, Fire Emblem, etc.). Doesn't mean it'd be a bad idea -- I sank way too many hours into Disgaea 2. The main thing about height variance is that it needs to be an integral component of the combat system, to make up for the costs of implementing it. Some potential issues that you'd want to think about:

* Do you know how to do 3D graphical work? OpenGL is a lot more complicated to work with than just blitting pixels to the screen.
* You'll need a mobile camera so you can look behind tiles and see where monsters are hiding.
* Units will need different capabilities when it comes to traversing the terrain. Snakes should probably not be able to just jump up over a short cliff, but they might be able to climb its side.
* Testing for line-of-sight becomes more complicated.
* Area-of-effect spells should probably also be tweaked, since presumably they aren't all going to be lightning bolts out of the heavens.

And so on...
Derakon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making levels interesting without just adding more loot EpicMan Development 26 July 6, 2011 21:29
Adding a new shop to Angband 3.1.1 Kyle Development 9 October 30, 2010 20:56
Adding Fonts? (X11 version) danaris Vanilla 8 March 17, 2010 18:12
Roguelike Phylogeny Zappa Vanilla 5 August 14, 2009 22:32
Adding Effects to Angband PaulBlay Development 0 March 28, 2009 12:08


All times are GMT +1. The time now is 00:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.