Generate level from image file - Pt 2: Reading Images from Disc - Unity Tutorial

preview_player
Показать описание
A series covering level generation, editing, loading and saving using image files. This video, part 2, uses the framework from the last video and expands it by showing you how to read the image files directly from disc, rather than from asset (Texture2D) files in the project.

Setting our Directory paths + System.IO @ 7:12
Reading in a single PNG file @ 16:30
Reading in multiple PNG files @ 22:33

Big shout out and thanks to my Patreon supporters!

-----------------------------------------------------------------------------------------

Check our my assets on the Unity Asset Store:

My projects on Unity Connect:
Рекомендации по теме
Комментарии
Автор

completely underrated Video Creator! Helped me a lot. Your way of explaining things is perfect- Thank you

svadilfariyt
Автор

Now I know this isn't what this tutorial is completely about, but I'm interested in re-creating celeste, and trying to make it how they made it, but in unity. I would like to be able to make level art separately, then have a hitbox texture like shown in this video. The problem is, if I do what you did in this video and transfer it to 2D, there are a bunch of game objects. I'm not completely sure how hitboxes work, but is there a way to do this:
Hitbox Texture --> 2D mesh --> Hitbox in one object
or this:
Hitbox Texture --> The fewest amount of hitboxes possible while also having multiple, so that it takes up the correct amount of space.

spidernh
visit shbcf.ru