Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, 1 invisible), 3,371 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 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