|
Post by WarDragon on Nov 23, 2004 15:57:31 GMT -5
Here is how you make a Heal Guage display
sbc repeat 0 fixed off sbc variable: Health<0 sbc end sbc variable: Health=1 apply together event effect [health1] apply inorder sbc end sbc variable: Health=2 apply together event effect [health1] event effect [health2] apply inorder sbc end
and so on now to make it max out at a certain number use
sbc variable health>11 apply together event effect [health11] apply inorder sbc end sbc repeat end
this should work if it doesn't i'll go check my notes but it will be after thanks giving since i dont have them right now.
this script must be set as an action script.
|
|
|
Post by NASH7777 on Nov 23, 2004 16:08:53 GMT -5
That's sorta how I did mine except that after 10 hearts it just shows a plus sign.
|
|
|
Post by WarDragon on Nov 23, 2004 16:11:38 GMT -5
I'm also using this as a timer in a dungeon. You have to escape the dungeon in 30 seconds or you will be trapped in there with the demons.
|
|
|
Post by NASH7777 on Nov 23, 2004 16:13:48 GMT -5
Sounds fun, I'm having this one room where the walls start to incave on you! You should try out my latest demo!
|
|
|
Post by The Final Rune on Nov 23, 2004 16:14:46 GMT -5
I never thought of that, this will come in handy for something in my own game. Thanks!
|
|
|
Post by NASH7777 on Nov 24, 2004 21:52:23 GMT -5
What's the limit on your health guage display?
|
|
|
Post by WarDragon on Nov 29, 2004 16:06:02 GMT -5
11 but i might make it more than that it depends.
|
|
|
Post by NASH7777 on Nov 29, 2004 16:07:49 GMT -5
Cool, yeah I might make mine up to 20 but idk....Depends how much I need it.
|
|
|
Post by millivanilli on Dec 4, 2004 20:40:26 GMT -5
How much 2d vfx's can you use before the game lags?
|
|
|
Post by Doan the Nado on Dec 4, 2004 22:33:06 GMT -5
On my CMS screen, I have up to 120 separate 3D text VFX going all at once. Each one is only one number, but still, that's a ton of VFX and there is no lag. There is only one script going, however, so I don't think it would be possible to have that many during normal game play.
|
|
|
Post by Jugem on Dec 5, 2004 15:43:26 GMT -5
120? I thought the max you could have was around 70, before they'd stop appearing. Anyway, 2D VFX cause a great deal more slowdown than 3D VFX. I think when I had around 12-15, the game would start slowing down a bit. Somewhere around there at least.
|
|