Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

Change Materials Order

A topic by Peu Vilas Boas created 14 days ago Views: 19 Replies: 1
Viewing posts 1 to 2

I know this might sound like a silly and simple thing, but I often work with color palettes that include hex codes in a specific order — which usually matches the materials of the objects I'm creating.
It would be a great quality-of-life improvement if I could simply click and drag to rearrange the order of material colors directly in the Materials tab.

While I was reading through the Lua scripting documentation, I noticed that the material has a method called forge.materialColor which takes two parameters: a string for the material name and a hex value for the color code. However, I couldn’t find any way to change the name of a new material — it always defaults to "customN", where "N" is a number.

So here’s another suggestion: the ability to rename materials freely. (:

P.S.: If I’m just being a little dumb or blind and missed the option to change the material name somewhere, please let me know!