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
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 guests, and 5 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
Object moves slower in Fullscreen vs. 800x600 #218810
07/30/08 18:05
07/30/08 18:05
Joined: Aug 2006
Posts: 70
NJ
S
SirCamaris Offline OP
Junior Member
SirCamaris  Offline OP
Junior Member
S

Joined: Aug 2006
Posts: 70
NJ
I'm noticing a significant decrease in object speed when I switch to fullscreen mode. I'm changing a panel's position by adding one pixel to pos_x/y when the user presses corresponding keys. I'm thinking that since there are more pixels in fullscreen mode vs. 800x600, movement by one pixel at a time would take longer in the former. Is there a way to make an object move the same between different screen resolutions?

Re: Object moves slower in Fullscreen vs. 800x600 [Re: SirCamaris] #218815
07/30/08 18:55
07/30/08 18:55

M
mercuryus
Unregistered
mercuryus
Unregistered
M



use time_frame and/or time_step (see helpfile)

Re: Object moves slower in Fullscreen vs. 800x600 [Re: ] #221050
08/11/08 20:10
08/11/08 20:10
Joined: Aug 2006
Posts: 70
NJ
S
SirCamaris Offline OP
Junior Member
SirCamaris  Offline OP
Junior Member
S

Joined: Aug 2006
Posts: 70
NJ
Thankyou. I set fps_max and fps_min to the same value and for pos_x/y I did, pos.x += 1 / time_step; This gave me the desired result for both 800x600 and Fullscreen mode.

Last edited by SirCamaris; 08/11/08 20:16.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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