Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/23/26 21:52
WFO Training with parallel cores Zorro64
by Martin_HH. 02/23/26 15:29
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 5,913 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 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