Rubicon Forum
Welcome, Guest. Please login or register.
December 01, 2008, 07:01:35 PM

Login with username, password and session length
Search:     Advanced search
Undeletable components are now shaded blue when loading a level in.
3898 Posts in 197 Topics by 2405 Members
Latest Member: Ping
* 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 849 times)
immibis
Engineer
****
Posts: 127

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

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

if the_computer_is_turned_on and not the_computer_is_on_fire then do_stuff()

"He deflected my electric attack with a wall of water! That makes perfect sense!"
dacodemasta
Operator
**
Posts: 23



View Profile WWW Email
Re: Ability to speed up level
« Reply #1 on: April 07, 2008, 05: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: 300


View Profile
Re: Ability to speed up level
« Reply #2 on: April 14, 2008, 12: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: 377


View Profile
Re: Ability to speed up level
« Reply #3 on: April 14, 2008, 12: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: 127

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

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

if the_computer_is_turned_on and not the_computer_is_on_fire then do_stuff()

"He deflected my electric attack with a wall of water! That makes perfect sense!"
Werbad
Engineer
****
Posts: 171

jonas_88_rehn@hotmail.com
View Profile Email
Re: Ability to speed up level
« Reply #5 on: April 14, 2008, 12: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!