Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,574 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Quick question. #83778
07/30/06 00:35
07/30/06 00:35
Joined: Mar 2004
Posts: 281
England
frescosteve Offline OP
Member
frescosteve  Offline OP
Member

Joined: Mar 2004
Posts: 281
England
Why does the game run slower in fullscreen than it does window mode...

My code works at the correct speed in window mode... but when its full screen everything seems slower... ? Is there an answer to this strange thing?

TIA
Frescosteve

Re: Quick question. [Re: frescosteve] #83779
07/30/06 03:07
07/30/06 03:07
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
Windowed mode can run at any frame rate, regardless of the monitor's refresh rate. Fullscreen mode, however, goes as high as whatever the monitor's refresh rate is set to.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Quick question. [Re: ulillillia] #83780
07/30/06 04:53
07/30/06 04:53

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Possible causes: You might have V-Sync turned on in your video card options.

If you don't have a time variable in your movement scripts, you will need to multiply the variable via time.

I think these are the only reasons I have...

There's also a 60Hz bug but may not be resolvable if you have Windows XP.

Re: Quick question. #83781
07/30/06 15:39
07/30/06 15:39
Joined: Mar 2004
Posts: 281
England
frescosteve Offline OP
Member
frescosteve  Offline OP
Member

Joined: Mar 2004
Posts: 281
England
What frame rate do you recommend?

Also, how would I use "time" within c_move?

Last edited by frescosteve; 07/30/06 15:40.
Re: Quick question. [Re: frescosteve] #83782
07/30/06 16:14
07/30/06 16:14
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
30 fps is the lowest recommended frame rate. Much below here the scene doesn't seem to be in motion. TV movies and TV shows use 30 fps. Anything above 60 is very decent. To use time within c_move, you need to first determine the speed of motion. What I do is determine the angle to go in first, then figure out the horizontal speed and vertical speed (this involves using the cosine and sine functions), and finally move based on this speed.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials

Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1