Rubicon Forum
Welcome, Guest. Please login or register.
September 06, 2008, 01:58:30 AM

Login with username, password and session length
Search:     Advanced search
Forum users can use the crate icon (or [level] and [/level] tags) when writing a post, to make a direct link to a level.
3803 Posts in 194 Topics by 2403 Members
Latest Member: jappie001
* Home Help Search Login Register
+  Rubicon Forum
|-+  General
| |-+  Support (Moderator: Bucky)
| | |-+  Ability to speed up level
« previous next »
Pages: [1] Print
Author Topic: Ability to speed up level  (Read 665 times)
immibis
Engineer
****
Posts: 113

computer-dude@hotmail.com
View Profile Email
Ability to speed up level
« on: April 04, 2008, 05:12:29 AM »

There should be a button to change the speed, or something, for solutions that take a while to run.
Logged

while(is_computer_on() && !is_computer_on_fire()) do_stuff();

If money grew on trees...the global economy would collapse.
Windows systems need reinstalling as often as Linux systems need rebooting.
dacodemasta
Operator
**
Posts: 23



View Profile WWW Email
Re: Ability to speed up level
« Reply #1 on: April 07, 2008, 06:55:33 AM »

that would be definitely useful for those solutions that take forever.
Logged

31337 - everything can be solved... the impossible just takes longer.
Bucky
Moderator
Director
*****
Posts: 292


View Profile
Re: Ability to speed up level
« Reply #2 on: April 14, 2008, 01:08:05 AM »

Rubicon is fairly slow and inefficient.  It can't run any faster than it already does without rewriting the program for performance.  If you run it on a faster computer, it will run quicker, but otherwise there is no easy way to speed it up.
Logged

That is the most ingenious method of solving an impossible puzzle that I have ever seen.
jnz
Director
*****
Posts: 375


View Profile
Re: Ability to speed up level
« Reply #3 on: April 14, 2008, 01:47:04 AM »

It can't run any faster than it already does without rewriting the program for performance.  If you run it on a faster computer, it will run quicker, but otherwise there is no easy way to speed it up.

This isn't really true.  It is currently throttled to run at 10fps.  It will run at 10fps no matter fast the computer gets.  If you run it on a slow enough computer it will run at less than 10fps of course.  If I pull the framerate limiter out I can get it up to 35 fps on my system when running a simple level with not much going on.  Complicated levels with many things happening at the same time cause it to run slower.

Currently it spends a lot of time repainting the entire window every frame.  If it were to be optimized to only repaint the areas that changed between frames you could likely achieve significantly higher framerates.
Logged
immibis
Engineer
****
Posts: 113

computer-dude@hotmail.com
View Profile Email
Re: Ability to speed up level
« Reply #4 on: April 14, 2008, 07:37:45 AM »

What if it only painted every nth frame when you turned off the fps limiter?
Logged

while(is_computer_on() && !is_computer_on_fire()) do_stuff();

If money grew on trees...the global economy would collapse.
Windows systems need reinstalling as often as Linux systems need rebooting.
Werbad
Engineer
****
Posts: 145

jonas_88_rehn@hotmail.com
View Profile Email
Re: Ability to speed up level
« Reply #5 on: April 14, 2008, 01:35:05 PM »

The Java version currently eats about 98% CPU, so it is not possible to speed it up any more, not for me at least... That's why I'm currently using a custom windows port.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Rubicon Forum | Powered by SMF 1.0.8.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!