Create a 2D level.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By StarFox

Sup.

The levels in games like Hollow Knight, Shank 1/2, Mark of the ninja don’t look like tile-based… or they do?

Here some images from:



So, how to make levels that “looks like” in those games?

Have a look at this maybe it helps you. But I have not tried it myself yet.

RoniPerson | 2020-12-22 19:11

Sorry, I didn’t see your comment. Better supply it in the answers section.
Thank you. looks pretty cool, maybe I’ll give it a try.

StarFox | 2020-12-27 10:30

:bust_in_silhouette: Reply From: Firty

These are parallax textures, or underground, just create a texture according to your need and just fill it with hidden collisions and parallax effects (layered textures).
Your character will move over the texture, respecting only collisions.

:bust_in_silhouette: Reply From: StarFox

If anyone wants to know. Here’s what I found.

It is 2D modular asset. You draw sprites for ground, corners, platforms, etc. and then place them on the scene (all these sprites should be in the atlas for better performance). That is, it is something like a tileset, but without a grid.
Also you make atlas for details. Background and foreground can be a single image or make with sprites.

For collision you may use tileset with one tile (i use black box 32x32) after that you just put your sprites on top of it and hide tileset. Also this tileset help you with mesurment.

May be it’s not how those levels was make. But i’ll be doing in this way.

:bust_in_silhouette: Reply From: abcd1231406

1.You can use Ysort ~
2.Maybe layer and mask setting can help you,You can set different layers on the elements and use mask to highlight the hierarchical relationship。