Page 1 of 1

Custom HUD - Help me.

Posted: Wed May 10, 2017 20:50
by i7strelok
Hello, I'm using CEGUI and I'm trying to create a custom HUD. My game is a copy of "Duck Hunt" and I need the screen to display an ammo icon and the ammo number above that icon, I also need a charger icon and the amount of remaining chargers. I would also like to make a custom design to go showing the remaining time.

I'm using a translator because my English is not very good, I'm sorry. Please, I would appreciate an example with code.

Here are some examples:

- http://i48.tinypic.com/2la7azl.jpg
- https://evounlimited.files.wordpress.co ... f3-hud.jpg

I would also like to add a look to my weapon, for example:
- http://i.imgur.com/lElbYKB.png

I've had trouble installing CEED, the CEGUI editor:
These are the steps I followed to install it.

- Download here: http://sourceforge.net/projects/crayzed ... 2/download
cd ceed-0.8.0
sudo python setup.py install
cd / bin /
./ceed-gui

The mistake is that it never opens.

Re: Custom HUD - Help me.

Posted: Wed May 10, 2017 21:09
by Blackroot
There's a good tutorial on installing CEGUI and using it here:
https://www.youtube.com/watch?v=mwf_gDVudsE&index=59&list=PLSPw4ASQYyymu3PfG9gxywSPghnSMiOAW

It's in english, but you should be able to follow along the visuals.

Re: Custom HUD - Help me.

Posted: Thu May 11, 2017 09:35
by i7strelok
I've seen the tutorials, explain how to add buttons and how to make a configuration menu, but what I need is to add an image on the screen to match the sight of a weapon