Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Re:creation - a top down action adventure about undeads [hiatus]  (Read 498993 times)

0 Members and 6 Guests are viewing this topic.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re:creation - a top down action rpg about undeads
« Reply #135 on: August 03, 2015, 10:04:57 am »
Not only the ladder's perspective, but especially the cliffs with a "sideward slope" have a strange perspective. Looking at the trees and game characters, the player is looking a bit from the front, I think you should maintain this consistently.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re:creation - a top down action rpg about undeads
« Reply #136 on: August 03, 2015, 10:42:45 am »
Yeah, I agree. To make the perspective better, I need to draw more tiles, though. This is pretty hard but I'll try :)
Check out cliff perspective in Mother 3 or in ALttP
Both look kinda weird, but I think I want my cliffs to look more like in Mother 3.

I've made a quick fix to see how cliffs would look, it's a bit better than what I have now:
« Last Edit: August 03, 2015, 10:46:29 am by Elias Daler »
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

SpeCter

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re:creation - a top down action rpg about undeads
« Reply #137 on: August 03, 2015, 11:56:30 am »
I would make the ladders straight I think. Making it wider at the end looks weird, especially when your character doesn't get bigger climbing it.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re:creation - a top down action rpg about undeads
« Reply #138 on: August 03, 2015, 12:41:37 pm »
Elias, the cliff already looks much better on the left edge (not on the right though ;)).

Yes, I'd make ladders straight too. Your graphics follow a parallel projection, so it looks weird when single objects have perspective.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re:creation - a top down action rpg about undeads
« Reply #139 on: August 03, 2015, 01:23:23 pm »
+1 Nexus

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re:creation - a top down action rpg about undeads
« Reply #140 on: August 03, 2015, 08:52:22 pm »
The cliffs look a whole lot better when seen consistently from one angle (the newer version), in my personal opinion.

The ladder is a weird one, though. It looks slightly odd having perspective but maybe it's necessary to suggest its angle. A flat width ladder would look more like a bridge.

You should also note that this "consistent angle from the front" is not a requirement of this particular style. See the inside scenes where you can see the inside of the "closest" wall.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re:creation - a top down action rpg about undeads
« Reply #141 on: August 04, 2015, 01:08:12 pm »
Thanks for the feedback, everyone. I'll try different perspective styles to see what looks the best.

Worked on the tileset today. I think it's a big improvement.

Still unsure about the perspective.
Here's another way to do it:

(Notice the bottom part. I don't like that one because it's not that obvious that there are different heights there)
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

shadowmouse

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
Re:creation - a top down action rpg about undeads
« Reply #142 on: August 04, 2015, 02:41:36 pm »
I think you should always have a small border around cliffs to show that they are cliffs rather than just a different style of grass. I found an image of some cliffs from a Link to the Past to give an example. Note the cliffs south west from Link, you can still see the face in what is the same perspective as in Re:creation.

I do realise that depending on how you look at it, it could look like the rocky ground is below the grass in terms of altitude, but the shadows work well to show that they are cliffs.

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re:creation - a top down action rpg about undeads
« Reply #143 on: August 05, 2015, 07:00:12 am »
@shadowmouse Thanks for your observation. I think not having grass on such cliffs helps to make contrast even more high.

As for the ladder... I've been thinking about perspectives in top-down games. Most games don't use Zelda's perspective (look at the side and bottom walls!)


They use other projection which makes other walls not visible.
Seiken Dentesu 3:

Chrono Trigger:


I like this perspective more and it seems that drawing in that perspective is easier. But I feel that this may limit indoor level design. I want some rooms to be connected with each other, but there isn't a good way to show some doors: all doors must be on the wall which player sees. Zelda's perspective lets you put doors on every wall you like.

Any thoughts on this?
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Re:creation - a top down action rpg about undeads
« Reply #144 on: August 05, 2015, 08:18:46 am »
Form follows function; ergo the Zelda one would fit better, clearly.

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re:creation - a top down action rpg about undeads
« Reply #145 on: August 05, 2015, 12:12:59 pm »
A similar discussion about this kind of perspective (it started with this post) came up on the forum for Witch Blast, which - as you can see from that thread - ended with sticking to the original perspective, after trying out the other type and considering doors on the near wall etc., although Cirrus Minor did seem to personally prefer the original perspective so it could just be down to your own personal preference.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re:creation - a top down action rpg about undeads
« Reply #146 on: August 05, 2015, 02:12:43 pm »
@Tank, indeed!

@Hapax, I'll stay with Zelda-ish perspective for now until I see something that fits the game more. I think I'll mix perspective styles as long as it looks good. :)
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

Elias Daler

  • Hero Member
  • *****
  • Posts: 599
    • View Profile
    • Blog
    • Email
Re:creation - a top down action rpg about undeads
« Reply #147 on: August 09, 2015, 12:00:55 am »
Didn't have much time to work on the game in the last few days, but I still managed to do something cool.
Levels now support multiple tilesets. I can easily switch between them in the level editor.

Previously, I only had one tileset per level, because I've thought that having city tileset / forest tileset / dungeon tileset etc. for each level would be okay. But then I've realized that it would be cool to mix tilesets instead of copy/pasting some tiles between tilesets
Another issue I'm thinking about is how to assign unique ids to tiles. I've previously used integer ids which were assigned like this:

This is pretty straightforward approach and it lets me easily get texture coordinates of the tile by its id.
But it leads to some problems:
1) Changing the width of a tileset breaks ids, because they correspond to other tiles.
2) If I change the ordering of tiles, I need to replace their ids with new ones in the level.
So, I need a better approach. I think that generating some tileset file like this:
x=0,y=0,id=G
x=16,y=0,id=G2
...
Then I can freely change width of tileset and swap tiles by changing their ids in a tileset file.

What do you think of that? Maybe there are some cooler methods to store tilesets and levels? :)
Tomb Painter, Re:creation dev (abandoned, doing other things) | edw.is | @EliasDaler

shadowmouse

  • Sr. Member
  • ****
  • Posts: 302
    • View Profile
Re:creation - a top down action rpg about undeads
« Reply #148 on: August 09, 2015, 10:53:28 am »
It might well be similar to what you are doing, but you could make an unordered_map which has a key type of either string or int (depending on how you store your level data) and a value type of a user defined struct which stores a reference to an sf::Image (which contains the relevant tile set) and an sf::IntRect for position. This way the code wouldn't be in an easily modifiable file, and you could even store it in a dll so that you can update it easily if you plan on releasing patches rather than entirely new builds of the game.

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re:creation - a top down action rpg about undeads
« Reply #149 on: August 09, 2015, 07:28:49 pm »
What do you think of that? Maybe there are some cooler methods to store tilesets and levels? :)
I think integer IDs is reasonable for most cases. Changing the width of a tileset is, in effect, inserting new tiles into the set so IDs being reassigned is an expected repercussion. Prepare the width of the tileset in advance, once  :P

That said, an enum could ease this rearrangement (albeit in a rather verbose way):
(click to show/hide)
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*