Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: GUI element  (Read 3557 times)

0 Members and 1 Guest are viewing this topic.

hubertMichael

  • Regular poster
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
GUI element
« on: April 17, 2012, 07:54:13 PM »

Hi

I want make some kind of health bar for my character. It should be displayed all the time in the same place on screen. I have no idea how to do it. I need some tip, some example will be awesome.

Thanks.
Logged
Shadow Of Nebula fan page:

https://www.facebook.com/shadowofnebula

hubertMichael

  • Regular poster
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
Re: GUI element
« Reply #1 on: April 19, 2012, 12:22:05 AM »

I did it :)

A little hack but it works. I did window object as a background for my health bar. Then I did nested window object as a indicator of energy level. Thanks to GetWidget method I can control position of my nested window. So displaying energy level is like updateing position of nested window.
Logged
Shadow Of Nebula fan page:

https://www.facebook.com/shadowofnebula

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 301
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: GUI element
« Reply #2 on: April 20, 2012, 01:42:58 AM »

Awesome, what kind of game are you making?
Logged

hubertMichael

  • Regular poster
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
Re: GUI element
« Reply #3 on: April 20, 2012, 04:06:57 PM »

It's cyberpunk adventure game with rpg elements. I'm trying to introduce something new to adventure game. I hope that everything will be ok. It is now :)
Logged
Shadow Of Nebula fan page:

https://www.facebook.com/shadowofnebula

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 301
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: GUI element
« Reply #4 on: April 21, 2012, 08:27:14 AM »

Hey send me some screen shots... very interested. Im doing a fantasy rpg with adventure elements so we might be making a similar game !
Logged

hubertMichael

  • Regular poster
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 155
    • View Profile
    • Shadow Of Nebula - our point'n click adventure game
Re: GUI element
« Reply #5 on: April 23, 2012, 08:15:52 PM »

I will show you some screenshots but not now. I have to finish few things. Don't worry I will show something soon :)
Logged
Shadow Of Nebula fan page:

https://www.facebook.com/shadowofnebula
 

Page created in 0.065 seconds with 20 queries.