The Daily Click ::. Forums ::. Klik Coding Help ::. Health Bar Problem
 

Post Reply  Post Oekaki 
 

Posted By Message

Deleted User
27th July, 2003 at 03:50:02 -

This is kind of a newbie question but it's the first time I'm using one properly:

I drew some graphics on Ms Paint to display as a graphical Health Bar. I made a lives bar but also made a graphical layer as a background for the lives bar. What I want is: I want them to follow the playarea and always be at the same position following the playarea when the player is moving and always be on top of all objects.

How can I do such a thing?

Thanks,
Gokberk

 

lauri



Registered
  04/05/2003
Points
  57
27th July, 2003 at 04:46:52 -

rightklik the objekt and go to object preferences.
then klik extra and there is option "follow the playfield" klik it once.

 
make things klik.

lauri



Registered
  04/05/2003
Points
  57
27th July, 2003 at 04:55:31 -

in my game there is item bar.
download it here http://www.kotiposti.net/laurirossi/chase-demo.zip

 
make things klik.

Deleted User
27th July, 2003 at 05:08:16 -

it still doesn't follow the player and the lives counter doesn't show up

 

Shen

Possibly Insane

Registered
  14/05/2002
Points
  3497
27th July, 2003 at 05:10:21 -

Then put it at 0,0

 
gone fishin'

Deleted User
27th July, 2003 at 05:14:36 -

it doesn't work, it doesn't follow the players movement

 

lauri



Registered
  04/05/2003
Points
  57
27th July, 2003 at 05:17:06 -

klik the display as background and follow the playfield in the counter to off.
then it should work.

 
make things klik.

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
27th July, 2003 at 05:32:15 -

?!? What everyone has said should work. Maybe you should explain yourself better. Do you want the health counter to always be positioned above the player? Or to stay in the corner as a HUD?

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
27th July, 2003 at 05:32:18 -

?!? What everyone has said should work. Maybe you should explain yourself better. Do you want the health counter to always be positioned above the player? Or to stay in the corner as a HUD?

-Andy

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Deleted User
27th July, 2003 at 05:43:07 -

ok I got it thnx to all that helped.

 

istvan



Registered
  03/07/2003
Points
  1540
27th July, 2003 at 06:57:14 -

lol, gokberk, i could have told u how to fix it, u only had to ask

 
'oh yeah? he's thrown a kettle over a pub, what have you done?'
   

Post Reply



 



Advertisement

Worth A Click