Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   0.01 second timeout / 60 fps limit (https://forums.graalonline.com/forums/showthread.php?t=134257128)

Twinny 11-30-2009 10:46 AM

0.01 second timeout / 60 fps limit
 
I'm working with some light/particle effects and, as I showed Tig, the effects are unable to keep up with the mouse due to the slow framerate. Can we please get a 60fps minimum happening and if necessary, provide a method to enforce 20fps on servers (could have an option to limit to 20/40/60 in serverops, client or perhaps both)

I understand a new client will be coming out very soon (beta atleast) so perhaps it couldn't be available in that version but can we get some higher FPS soon? 40FPS would be a good start....

Crono 11-30-2009 11:20 AM

With Graal using the torque engine and everything I'd have expected the FPS stuff to be like normal games. As I've posted before, I can actually notice the 20FPS when I move around compared to other games. It even hurts my head sometimes. :(

Samposse 11-30-2009 12:28 PM

:O Counter Strike : Source is hawing 100 fps :S abit more then graal ^^

but it is 3d xD

Twinny 11-30-2009 12:52 PM

Quote:

Originally Posted by Samposse (Post 1541376)
:O Counter Strike : Source is hawing 100 fps :S abit more then graal ^^

but it is 3d xD

And that game prob has a fair bit more to process than the average graal screen >_<

coreys 11-30-2009 03:59 PM

You know there's a way around that, Twinny. Gani scripts, I've found, are smooth when it comes to following the player and such. I'm not entirely sure why this is, but anything that required following the player is usually suited to going in a gani script.

Although, being able to have quicker timeouts WOULD be nice. Though, I don't doubt that the .05 limit (.1 for serverside) is the reason Graal doesn't lag like crazy (or more than it already does for some people). >.>

Twinny 11-30-2009 05:00 PM

Quote:

Originally Posted by coreys (Post 1541394)
You know there's a way around that, Twinny. Gani scripts, I've found, are smooth when it comes to following the player and such. I'm not entirely sure why this is, but anything that required following the player is usually suited to going in a gani script.

Although, being able to have quicker timeouts WOULD be nice. Though, I don't doubt that the .05 limit (.1 for serverside) is the reason Graal doesn't lag like crazy (or more than it already does for some people). >.>

Yes, ganis do resolve some of the issues (like making something look alot more smoother for everyone) but the issue i'm having at the moment is with a particle emitter. Since it's restricted to the 0.05, it causes blotchy particles at high speeds :cry:

Basically anything that moves at a fairly high speed on Graal starts to get blotchy. A higher FPS would allow graal to look alot smoother and provide more precise clientside timing (think about those music games where you have to hit exactly on the beat...sucky on a 0.05 timeout >_<)

Would be lovely :D

[Edit] if people's computers can't handle the increased FPS (lol) then perhaps that frame limiting option would be handy

Codein 11-30-2009 05:18 PM

A higher framerate would be cool :)

Chompy 11-30-2009 05:22 PM

Graal 3D runs at 60 FPS.
Would be neat to have the option to have a limit at a server, as long it's capped max at 60.

And if it was to be implented, if a limit is set, it must be the same for all players on the server, and not that some players run 60 fps and others 20. It's also not possible to do a merge, have one script run 60 FPS and another 20 FPS.

Quote:

Originally Posted by Samposse (Post 1541376)
:O Counter Strike : Source is hawing 100 fps :S abit more then graal ^^

but it is 3d xD

That's changeable with the console and also other third-party softwares. I could make counter strike run at 120/140 etc if I wanted to.

cbk1994 11-30-2009 10:55 PM

I don't know how easy it would be for Stefan to change, but it's definitely worth looking into and pursuing since the time of 20 FPS games is long past.

DustyPorViva 11-30-2009 11:21 PM

Would Graal look funny if it's running at 60fps while scripts are still running at 20fps(for backwards compatibility)? Or would it look the same as it does now?

cbk1994 11-30-2009 11:38 PM

Quote:

Originally Posted by DustyPorViva (Post 1541481)
Would Graal look funny if it's running at 60fps while scripts are still running at 20fps(for backwards compatibility)? Or would it look the same as it does now?

It would still only update at 20 FPS, so it would look exactly the same (unless you're talking servers with classic systems, which would be adapted to work at 60 FPS or whatever).

Admins 12-01-2009 12:21 AM

A lot of stuff like animations, scripts, npc move()s and player movement are made for 0.05 intervals and will not be easily transformed to a different frame rate. In v6 it is possible to change the frame rate, but it will probably need to be tested a lot before some (new) server could use it. A lot of people on Graal already complain if the behaviour of projectiles is changing slighty, and I personally don't see how the frame rate change could change the game play a lot. What I would like to see more often is nice quests and similar.

For mouse move particles, you could use onMouseMove() to keep track of the exact mouse position and emit several particles in each frame.

cbk1994 12-01-2009 12:34 AM

Quote:

Originally Posted by Stefan (Post 1541492)
For mouse move particles, you could use onMouseMove() to keep track of the exact mouse position and emit several particles in each frame.

...you seriously need to compile a list of all the events and functions that only you seem to know

Admins 12-01-2009 04:04 AM

What is so secret about GraalControl.onMouseMove? It's listed in the GuiControl events.

Twinny 12-01-2009 04:45 AM

Quote:

Originally Posted by Stefan (Post 1541492)
A lot of stuff like animations, scripts, npc move()s and player movement are made for 0.05 intervals and will not be easily transformed to a different frame rate. In v6 it is possible to change the frame rate, but it will probably need to be tested a lot before some (new) server could use it. A lot of people on Graal already complain if the behaviour of projectiles is changing slighty, and I personally don't see how the frame rate change could change the game play a lot. What I would like to see more often is nice quests and similar.

Perhaps graal servers can have a default of 20FPS while you can raise it to 40/60 in the serverops. If you provide this option, we can certainly test it out in UC worlds :D

Crono 12-01-2009 09:44 AM

If the FPS was ever fixed it should be locked at 60. It's typically the refresh rate of most people's monitors and you don't notice anything higher anyway.

Twinny 12-03-2009 07:47 AM

Trying to get onMouseMove to work but nothing seems to be working for me..

PHP Code:

//#CLIENTSIDE
function onMouseMove()
{
  
player.chat mousex mousey;


does nothing.

Script help for 'MouseMove':
Clientside:
WorldEditor.mousemovescale - float

I'm guessing it's only available in v6?

Tigairius 12-03-2009 08:05 AM

Quote:

Originally Posted by Twinny (Post 1542105)
Trying to get onMouseMove to work but nothing seems to be working for me..

PHP Code:

//#CLIENTSIDE
function onMouseMove()
{
  
player.chat mousex mousey;


does nothing.

Script help for 'MouseMove':
Clientside:
WorldEditor.mousemovescale - float

I'm guessing it's only available in v6?

try "function GraalControl.onMouseMove()"

Mark Sir Link 12-03-2009 08:40 AM

Quote:

Originally Posted by Crono (Post 1541605)
If the FPS was ever fixed it should be locked at 60. It's typically the refresh rate of most people's monitors and you don't notice anything higher anyway.

you're typically hard pressed to find people who can see faster than 20-24...

Twinny 12-03-2009 10:36 AM

Quote:

Originally Posted by Tigairius (Post 1542107)
try "function GraalControl.onMouseMove()"

That got the event which is a bloody useful event but the img/emits are still unable to catch up with the mouse although now it emits multiple times in the one spot

Crono 12-03-2009 11:00 AM

Quote:

Originally Posted by Mark Sir Link (Post 1542108)
you're typically hard pressed to find people who can see faster than 20-24...

Well, by "notice" I was also factoring in feeling and fluidity.

Twinny 12-20-2009 02:02 PM

Soooo....how long till the v6 beta is signed and released? If it has custom fps, I want to use and test straight away! The high speed projectiles I'm making suck at 20fps


All times are GMT +2. The time now is 07:09 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.