So you are supposed to diplay the score as a set of bitmaps...
That's no problem.
Say you have a maximum score with four digits
Create the ten or so castmembers for the bitmaps, name them 0 through 9.
Reserve 4 sprites for showing the score, align them properly, and update
them with:
on DisplayScore
ScoreString = string(score)
repeat with digit = 1 to 4
ScoreDigit = chars(ScoreString, digit, digit)
Sprite(digit+ something).member = member Scoredigit -- if the first
of the four sprites reserved for showing the score is 10 then supplant
something with 9
end repeat
end
have fun.
Pekka
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Robert Knepher
Sent: 27. kes�kuuta 2001 4:09
To: [EMAIL PROTECTED]
Subject: <lingo-l> Bitmap Numbers
hi list, I am lost. I am working on a game that has score figured as a
global and put into a field with lingo. Now I am to change this to the
artists bitmap numbers. I hope this makes sense. Any help is greatly
appreciated. thanks, robert
Get your FREE download of MSN Explorer at http://explorer.msn.com
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is
for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]