Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How Do You Stretch The Assets? Im Making a Hud And i Dont Know How!

It depends on what technology you're using. We would need more info 🙂

I also have the above problem. Do I need to re-splice through Aseprite?

if you're using a game engine, look for 9slice 


https://docs.unity3d.com/Manual/9SliceSprites.html

(+1)

Thank you for your reply. I am being silly. I use Unity as my development engine and I didn't realize that the source Image type under Image component can be selected as Slice. My problem has been solved

(+1)(-1)

Manually, you should probably be able to separate corner pieces from each of sides pieces .. imagine 3 x3 grid and you cut it up into 9 pieces with 4 corners, and then each 4 sides and a center.

In Godot use NinePatchRect and you input the # of pixels each corner is.

in Unity, you add Sprites package and setup a 9-slice sprite .. see youtube for tutorial ... 

Idk other game engines right now...

(-1)

thank you