Hello again =)
I have anover small question: how I can get current FPS rate?
I can limit it like:
$self->app->min_t(1/FPS);
But if my computer too slow i want to see real FPS rate. And it`s need
to control myself because if I do something wrong then FPS drops down.
--
Roman V. Nikolae
Hello again =)
I have anover small question: how I can get current FPS rate?
I can limit it like:
$self->app->min_t(1/FPS);
But if my computer too slow i want to see real FPS rate. And it`s need
to control myself because if I do something wrong then FPS drops down.
Hmmm, I think I would do so
24.02.2011 12:51, em...@froggs.de пишет:
>> Hello again =)
>>
>> I have anover small question: how I can get current FPS rate?
>>
>> I can limit it like:
>> $self->app->min_t(1/FPS);
>> But if my computer too slow i want to see real FPS rate. And it`s need
>> to control myself because if I do somet
Please add text dimensions for manual align ability.
--- /usr/local/lib/perl/5.10.1/SDLx/Text.pm 2011-02-21 22:00:26.0 +0300
+++ lib/SDLx/Text.pm 2011-02-24 22:20:30.0 +0300
@@ -86,4 +86,12 @@
return;
}
+sub w {
+return $_[0]->{surface}->w;
+}
+
+sub h {
+return $_[
Hi Roman,
I have add the patch with some tests and a doc to the
http://sdlperl.ath.cx/releases/SDL-2.531.tar.gz
Tell garu to finish the rest of the doc and I will release 2.531. :p
Regards
On Thu, 2011-02-24 at 22:23 +0300, Roman V. Nikolaev wrote:
> Please add text dimensions for manual al