|
Post by Slenkar on May 10, 2004 18:05:22 GMT
I am extracting a font from a pack that contains other sprites:
Global pack1=loadpack("pack1.png")
Global txt.smSprite=LoadFontSet("pack1.png","star wars")
Is there anyway of using pack1 instead of "pack1.png" in the loadfontset command?
Also, do sprites and fonts share surfaces if they are from the same pack?
|
|
|
Post by syntaxerror on May 10, 2004 18:59:30 GMT
Font sprites are kind of unique in a way. Each font pack loaded only deals with a string of text (for speed).
It would be difficult for me to share text sprites and 3d sprites in one pack. For example, everytime you use SpriteText to change the text I would have to store the current 3d sprites in use, clear the entire surface, restore the sprites, then add the quads to make up the text.
That's why text sprites have indiviual packs.
What you should do then ...
Save the font bitmap alone as a separate pack removing everything else.
Then,
; load normal 3d sprite pack Global pack1=loadpack("pack1.png")
; load the font pack into txt.smSprite Global txt.smSprite=LoadFontSet(""starwars.png")
|
|
|
Post by Slenkar on May 11, 2004 1:26:31 GMT
Ah ok then thanks
|
|
|
Post by zhanhuichuangg on Oct 13, 2011 2:11:30 GMT
Well I believe we, the Americans of today, timberland boots are ready to act worthy of ourselves, ready to do what must be done to insure happiness and liberty for ourselves, our children, and our children¡¯s children. And as we renew ourselves here in our own land, timberland 3 eyes shoes will be seen as having greater strength throughout the world. We will again be the exemplar of freedom and a beacon of hope for those who do not now have timberland classic boat shoes. To those neighbors and allies who share our freedom, we will strengthen our historic ties and assure them of our timberland 6 inch boots and firm commitment. We will match loyalty with loyalty. We will strive for mutually beneficial relations. We will not use our mens timberland 6 inch boots to impose on their sovereignty, for our own sovereignty is not for sale. As for the enemies of freedom, those who are potential adversaries, they will be reminded that peace is the highest aspiration of womens 14 timberland boots. We will negotiate for it, sacrifice for it; we will not surrender for it -- now or ever. Our timberland mens chukka should never be misunderstood. Our reluctance for conflict should not be misjudged as a failure of will. When action is required to preserve our national security, we will act. timberland boots women will maintain sufficient strength to prevail if need be, knowing that if we do so, we have the best chance of never having to use that strength. Above all black timberland boots must realize that no arsenal or no weapon in the arsenals of the world is so formidable as the will and moral courage of free timberland boots for men. It is a weapon our adversaries in today's world do not have. It is a weapon that we as timberland 6 inch premium do have. Let that be understood by those who practice terrorism and prey upon their neighbors. timberland shoestimberland boat shoestimberland boots sale ZHC
|
|