1 HP?
Started by
SpacemanDan
, Apr 24 2009 06:29 PM
24 replies to this topic
#16
Posted 08 May 2009 - 09:04 AM
Aha ok.
They don't work like that no.
It's a shame really. I suppose I could go and mess around with Waitdraw();, but I'd probably just end up braking things and I haven't got my new laptop set up for compiling yet anyway.
They don't work like that no.
It's a shame really. I suppose I could go and mess around with Waitdraw();, but I'd probably just end up braking things and I haven't got my new laptop set up for compiling yet anyway.
#17
Posted 09 May 2009 - 05:08 AM
I have an idea; What if on one script you increase Links HP by a stupid amount like 1000, then on the WaitDraw script you check and see if Link->HP is lgreater than 1000. If it's not then you know Link would have died that frame. So you can set his HGP to 1. .. Doable?
Edited by Gleeok, 09 May 2009 - 05:09 AM.
#18
Posted 09 May 2009 - 05:13 AM
That's exactly what the code I wrote in this thread does >_>
The issue is that the system draws the amount of HP Link has onto the screen during Waitdraw(), so it looks as though Link always has full health.
The issue is that the system draws the amount of HP Link has onto the screen during Waitdraw(), so it looks as though Link always has full health.
#19
Posted 09 May 2009 - 05:28 AM
That's exactly what the code I wrote in this thread does >_>
The issue is that the system draws the amount of HP Link has onto the screen during Waitdraw(), so it looks as though Link always has full health.
Whoa.... I totally didn't even see that. I even got it exact to what you did by the HP amount. Well you know what they say: Great minds think alike. =P
Question: What if you bypassed the Game Over function in the source code for exactly one frame?
Edited by Gleeok, 09 May 2009 - 05:28 AM.
#20
Posted 09 May 2009 - 05:31 AM
Eh, I'm a bit scared of doing something that major to the game loop =P
#21
Posted 09 May 2009 - 05:46 AM
Cat got your tongue eh?
-You know I'm half curious to know what the LOC for zc is running for 2.5, but something tells me I don't wanna know.
-You know I'm half curious to know what the LOC for zc is running for 2.5, but something tells me I don't wanna know.
#22
Posted 09 May 2009 - 05:58 AM
Mm.
If it was as simple as 'adding another frame after death', someone would have already done it.
If it's not, I'm really not up to it.
'LOC'?
If it was as simple as 'adding another frame after death', someone would have already done it.
If it's not, I'm really not up to it.
'LOC'?
#23
Posted 17 May 2009 - 05:13 AM
Oh sorry, "Lines Of Code".
#24
Posted 17 May 2009 - 05:51 AM
Oh.
I'm not allowed to distrubute the source code.
I'm not allowed to distrubute the source code.
#25
Posted 17 May 2009 - 07:46 AM
Wasn't asking for it.
I believe Linux's is in the eight digits. crazy ****.
..nevermind.
I believe Linux's is in the eight digits. crazy ****.
..nevermind.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users