Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Bitmap Number
#2
Bump!
Wheee.

Updated the script with a major addition that makes working out the complete sprite's length much more sensible. Or to put it another way, I just learnt about String.length. |V In addition, numbers with leading zeros like playtime hour/min/sec should be able to be used with this script.
PHP Code:
hour sprintf("%02d", @total_sec 60 60)
min sprintf("%02d", @total_sec 60 60)
sec sprintf("%02d", @total_sec 60)
draw_bitmap_number(secself.width 44LINE_HEIGHT02)
draw_bitmap_number(minself.width 84LINE_HEIGHT02)
draw_bitmap_number(hourself.width 124LINE_HEIGHT02
Reply }


Messages In This Thread
Bitmap Number - by Taylor - 04-13-2011, 12:44 PM
RE: Bitmap Number - by Taylor - 06-09-2012, 07:57 AM
RE: Bitmap Number - by Taylor - 01-31-2014, 10:27 PM
RE: Bitmap Number - by JayRay - 02-01-2014, 03:40 PM
RE: Bitmap Number - by Taylor - 03-29-2015, 12:16 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   MapEffects for Whiteflute's Bitmap EX Narzew 3 8,155 05-05-2012, 09:31 PM
Last Post: Narzew
   Additional Bitmap Methods untra 4 9,338 06-04-2010, 03:55 AM
Last Post: untra



Users browsing this thread: