The Daily Click ::. Forums ::. Klik Coding Help ::. How to add a variable to the name of an object when you call one of it's alterables values ?
 

Post Reply  Post Oekaki 
 

Posted By Message

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
26th January, 2009 at 08:28:27 -

i made a much more efficient albeit more complicated heart counter that supported unlimited hearts and fractions of hearts like zelda.

i made it for exactly this same reason, someone was asking about, but i dont know if i have it anymore.

i found it. i'll convert it to mmf and see if i cant make a widget out of it.

Edited by Cecilectomy

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
26th January, 2009 at 10:49:45 -

supports unlimited heart containers
supports fraction of hearts
customize hearts per row
customize max containers

http://legendkpr.startlogic.com/files/hearts.zip

tgf1 port. needs kcfloop.mfx (included in zip).
i will optimize and convert fully to mmf2.

 
n/a

Spitznagl

Cabinetmaker

Registered
  06/12/2008
Points
  4260

The SpinsterVIP MemberHas Donated, Thank You!Picture Me This Round 29 Winner!Picture Me This Round 31 Winner!Picture Me This Round 36 Winner!
26th January, 2009 at 23:39:39 -

That's awsome but rather complex.

I understand that it calculates where to position the newly created heart with the current number of hearts value, but what I don't get from this quick look is; how does it knows wich one to destroy. Does the application remembers which item was the last created by itself? I wouldn't know since I never tried to destroy an item of wich there was multiple copies.

Anyway, I'm going to stick on this one next weekend, until I understand everything.
Thanks Alot

 
...

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
26th January, 2009 at 23:43:51 -

yes it remembers which one is the last one by setting one of heart's alterable value's to the loop position that created it.

ill fully comment it once i completely convert it to mmf.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click