Jump to content

Photo

1 HP?


  • Please log in to reply
24 replies to this topic

#16 Joe123

Joe123

    Retired

  • Members

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.

#17 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

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 Joe123

Joe123

    Retired

  • Members

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.

#19 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 09 May 2009 - 05:28 AM

QUOTE(Joe123 @ May 9 2009, 03:13 AM) View Post

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. icon_blink.gif 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 Joe123

Joe123

    Retired

  • Members

Posted 09 May 2009 - 05:31 AM

Eh, I'm a bit scared of doing something that major to the game loop =P

#21 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 09 May 2009 - 05:46 AM

Cat got your tongue eh? icon_razz.gif

-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 Joe123

Joe123

    Retired

  • Members

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'?

#23 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 17 May 2009 - 05:13 AM

Oh sorry, "Lines Of Code".

#24 Joe123

Joe123

    Retired

  • Members

Posted 17 May 2009 - 05:51 AM

Oh.
I'm not allowed to distrubute the source code.

#25 Gleeok

Gleeok

    It's dangerous to dough alone, bake this.

  • Members
  • Real Name:Pillsbury
  • Location:Magical Land of Dough

Posted 17 May 2009 - 07:46 AM

Wasn't asking for it.

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