The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a working icon for the inventory
grasmann Offline
Junior Member

Posts: 5
Threads: 2
Joined: Sep 2012
Reputation: 0
#1
How to create a working icon for the inventory

Hi

It's me again Big Grin.

I had a fun time figuring out that entities aren't allowed to have the same file names for the last few hours.
What FUN I had Big Grin.

Another problem:
I managed to get everything with the flashlight working now. I also created a custom inventory icon for the lantern.

The Icon is in tga format in 32bit, with an alpha transparency layer, the transparency works fine as long as I don't mouse-over it. On mouse-over the alpha transparent areas get white, which looks really ugly.

Does somebody know how to fix it? Is there a second layer needed maybe?

Normal:
[Image: gICV7.jpg]

Mouse-over:
[Image: uIKt5.jpg]

The white areas are even faded in and out ... so I guess there is really another layer needed. XD
But I'm not to experienced when it comes to layers and stuff in images.

Attached file:
- Inventory Icon


Attached Files
.zip   flashlight_icon.zip (Size: 3.87 KB / Downloads: 101)
09-01-2012, 07:05 PM
Find


Messages In This Thread
How to create a working icon for the inventory - by grasmann - 09-01-2012, 07:05 PM



Users browsing this thread: 1 Guest(s)