Healthbar Example!
#21
Posted 31 October 2008 - 05:26 PM
#22
Posted 07 December 2008 - 03:47 PM
so thanks, its works great.
i am not so good in code, so the code guide/example is very good.
i can some but not much.
#23
Posted 09 December 2008 - 10:57 PM
Corcor 7
#24
Posted 10 December 2008 - 04:08 AM
Rtyp06 - Just use draw_sprite(spr_player,image_index,x,y)
11clock - This problem is now fixed. I've added a maximum health variable.
germankid11 - Thanks. Credit is always appreciated.
dragonstorm - It's good to know that people are actually learning from this tutorial and not just copying the code.
Corcor 7 - Although it wasn't intended to be a TDS example, I guess it could potentially be one. Maybe I should add AI?
Happy learning!
#25
Posted 06 January 2009 - 09:50 PM
Edited by wirsbobrsiw, 06 January 2009 - 09:51 PM.
#26
Posted 12 January 2009 - 07:37 AM
No, that shouldn't be the cause. You are probably doing something wrong. To change the amount of health the enemy has, change the variable 'hitpoints' - located in the CREATE EVENT of the enemy object.I can't make the green health-bar fit on the red... Is it becouse of i use vista?
#27
Posted 13 January 2009 - 02:08 AM
#28
Posted 16 January 2009 - 08:14 AM
#29
Posted 04 February 2009 - 05:18 AM
#30
Posted 04 February 2009 - 06:03 PM
#31
Posted 14 February 2009 - 09:29 PM
#32
Posted 16 February 2009 - 09:19 PM
#33
Posted 17 February 2009 - 08:54 PM
#34
Posted 17 February 2009 - 09:12 PM
#35
Posted 18 February 2009 - 05:56 PM
#36
Posted 20 February 2009 - 07:48 AM
#37
Posted 28 February 2009 - 12:24 PM
Edited by BK_239, 28 February 2009 - 12:28 PM.
#38
Posted 01 March 2009 - 02:21 AM
#39
Posted 17 March 2009 - 11:09 AM
#40
Posted 17 March 2009 - 12:03 PM
Nevertheless, its a good example that you have here.
*HINT* You can use draw_sprite_ext to use it for sprites that move. See the manual and wiki for arguments for it.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











