User Tag List

Results 1 to 7 of 7

Thread: [2.50.3] DrawInteger() Graphical Error when Setting scale arg.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,762
    Level
    21
    vBActivity - Bars
    Lv. Percent
    69.26%

    [2.50.3] DrawInteger() Graphical Error when Setting scale arg.

    When using 2.50.3/2.50.x branch build code of any sort, calling DrawInteger and setting scale to 16 the bitmap of the integer is improperly truncated. What appears to be happening, is that instead of scaling the font to the specified size, the full bitmap overlay is truncated to the size in pixels.

    Here is a side-by-side of 2.50.2, and 2.50.3 running the same code:


    Code:
    import "std.zh"
    
    int p=2000;
    
    global script a{
    	void run(){
    		while(true){
    			Screen->DrawInteger(3,50,50,1,0x01, -1, 16, 16, p, 0, 128);
    			Waitdraw(); Waitframe();
    		}
    	}
    }


    I see only one change from 2.50.1, and it should not be causing this. What in the name of heaven???!

    Unless maybe something changed in GetSmallTextureBitmap?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social