Results 1 to 2 of 2

Thread: fonts.... text size?????

  
  1. #1
    re_animate is offline -Hacks Smarty
    Join Date
    Jan 2007
    Posts
    119
    Rep Power
    14

    Default

    is there a way to change the font or text size for a lua text?

    Im not a nerd! im a lvl 19 paladin


    W00t

  2. #2
    pirata nervo is offline Programmer -Hacks Titan
    Join Date
    Mar 2007
    Posts
    5,529
    Rep Power
    18

    Default

    I'v the same question but for C++ language...

    I think is this what you want:

    System.usbDiskModeActivate()
    red = Color.new(255, 0, 0);
    white = Color.new(255, 255, 255);

    canvas = Image.createEmpty(480, 272)
    canvas:clear(white)

    while true do
    pad = Controls.read()
    dx = pad:analogX()
    dy = pad:analogY()
    screen:blit(0, 0, canvas, 0, 0, canvas:width(), canvas:height(), false)
    screen:print(11, 11, "dx: " .. tostring(dx), red)
    screen:print(11, 21, "dy: " .. tostring(dy), red)
    screen.waitVblankStart()
    screen.flip()
    if pad:start() then break end
    if pad:select() then screen:save("screenshot.tga") end
    end
    Console Addicted - The news about your console, every day!
    Console Addicted Forums

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •