Search found 7 matches

by at35z
Tue May 20, 2014 5:14 pm
Forum: Beginners Help
Topic: How to create a HUD?
Replies: 11
Views: 1116

Re: How to create a HUD?

hybrid wrote:Well, this image is still 51x42 px, so not even near some power-of-two. What size is the original one you use?
The original picture (which I use in the HUD) is 32x32px. This is just a cropped screeshot from the result.
by at35z
Tue May 20, 2014 2:45 pm
Forum: Beginners Help
Topic: How to create a HUD?
Replies: 11
Views: 1116

Re: How to create a HUD?

randomMesh wrote:You have to use textures which are a power of two in width and height.
It didn't help unfortunately. :(

Image
by at35z
Tue May 20, 2014 2:37 pm
Forum: Beginners Help
Topic: How to create a HUD?
Replies: 11
Views: 1116

Re: How to create a HUD?

hendu wrote:It seems you scaled the image? Usually GUI elements would be pixel-perfect.

If you absolutely need scaling, you'd enable bilinear filtering in the 2d override material.
No, I didn't scale anything. :?
by at35z
Mon May 19, 2014 5:30 pm
Forum: Beginners Help
Topic: How to create a HUD?
Replies: 11
Views: 1116

Re: How to create a HUD?

I have weird pixel-errors:

Image

This ought to be something like this:

Image

What shoud I do to make it "beautiful"?
by at35z
Mon May 19, 2014 5:25 pm
Forum: Beginners Help
Topic: How to create a HUD?
Replies: 11
Views: 1116

Re: How to create a HUD?

This is all about GUI so probably best to start with the GUI tutorial (example 05). Text-output (scores) can be done with IGUIStaticText. Images with IGUIImage. Energy bars are a little more tricky because Irrlicht 1.8 had not support yet for that - in Irrlicht 1.9 (you can use svn trunk for that) ...
by at35z
Mon May 19, 2014 12:05 pm
Forum: Beginners Help
Topic: How to create a HUD?
Replies: 11
Views: 1116

How to create a HUD?

Hello everyone, I've started the "big project of my life", and I want to create a HUD for it first, because I'm good at these graphics, and I've done something like this before, but not for an irrlicht game. The reason I want to create the HUD first is that I don't want to get disappointed...
by at35z
Sun May 04, 2014 5:03 pm
Forum: Code Snippets
Topic: RTS Camera Animator
Replies: 2
Views: 2722

Re: RTS Camera Animator

I'll give it a try, thanks for sharing it! :)