Page 1 of 1

How to create a texture for a craft item?

PostPosted: Sun Aug 09, 2015 01:38
by Tmanyo
So I know I just asked a question here not too long ago and this is related in a way but not really. I am using GIMP and working with 16 x 16 pixels. My problem is I make the picture then add an alpha channel. When I get on the game for the image I placed in textures shows as just an empty box in the inventory and when I place it in the equipment bar thing ( I don't exactly know what it is called), it just shows as 2 little tiny white squares. I must be doing something wrong with the texture. Please help.....
I have already looked at this - http://rubenwardy.com/minetest_modding_book/chapters/creating_textures.html

Re: How to create a texture for a craft item?

PostPosted: Sun Aug 09, 2015 03:10
by kaeza
Can you show the code that registers the item?

Re: How to create a texture for a craft item?

PostPosted: Mon Aug 10, 2015 20:17
by Hybrid Dog
l think wield doesn't support semi transparency but inventory images do

Re: How to create a texture for a craft item?

PostPosted: Tue Aug 25, 2015 16:45
by Don
Be sure to use hard edge in gimp. Make it so everything is transparent or solid colour.

Re: How to create a texture for a craft item?

PostPosted: Sat Aug 29, 2015 01:19
by Tmanyo
Thank you all but I found the problem of why it wasn't registering correctly. I misspelled the picture name in the textures file.

Re: How to create a texture for a craft item?

PostPosted: Sat Aug 29, 2015 01:55
by Don
Glad to hear that you found the problem.