![]() |
Text zoom limit?
I am drawing text and I'm useing the this.zoom to set the size. (this zoom is not actual script, just the function used) Anyway, it seems the max zoom i believe is 5 ( zoom = 5). If i go past that, the size wont change. Yet, for images, i can make the value as large as i want. Is there a limit on the zoom for txt? And if so, is there a way to get past it?
|
The max zoom goes over 5...
|
Yes i know. Like i said, it works for imgs, but when i try and go past 5 for txt, it doesnt work
|
Quote:
|
Well what specific script are you useing. Maby im not useing the right one, or most efficient one. Correct me if im wrong, there are multiple ways to write it.
|
Same issue. I can only go up to 2 though.
|
Maby mine only goes to 2 too. Im just getting dilusional with frustration.
|
Why don't you just adjust the font-size?
|
Might want to reconsider anyways. Larger font rendering is a lot more intensive. Do you really need to be rendering a font that large?
|
Quote:
|
I don't believe you can do it with a normal showimg, but it should work with GUIs.
PHP Code:
|
We (as in greggiles and I) are making a simple script where when you press "E", it displays your EXP. And then hides and blablabla. The script works fine, the only issue is that we want the numbers bigger bigger BIGGER
Here's the section that I'm assuming needs editing PHP Code:
|
You're putting it on a screen layer (>=4) so you can definitely use GUI Objects to accomplish that instead of using zoom and a showimg object.
I question the necessity of obscenely large text to display a single value though. |
Simple work-around:
PHP Code:
|
If it's just numbers for experience you could use bitmap fonts instead. Also lets you apply more complex things(such as outlines, gradients to the text) and overall better appeal. It's fairly simple to script as well.
|
All times are GMT +2. The time now is 02:59 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.